Forum Discussion
Altera_Forum
Honored Contributor
15 years agoFIR II Compiler V10.1 Coefficient Scaling
Hye all, I'm implementing a 127-taps FIR for baseband shaping. I'm using the FIRII compiler for it. I noticed that in the 'old' FIR compiler you had the option to scale the coefficients ...
Altera_Forum
Honored Contributor
14 years agoTo get dc unity gain, you scale your coeffs as follows:
coeff = round(2^n/sum(coeffs)); in your case, you easily work around by rescaling your normalised coeffs so that your max coeff = sum of coeffs. what remains is the difference of 2^n & 2^n - 1 which is trivial.