summaryrefslogtreecommitdiffstats
path: root/usrp2/vrt
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-10-11 16:41:41 -0700
committerMatt Ettus <matt@ettus.com>2010-11-11 18:07:08 -0800
commit9e54a36664edb9c5641959c65f51c81e43e098c2 (patch)
tree7a2e7ee2001af7aa95c84d24e4a4fff545bfc06f /usrp2/vrt
parent7e973c0b3a3c37df81064ae34641882313f89a6f (diff)
downloaduhd-9e54a36664edb9c5641959c65f51c81e43e098c2.tar.gz
uhd-9e54a36664edb9c5641959c65f51c81e43e098c2.tar.bz2
uhd-9e54a36664edb9c5641959c65f51c81e43e098c2.zip
cleanup for 32 bit seqnum
Diffstat (limited to 'usrp2/vrt')
-rw-r--r--usrp2/vrt/vita_tx_chain.v7
1 files changed, 3 insertions, 4 deletions
diff --git a/usrp2/vrt/vita_tx_chain.v b/usrp2/vrt/vita_tx_chain.v
index eee19bebf..6cfbdf763 100644
--- a/usrp2/vrt/vita_tx_chain.v
+++ b/usrp2/vrt/vita_tx_chain.v
@@ -71,7 +71,7 @@ module vita_tx_chain
(.clk(clk), .reset(reset), .clear(clear_vita),
.trigger(trigger & (DO_FLOW_CONTROL==1)), .sent(),
.streamid(streamid), .vita_time(vita_time), .message(32'd0),
- .seqnum0(current_seqnum), .seqnum1(16'd0),
+ .seqnum0(current_seqnum), .seqnum1(32'd0),
.data_o(flow_data), .src_rdy_o(flow_src_rdy), .dst_rdy_i(flow_dst_rdy));
trigger_context_pkt #(.BASE(BASE_CTRL)) trigger_context_pkt
(.clk(clk), .reset(reset), .clear(clear_vita),
@@ -82,11 +82,10 @@ module vita_tx_chain
(.clk(clk), .reset(reset), .clear(clear_vita),
.trigger(error & (REPORT_ERROR==1)), .sent(),
.streamid(streamid), .vita_time(vita_time), .message(message),
- .seqnum0(current_seqnum), .seqnum1(16'd0),
+ .seqnum0(current_seqnum), .seqnum1(32'd0),
.data_o(err_data_int), .src_rdy_o(err_src_rdy_int), .dst_rdy_i(err_dst_rdy_int));
- //assign debug = debug_vtc | debug_vtd;
- assign debug = { debug_vtd[15:0], current_seqnum };
+ assign debug = debug_vtc | debug_vtd;
fifo36_mux #(.prio(1)) mux_err_and_flow // Priority to err messages
(.clk(clk), .reset(reset), .clear(clear_vita),