Mercurial > pygar
view core/sim/bdir_dut/BFIFO.bi @ 54:9b4f237e77e1 pygar svn.55
[svn r55] input a bit more parameterized
author | punk |
---|---|
date | Sun, 09 May 2010 12:24:35 -0400 |
parents | 91a1f76ddd62 |
children |
line wrap: on
line source
1 signature BFIFO where {2 import ¶Assert®¶;4 import ¶FIFOF_®¶;6 import ¶FIFOF®¶;8 import ¶FIFO®¶;10 import ¶List®¶;12 BFIFO.mkBFIFO1 :: (¶Prelude®¶.¶Bits®¶ item_t item_sz, ¶Prelude®¶.¶IsModule®¶ _m__ _c__) =>13 _m__ (¶FIFO®¶.¶FIFO®¶ item_t);15 BFIFO.mkSizedBFIFO :: (¶Prelude®¶.¶Bits®¶ item_t item_sz, ¶Prelude®¶.¶IsModule®¶ _m__ _c__) =>16 ¶Prelude®¶.¶Integer®¶ -> _m__ (¶FIFO®¶.¶FIFO®¶ item_t);18 BFIFO.mkBFIFOF1 :: (¶Prelude®¶.¶Bits®¶ item_t item_sz, ¶Prelude®¶.¶IsModule®¶ _m__ _c__) =>19 _m__ (¶FIFOF®¶.¶FIFOF®¶ item_t);21 BFIFO.mkBFIFO_16 :: (¶Prelude®¶.¶IsModule®¶ _m__ _c__) =>22 _m__ (¶FIFO®¶.¶FIFO®¶ (¶Prelude®¶.¶Bit®¶ 16))23 }