diff options
author | matt <matt@221aa14e-8319-0410-a670-987f0aec2ac5> | 2007-03-20 01:03:10 +0000 |
---|---|---|
committer | matt <matt@221aa14e-8319-0410-a670-987f0aec2ac5> | 2007-03-20 01:03:10 +0000 |
commit | 9242153cbf59db9d225f52a125746fe202485147 (patch) | |
tree | 03d65c3a21d6a9c18f583f2fb3bbede1a250bf8c | |
parent | 178228ec495c7169890c61bfd92b3ef5de1f33bd (diff) | |
download | uhd-9242153cbf59db9d225f52a125746fe202485147.tar.gz uhd-9242153cbf59db9d225f52a125746fe202485147.tar.bz2 uhd-9242153cbf59db9d225f52a125746fe202485147.zip |
allow for varying the bitwidth
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4781 221aa14e-8319-0410-a670-987f0aec2ac5
-rwxr-xr-x | sdr_lib/cic_interp.v | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sdr_lib/cic_interp.v b/sdr_lib/cic_interp.v index 0dd621623..732f82ce0 100755 --- a/sdr_lib/cic_interp.v +++ b/sdr_lib/cic_interp.v @@ -82,7 +82,8 @@ module cic_interp(clock,reset,enable,rate,strobe_in,strobe_out,signal_in,signal_ wire [bw+maxbitgain-1:0] signal_out_unnorm = integrator[N-1]; - cic_int_shifter cic_int_shifter(rate,signal_out_unnorm,signal_out); + cic_int_shifter #(bw) + cic_int_shifter(rate,signal_out_unnorm,signal_out); endmodule // cic_interp |