diff options
author | Ben Hilburn <ben.hilburn@ettus.com> | 2014-02-14 12:05:07 -0800 |
---|---|---|
committer | Ben Hilburn <ben.hilburn@ettus.com> | 2014-02-14 12:05:07 -0800 |
commit | ff1546f8137f7f92bb250f685561b0c34cc0e053 (patch) | |
tree | 7fa6fd05c8828df256a1b20e2935bd3ba9899e2c /fpga/usrp3/lib/dsp/rx_frontend_tb.v | |
parent | 4f691d88123784c2b405816925f1a1aef69d18c1 (diff) | |
download | uhd-ff1546f8137f7f92bb250f685561b0c34cc0e053.tar.gz uhd-ff1546f8137f7f92bb250f685561b0c34cc0e053.tar.bz2 uhd-ff1546f8137f7f92bb250f685561b0c34cc0e053.zip |
Pushing the bulk of UHD-3.7.0 code.
Diffstat (limited to 'fpga/usrp3/lib/dsp/rx_frontend_tb.v')
-rw-r--r-- | fpga/usrp3/lib/dsp/rx_frontend_tb.v | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpga/usrp3/lib/dsp/rx_frontend_tb.v b/fpga/usrp3/lib/dsp/rx_frontend_tb.v index 487b72687..f84b4ddc6 100644 --- a/fpga/usrp3/lib/dsp/rx_frontend_tb.v +++ b/fpga/usrp3/lib/dsp/rx_frontend_tb.v @@ -13,21 +13,21 @@ module rx_frontend_tb(); initial $dumpvars(0,rx_frontend_tb); reg [15:0] adc_in; - wire [17:0] adc_out; + wire [23:0] adc_out; always @(posedge clk) begin - if(adc_in[13]) + if(adc_in[15]) $write("-%d,",-adc_in); else $write("%d,",adc_in); - if(adc_out[13]) + if(adc_out[23]) $write("-%d\n",-adc_out); else $write("%d\n",adc_out); end - rx_frontend #(.BASE(0)) rx_frontend + rx_frontend #(.BASE(0), .IQCOMP_EN(1)) rx_frontend (.clk(clk),.rst(rst), .set_stb(0),.set_addr(0),.set_data(0), .adc_a(adc_in), .adc_ovf_a(0), |