diff options
author | Matt Ettus <matt@ettus.com> | 2010-10-08 14:07:26 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-10-08 14:07:26 -0700 |
commit | ecadee9c605c65849856d56cf842dd65e27181f6 (patch) | |
tree | 0e102c02dda0f9c23c5720fb0a5afd77a488ade7 | |
parent | 37f928fa5a3c01bd522a1d0db17d88ce4cdd0e03 (diff) | |
download | uhd-ecadee9c605c65849856d56cf842dd65e27181f6.tar.gz uhd-ecadee9c605c65849856d56cf842dd65e27181f6.tar.bz2 uhd-ecadee9c605c65849856d56cf842dd65e27181f6.zip |
declarations
-rw-r--r-- | usrp2/vrt/gen_context_pkt.v | 5 |
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) |