aboutsummaryrefslogtreecommitdiffstats
path: root/usrp2/sdr_lib/hb_dec_tb.v
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-19 13:47:32 -0700
committerJosh Blum <josh@joshknows.com>2011-07-19 13:47:32 -0700
commit05cfc2d5c908f6fd36cff4c0bb816b146d913960 (patch)
tree9b432549a4f992de837c208d8421f42ddaf56282 /usrp2/sdr_lib/hb_dec_tb.v
parentc0fadece89314f3a00892122c28caf187ce1a717 (diff)
parentfbc01138d5f943b06ce1bf3f746287b9d6c7789d (diff)
downloaduhd-05cfc2d5c908f6fd36cff4c0bb816b146d913960.tar.gz
uhd-05cfc2d5c908f6fd36cff4c0bb816b146d913960.tar.bz2
uhd-05cfc2d5c908f6fd36cff4c0bb816b146d913960.zip
Merge branch 'b100_shrink' into new_work
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 ;