summaryrefslogtreecommitdiffstats
path: root/usrp2
diff options
context:
space:
mode:
authorMatt Ettus <matt@ettus.com>2011-05-13 14:05:04 -0700
committerMatt Ettus <matt@ettus.com>2011-06-08 10:52:52 -0700
commitb9b183315a232b3bdd2c82ee924678612ff50e0c (patch)
treeb9a83345e723d9d9e760b6d79e664895e36101b8 /usrp2
parentd35bbdf5a68dd8227354b4352043867f43b20b09 (diff)
downloaduhd-b9b183315a232b3bdd2c82ee924678612ff50e0c.tar.gz
uhd-b9b183315a232b3bdd2c82ee924678612ff50e0c.tar.bz2
uhd-b9b183315a232b3bdd2c82ee924678612ff50e0c.zip
dsp: no need to keep all the low order bits from the accumulator
Diffstat (limited to 'usrp2')
-rw-r--r--usrp2/sdr_lib/small_hb_dec.v4
1 files changed, 2 insertions, 2 deletions
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));