X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ships%2FFifo.ship;h=616c97b7c4dd07c88f937252dc7fc17c526ddc8c;hb=aee85d3dd0435554e14e03b97f268752843a441f;hp=8cbd38c0e55ad3e570400f56d2e297056073f07d;hpb=57ba2ca8004573acee402fd75e9aca2a19806c2c;p=fleet.git diff --git a/ships/Fifo.ship b/ships/Fifo.ship index 8cbd38c..616c97b 100644 --- a/ships/Fifo.ship +++ b/ships/Fifo.ship @@ -31,17 +31,7 @@ at least 16 words. == FPGA ============================================================== - input [(`DATAWIDTH-1):0] in_d; - output [(`DATAWIDTH-1):0] out_d_; - input in_r; - output in_a_; - output out_r_; - input out_a; - - fifo8x37 fifo8x37(clk, rst, - in_r, in_a_, in_d, - out_r_, out_a, out_d_); - +// not used == Test ================================================================= // expected output @@ -51,21 +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; - load repeat counter with 63; - take, deliver; - load repeat counter with 37; - take, deliver; + set ilc=63; + recv, deliver; + set ilc=37; + recv, deliver; fifo.out: - load repeat counter with 63; - take, sendto fifo.in; - load repeat counter with 36; - take, sendto fifo.in; - 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;