summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatt <matt@221aa14e-8319-0410-a670-987f0aec2ac5>2007-03-20 01:05:29 +0000
committermatt <matt@221aa14e-8319-0410-a670-987f0aec2ac5>2007-03-20 01:05:29 +0000
commitc9748d38085587d037e9cd56f958c7b416b2539a (patch)
tree235e955113aaa471ad9f2ca0744006857c12848c
parent9242153cbf59db9d225f52a125746fe202485147 (diff)
downloaduhd-c9748d38085587d037e9cd56f958c7b416b2539a.tar.gz
uhd-c9748d38085587d037e9cd56f958c7b416b2539a.tar.bz2
uhd-c9748d38085587d037e9cd56f958c7b416b2539a.zip
removed a parameter
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4782 221aa14e-8319-0410-a670-987f0aec2ac5
-rw-r--r--sdr_lib/cic_int_shifter.v12
1 files changed, 6 insertions, 6 deletions
diff --git a/sdr_lib/cic_int_shifter.v b/sdr_lib/cic_int_shifter.v
index fd148c979..33086787b 100644
--- a/sdr_lib/cic_int_shifter.v
+++ b/sdr_lib/cic_int_shifter.v
@@ -35,12 +35,12 @@ module cic_int_shifter(rate,signal_in,signal_out);
input [7:0] rate;
case(rate)
// Exact Cases
- 8'd4 : bitgain = 2*(N-1);
- 8'd8 : bitgain = 3*(N-1);
- 8'd16 : bitgain = 4*(N-1);
- 8'd32 : bitgain = 5*(N-1);
- 8'd64 : bitgain = 6*(N-1);
- 8'd128 : bitgain = 7*(N-1);
+ 8'd4 : bitgain = 6;
+ 8'd8 : bitgain = 9;
+ 8'd16 : bitgain = 12;
+ 8'd32 : bitgain = 15;
+ 8'd64 : bitgain = 18;
+ 8'd128 : bitgain = 21;
// Nearest without overflow
8'd5 : bitgain = 7;