Mercurial > pygar
view modules/bluespec/Pygar/lab1/FIRFilter.bsv @ 17:9d1f38722f5b pygar svn.18
[svn r18] changed config file to not use mit-6.375 anymore
author | rlm |
---|---|
date | Tue, 27 Apr 2010 22:55:55 -0400 |
parents | 74716e9a81cc |
children | 90197e3375e2 |
line wrap: on
line source
1 import ClientServer::*;2 import GetPut::*;3 import FIFO::*;5 import AC97Common::*;7 module FIRFilter (Server#(AC97Sample));8 FIFO#(AC97Sample) infifo <- mkFIFO;9 FIFO#(AC97Sample) outfifo <- mkFIFO;11 // for now, we don't do anything.12 rule connectReqResp;13 $display("FIR copies a data");14 outfifo.enq(infifo.first);15 outfifo.deq;16 endrule19 interface request = fifoToPut(infifo);20 interface response = fifoToGet(outfifo);21 endmodule