From b9b183315a232b3bdd2c82ee924678612ff50e0c Mon Sep 17 00:00:00 2001 From: Matt Ettus Date: Fri, 13 May 2011 14:05:04 -0700 Subject: dsp: no need to keep all the low order bits from the accumulator --- usrp2/sdr_lib/small_hb_dec.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usrp2/sdr_lib') diff --git a/usrp2/sdr_lib/small_hb_dec.v b/usrp2/sdr_lib/small_hb_dec.v index 14e6d755c..41ecd3e41 100644 --- a/usrp2/sdr_lib/small_hb_dec.v +++ b/usrp2/sdr_lib/small_hb_dec.v @@ -111,8 +111,8 @@ module small_hb_dec wire stb_round; - round_sd #(.WIDTH_IN(36),.WIDTH_OUT(19)) round_acc - (.clk(clk), .reset(rst), .in(accum), .strobe_in(go_d4), .out(accum_rnd), .strobe_out(stb_round)); + round_sd #(.WIDTH_IN(25),.WIDTH_OUT(19)) round_acc + (.clk(clk), .reset(rst), .in(accum[35:11]), .strobe_in(go_d4), .out(accum_rnd), .strobe_out(stb_round)); clip #(.bits_in(19),.bits_out(18)) clip (.in(accum_rnd), .out(accum_rnd_clip)); -- cgit v1.2.3