summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--control_lib/newfifo/fifo19_to_fifo36.v4
1 files changed, 3 insertions, 1 deletions
diff --git a/control_lib/newfifo/fifo19_to_fifo36.v b/control_lib/newfifo/fifo19_to_fifo36.v
index 8a65d5189..5f9aeff9b 100644
--- a/control_lib/newfifo/fifo19_to_fifo36.v
+++ b/control_lib/newfifo/fifo19_to_fifo36.v
@@ -51,7 +51,9 @@ module fifo19_to_fifo36
state <= 2;
2 :
if(xfer_out)
- state <= 1;
+ if(~f19_eof)
+ state <= 1;
+ // remain in state 2 if we are at eof
endcase // case(state)
else
if(xfer_out)