aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/sdr_lib/hb_dec_tb.v
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-08 12:14:53 -0700
committerJosh Blum <josh@joshknows.com>2011-07-08 12:14:53 -0700
commit4ea6f7431e09d9f27ecaa1c1b187d2c2f613e8f4 (patch)
treed2e66eb4e5f7cf7f8ab033f5482a6f2477aa88b6 /usrp2/sdr_lib/hb_dec_tb.v
parentdd41da159157afe417e7f3b77ba30e189eb510fe (diff)
parentfbc01138d5f943b06ce1bf3f746287b9d6c7789d (diff)
downloaduhd-4ea6f7431e09d9f27ecaa1c1b187d2c2f613e8f4.tar.gz
uhd-4ea6f7431e09d9f27ecaa1c1b187d2c2f613e8f4.tar.bz2
uhd-4ea6f7431e09d9f27ecaa1c1b187d2c2f613e8f4.zip
Merge branch 'b100_shrink' into next
Diffstat (limited to 'usrp2/sdr_lib/hb_dec_tb.v')
-rw-r--r--usrp2/sdr_lib/hb_dec_tb.v10
1 files changed, 5 insertions, 5 deletions
diff --git a/usrp2/sdr_lib/hb_dec_tb.v b/usrp2/sdr_lib/hb_dec_tb.v
index 256f6085d..153cfba76 100644
--- a/usrp2/sdr_lib/hb_dec_tb.v
+++ b/usrp2/sdr_lib/hb_dec_tb.v
@@ -18,7 +18,7 @@
module hb_dec_tb( ) ;
// Parameters for instantiation
- parameter clocks = 9'd2 ; // Number of clocks per input
+ parameter clocks = 9'd12 ; // Number of clocks per input
parameter decim = 1 ; // Sets the filter to decimate
parameter rate = 2 ; // Sets the decimation rate
@@ -26,9 +26,9 @@ module hb_dec_tb( ) ;
reg reset ;
reg enable ;
reg strobe_in ;
- reg signed [17:0] data_in ;
+ reg signed [23:0] data_in ;
wire strobe_out ;
- wire signed [17:0] data_out ;
+ wire signed [23:0] data_out ;
initial
begin
@@ -65,8 +65,8 @@ module hb_dec_tb( ) ;
*/
- hb_dec #(.IWIDTH(18),.OWIDTH(18),.CWIDTH(18),.ACCWIDTH(24)) uut
- (.clk(clock),.rst(reset),.bypass(0),.cpi(clocks),.stb_in(strobe_in),.data_in(data_in),
+ hb_dec #(.WIDTH(24)) uut
+ (.clk(clock),.rst(reset),.bypass(0),.run(1),.cpi(clocks),.stb_in(strobe_in),.data_in(data_in),
.stb_out(strobe_out),.data_out(data_out) );
integer i, ri, ro, infile, outfile ;