aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/sdr_lib/round_sd_tb.v
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2011-04-04 21:41:41 -0700
committerMatt Ettus <matt@ettus.com>2011-06-08 10:52:51 -0700
commit569d9ee60153ac129aa275ca43688c3b94eb8c84 (patch)
tree0d9918c8bffd29c53ccc6912db863004f2566fd8 /usrp2/sdr_lib/round_sd_tb.v
parentb97319808eb9108d7f1ac63b085b4557ce6b5acb (diff)
downloaduhd-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.v8
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)