CPoir
New Contributor
6 years agoCIC interpolator gives no output when stages are a power of 2
Hi folks,
I'm trying to simulate a CIC interpolator. I noticed that when the number of stages is a power of 2 (1,2,4 or 8, since the maximum is 12), I only get zeroes as the output. Any other value for the number of stages is fine. Here are screenshots of my IP configuration:
And here is one of my simulation. The signal_I_tmp is what I feed to the interpolator. It is an 8-bit signed which increments by one at each clock. Then, the interp_valid is the out_valid of the IP and it stays low.
If I only change the number of stages to 3 and choose "rounding up" instead of "none" as the output rounding method, it works:
So would any of you know why the powers of 2 don't work?
Thanks for your time,
Carl