diff options
author | Matt Ettus <matt@ettus.com> | 2011-04-04 21:41:41 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2011-06-08 10:52:51 -0700 |
commit | 569d9ee60153ac129aa275ca43688c3b94eb8c84 (patch) | |
tree | 0d9918c8bffd29c53ccc6912db863004f2566fd8 /usrp2/sdr_lib/round_sd_tb.v | |
parent | b97319808eb9108d7f1ac63b085b4557ce6b5acb (diff) | |
download | uhd-569d9ee60153ac129aa275ca43688c3b94eb8c84.tar.gz uhd-569d9ee60153ac129aa275ca43688c3b94eb8c84.tar.bz2 uhd-569d9ee60153ac129aa275ca43688c3b94eb8c84.zip |
dsp: reworked round_sd, it is much simpler now
Diffstat (limited to 'usrp2/sdr_lib/round_sd_tb.v')
-rw-r--r-- | usrp2/sdr_lib/round_sd_tb.v | 8 |
1 files changed, 5 insertions, 3 deletions
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) |