Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- I think thats may be a good idea, but I dont know how to do this. I'am a newbie. Can I do this with IP cores from Quartus? --- Quote End --- to multiply by fraction you scale say by 2^10 then discard 10 lsb fro result, e.g. 0.13 => round(0.13 x 2^10) = 133 In FPGA, you multiply input by 133 then discard 10 lsbs