summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-01-18 11:36:14 -0800
committerMatt Ettus <matt@ettus.com>2010-01-18 11:36:14 -0800
commite92d36dcfe02afaedec348f2d8fc4523fb4e633b (patch)
treec3774fd2fcfd55edfe98524fdb4d7ede6650c1d7
parent070c622905c20d83c6dfe7cf557f5153999f37bd (diff)
downloaduhd-e92d36dcfe02afaedec348f2d8fc4523fb4e633b.tar.gz
uhd-e92d36dcfe02afaedec348f2d8fc4523fb4e633b.tar.bz2
uhd-e92d36dcfe02afaedec348f2d8fc4523fb4e633b.zip
should fix the endless packet bug
-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)