diff options
author | Matt Ettus <matt@ettus.com> | 2010-10-11 16:41:41 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-10-11 16:41:41 -0700 |
commit | 0edf80fc80303c475b0dfd29d3ce5967fe646bfc (patch) | |
tree | 78ae9fe8e0602751942724706fefbaee6b745d7c /usrp2/vrt | |
parent | 41489884015ceb3dd2d4731ece813445d20629d3 (diff) | |
download | uhd-0edf80fc80303c475b0dfd29d3ce5967fe646bfc.tar.gz uhd-0edf80fc80303c475b0dfd29d3ce5967fe646bfc.tar.bz2 uhd-0edf80fc80303c475b0dfd29d3ce5967fe646bfc.zip |
cleanup for 32 bit seqnum
Diffstat (limited to 'usrp2/vrt')
-rw-r--r-- | usrp2/vrt/vita_tx_chain.v | 7 |
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), |