Forum Discussion
Altera_Forum
Honored Contributor
14 years agoreal variable data type values
Hi Everybody, I am designing pre_emphasis filter for speech recognition system, when I simulate the module in ModelSim it work and give the right output, but I couldn't compile it in Quartus II...
Altera_Forum
Honored Contributor
14 years agoI always use truncation myself instead of tool's support.
For .975 multiply by 31949 (.975 *2^15 and rounded to nearest integer) then discard 15 bits off result.