From 569d9ee60153ac129aa275ca43688c3b94eb8c84 Mon Sep 17 00:00:00 2001 From: Matt Ettus Date: Mon, 4 Apr 2011 21:41:41 -0700 Subject: dsp: reworked round_sd, it is much simpler now --- usrp2/sdr_lib/round_sd_tb.v | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'usrp2/sdr_lib/round_sd_tb.v') diff --git a/usrp2/sdr_lib/round_sd_tb.v b/usrp2/sdr_lib/round_sd_tb.v index df9f58421..80b3707dc 100644 --- a/usrp2/sdr_lib/round_sd_tb.v +++ b/usrp2/sdr_lib/round_sd_tb.v @@ -30,15 +30,17 @@ module round_sd_tb(); $write("-%d\t",-adc_out); else $write("%d\t",adc_out); - $write("%f\t",adc_in_del/factor); - $write("%f\n",adc_in_del/factor-adc_out); + $write("\n"); + + //$write("%f\t",adc_in_del/factor); + //$write("%f\n",adc_in_del/factor-adc_out); end round_sd #(.WIDTH_IN(WIDTH_IN),.WIDTH_OUT(WIDTH_OUT)) round_sd(.clk(clk),.reset(rst), .in(adc_in),.out(adc_out)); always @(posedge clk) - adc_in <= 4734; + adc_in <= 14'h1FDF; //adc_in <= $random % 4739; always @(posedge clk) -- cgit v1.2.3