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 ago --- Quote Start --- my problem is when i calculate the coeff the are not interger this is one example of the coef [0.000280, 0.003809, 0.010263, 0.013750, 0.010263, 0.003809, 0.000280] --- Quote End --- scale up enough for integer resolution e.g. round(0.00028*2^20) = 294 Then at final sum discard (20 LSBs or so, not critical but affects gain)