view modules/bluespec/Pygar/lab1/FIRFilter.bsv @ 73:0f86d486e38e pygar svn.74

[svn r74] added new programs to run on processor.
author punk
date Wed, 12 May 2010 02:01:01 -0400
parents 90197e3375e2
children
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("\n\n\n\n\nFIRFILTER-FIR copies a data\n\n\n\n");
14 outfifo.enq(infifo.first);
15 outfifo.deq;
16 endrule
19 interface request = fifoToPut(infifo);
20 interface response = fifoToGet(outfifo);
21 endmodule