aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/vrt/gen_context_pkt.v
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-10-10 23:38:56 -0700
committerMatt Ettus <matt@ettus.com>2010-11-11 18:07:07 -0800
commitcdcc710b11376bad327cebe89de6004056a18e1a (patch)
treee2cf840f0a1a528795fc3c4f2116e8de7b361ca3 /usrp2/vrt/gen_context_pkt.v
parentc7accc5a2e04c6bb2f620896ef4ba52b8ec56e72 (diff)
downloaduhd-cdcc710b11376bad327cebe89de6004056a18e1a.tar.gz
uhd-cdcc710b11376bad327cebe89de6004056a18e1a.tar.bz2
uhd-cdcc710b11376bad327cebe89de6004056a18e1a.zip
separated flow control and error reporting on tx path. should work with and without flow control
Diffstat (limited to 'usrp2/vrt/gen_context_pkt.v')
-rw-r--r--usrp2/vrt/gen_context_pkt.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/usrp2/vrt/gen_context_pkt.v b/usrp2/vrt/gen_context_pkt.v
index 0ea2797ec..31c2a53e1 100644
--- a/usrp2/vrt/gen_context_pkt.v
+++ b/usrp2/vrt/gen_context_pkt.v
@@ -3,7 +3,7 @@
module gen_context_pkt
#(parameter PROT_ENG_FLAGS=1)
(input clk, input reset, input clear,
- input trigger, input error, output sent,
+ input trigger, output sent,
input [31:0] streamid,
input [63:0] vita_time,
input [31:0] message,
@@ -33,7 +33,7 @@ module gen_context_pkt
if(reset | clear)
stored_message <= 0;
else
- if(error)
+ if(trigger)
stored_message <= message;
else if(ctxt_state == CTXT_FLOWCTRL)
stored_message <= 0;