Altera_Forum
Honored Contributor
15 years agoFilter output value is lower than expected
Hi,
I have a fir compiler with the following settings: Input Bit Width: 16 Coefficient Scaling: Auto with 16 Bits Filter Type: LP with 37 Coefficients Sample Rate: 50 MHz Cut Off Frequency: 10 MHz Passband Ripple: near 0 dB A NCO core with a 16 Bit output supplies the filter with a 1 MHz sinus signal. I analyzed the full resolution output (38 Bits) of the filter in Signal Tap II. 6 MSB Bits were identical so I truncated 5 MSB Bits. I also truncated 17 LSB Bits to get 16 Bits output. But the filter outputs a sinus signal that is attenuated by about -4 dB. In the Frequency Response Tab in fir compiler parameterize GUI it should be near 0 dB. Does anyone have an Idea what the problem could be?