aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/vrt/vita_tx_chain.v
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2010-07-27 09:53:34 -0700
committerMatt Ettus <matt@ettus.com>2010-07-28 10:00:44 -0700
commit4a82c0640436e69081136cafc27194fd08ab6f1d (patch)
treedcdba9a1f996087e6ea827d0266b1a67b7fc6db4 /usrp2/vrt/vita_tx_chain.v
parentc5605beba381b13c3ceab7a5392a25ee8f336ca6 (diff)
downloaduhd-4a82c0640436e69081136cafc27194fd08ab6f1d.tar.gz
uhd-4a82c0640436e69081136cafc27194fd08ab6f1d.tar.bz2
uhd-4a82c0640436e69081136cafc27194fd08ab6f1d.zip
implemented "next packet" and "next burst" policies
Diffstat (limited to 'usrp2/vrt/vita_tx_chain.v')
-rw-r--r--usrp2/vrt/vita_tx_chain.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/usrp2/vrt/vita_tx_chain.v b/usrp2/vrt/vita_tx_chain.v
index 705be4a0e..bcdbea820 100644
--- a/usrp2/vrt/vita_tx_chain.v
+++ b/usrp2/vrt/vita_tx_chain.v
@@ -14,7 +14,7 @@ module vita_tx_chain
output [31:0] debug);
localparam MAXCHAN = 1;
- localparam FIFOWIDTH = 5+64+(32*MAXCHAN);
+ localparam FIFOWIDTH = 5+64+16+(32*MAXCHAN);
wire [FIFOWIDTH-1:0] tx1_data;
wire tx1_src_rdy, tx1_dst_rdy;
@@ -25,10 +25,10 @@ module vita_tx_chain
wire [31:0] debug_vtc, debug_vtd, debug_tx_dsp;
wire error;
- wire [15:0] error_code;
+ wire [31:0] error_code;
assign underrun = error;
- assign message = {16'h0,error_code};
+ 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),