diff options
author | Matt Ettus <matt@ettus.com> | 2010-07-28 18:59:03 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-07-28 18:59:03 -0700 |
commit | 41f9748a2d856aa3d1fe7b895e38ad3c4b65e11e (patch) | |
tree | f234de6d9439f0314440941e493066ac2133e2db /usrp2/vrt/vita_tx_chain.v | |
parent | e1591e4f6730f98d7e167d09f457f567edcdae81 (diff) | |
download | uhd-41f9748a2d856aa3d1fe7b895e38ad3c4b65e11e.tar.gz uhd-41f9748a2d856aa3d1fe7b895e38ad3c4b65e11e.tar.bz2 uhd-41f9748a2d856aa3d1fe7b895e38ad3c4b65e11e.zip |
sequence number reset upon programming streamid
Diffstat (limited to 'usrp2/vrt/vita_tx_chain.v')
-rw-r--r-- | usrp2/vrt/vita_tx_chain.v | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usrp2/vrt/vita_tx_chain.v b/usrp2/vrt/vita_tx_chain.v index bcdbea820..662cdca62 100644 --- a/usrp2/vrt/vita_tx_chain.v +++ b/usrp2/vrt/vita_tx_chain.v @@ -26,16 +26,17 @@ module vita_tx_chain wire error; wire [31:0] error_code; + wire clear_seqnum; assign underrun = error; assign message = error_code; setting_reg #(.my_addr(BASE_CTRL+2), .at_reset(0)) sr_streamid (.clk(clk),.rst(reset),.strobe(set_stb),.addr(set_addr), - .in(set_data),.out(streamid),.changed()); + .in(set_data),.out(streamid),.changed(clear_seqnum)); vita_tx_deframer #(.BASE(BASE_CTRL), .MAXCHAN(MAXCHAN)) vita_tx_deframer - (.clk(clk), .reset(reset), .clear(clear_vita), + (.clk(clk), .reset(reset), .clear(clear_vita), .clear_seqnum(clear_seqnum), .set_stb(set_stb),.set_addr(set_addr),.set_data(set_data), .data_i(tx_data_i), .src_rdy_i(tx_src_rdy_i), .dst_rdy_o(tx_dst_rdy_o), .sample_fifo_o(tx1_data), .sample_fifo_src_rdy_o(tx1_src_rdy), .sample_fifo_dst_rdy_i(tx1_dst_rdy), |