Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- Many thanks for your suggestion. I think 8 taps is enough for my design. Then I have to try write down code to realize FIR function. And I am really worried about its poor resources, just try. Thanks again. Best, Mark --- Quote End --- if your filter is symmetrical then 8 taps require 4 mults. if you can force one to be power of 2 then it reduces to 3 mults. The three mults can be implemented as adders e.g. if your coeff is 778 (11 bits signed) then 778 = 2^9 + 2^8 + 2^3 + 2 (4+2 +1 =7 adders) This means zero extend LSBs of input by 9,8,3 and 1 bits then add up all terms. Finally discard LSBs from result as per your final gain