aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-10-08 14:07:26 -0700
committerMatt Ettus <matt@ettus.com>2010-11-11 18:07:07 -0800
commitf622553254eab637f3ec7ac2a9c4d6e3345d9a9c (patch)
treed6a7c142ca52568a1e6be0882e05620b01cb0d03
parent4139894fe6d0031897422c46b59746fe6bf0074f (diff)
downloaduhd-f622553254eab637f3ec7ac2a9c4d6e3345d9a9c.tar.gz
uhd-f622553254eab637f3ec7ac2a9c4d6e3345d9a9c.tar.bz2
uhd-f622553254eab637f3ec7ac2a9c4d6e3345d9a9c.zip
declarations
-rw-r--r--usrp2/vrt/gen_context_pkt.v5
1 files changed, 3 insertions, 2 deletions
diff --git a/usrp2/vrt/gen_context_pkt.v b/usrp2/vrt/gen_context_pkt.v
index f840ec6e1..0ea2797ec 100644
--- a/usrp2/vrt/gen_context_pkt.v
+++ b/usrp2/vrt/gen_context_pkt.v
@@ -27,14 +27,15 @@ module gen_context_pkt
reg [3:0] seqno;
reg [3:0] ctxt_state;
reg [63:0] err_time;
-
+ reg [31:0] stored_message;
+
always @(posedge clk)
if(reset | clear)
stored_message <= 0;
else
if(error)
stored_message <= message;
- else if(state == CTXT_FLOWCTRL)
+ else if(ctxt_state == CTXT_FLOWCTRL)
stored_message <= 0;
always @(posedge clk)