X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ships%2FFifo.ship;h=616c97b7c4dd07c88f937252dc7fc17c526ddc8c;hb=cbafca81451a452015ea365b3546c3bc0ac7bdbd;hp=875565ef06022ad88f004ccf9589c8dd1b33d59f;hpb=b55b374db178bc75ef08a9fd93987b37f8749e8e;p=fleet.git diff --git a/ships/Fifo.ship b/ships/Fifo.ship index 875565e..616c97b 100644 --- a/ships/Fifo.ship +++ b/ships/Fifo.ship @@ -9,7 +9,7 @@ data out: out == TeX ============================================================== -The {\tt Fifo} ship is a simple fifo. Values delivered to the {\tt +The {\tt Fifo} ship is a simple fifo. Word-sized delivered to the {\tt in} port are enqueued into the fifo, and values which arrive at the end of the fifo are provided to the {\tt out} port. @@ -29,6 +29,10 @@ at least 16 words. == FleetSim ============================================================== +== FPGA ============================================================== + +// not used + == Test ================================================================= // expected output #expect 9 @@ -37,14 +41,21 @@ at least 16 words. #ship debug : Debug #ship fifo : Fifo -debug.in: [*] take, deliver; +debug.in: set ilc=*; recv, deliver; fifo.in: - literal 9; + set word= 9; deliver; - [100] take, deliver; + set ilc=63; + recv, deliver; + set ilc=37; + recv, deliver; + fifo.out: - [99] take, sendto fifo.in; - [1] take, sendto debug.in; + set ilc=63; + collect, send to fifo.in; + set ilc=36; + collect, send to fifo.in; + collect, send to debug.in;