From e92d36dcfe02afaedec348f2d8fc4523fb4e633b Mon Sep 17 00:00:00 2001 From: Matt Ettus Date: Mon, 18 Jan 2010 11:36:14 -0800 Subject: should fix the endless packet bug --- control_lib/newfifo/fifo19_to_fifo36.v | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'control_lib/newfifo/fifo19_to_fifo36.v') 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) -- cgit v1.2.3