From d05564437eebae73b18f7bfd71486bea654d5067 Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 10 Aug 2007 13:20:53 +0100 Subject: [PATCH] fix bug in BitFifo FPGA code --- ships/BitFifo.ship | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ships/BitFifo.ship b/ships/BitFifo.ship index 67b8e0b..caf1c9b 100644 --- a/ships/BitFifo.ship +++ b/ships/BitFifo.ship @@ -369,7 +369,7 @@ public void service() { reg [7:0] bitstorage_count; initial bitstorage_count = 0; always @(posedge clk) begin - if (bitstorage == 0) begin + if (bitstorage_count == 0) begin `onread(inEnqueue_r, inEnqueue_a) bitstorage <= inEnqueue_d; bitstorage_count <= 37; -- 1.7.10.4