Forum Discussion
Altera_Forum
Honored Contributor
10 years agodigital filter
hello everybody. i am beginning with vhdl an i try to implement a digita filter on cyclone 2 This is the code i havebut i d ont understand why it doesnt work thk for help library IEEE; ...
Altera_Forum
Honored Contributor
10 years agoyou can scale coeffs as required e.g.
hs=round(127*h/max(h)) or hs=round(256*h/sum(h)) %this keeps unity gain if you discard 8 lsbs at final output