From 9715fc389acfdb0d21b606f0f8c160ace4a4fa47 Mon Sep 17 00:00:00 2001 From: Matt Ettus Date: Tue, 20 Jul 2010 17:29:45 -0700 Subject: more informative error codes --- usrp2/vrt/vita_tx_chain.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usrp2/vrt/vita_tx_chain.v') diff --git a/usrp2/vrt/vita_tx_chain.v b/usrp2/vrt/vita_tx_chain.v index ad9f11fc6..705be4a0e 100644 --- a/usrp2/vrt/vita_tx_chain.v +++ b/usrp2/vrt/vita_tx_chain.v @@ -25,10 +25,10 @@ module vita_tx_chain wire [31:0] debug_vtc, debug_vtd, debug_tx_dsp; wire error; - wire [3:0] error_code; + wire [15:0] error_code; assign underrun = error; - assign message = {28'h0,error_code}; + assign message = {16'h0,error_code}; setting_reg #(.my_addr(BASE_CTRL+2), .at_reset(0)) sr_streamid (.clk(clk),.rst(reset),.strobe(set_stb),.addr(set_addr), -- cgit v1.2.3