Forum Discussion
Altera_Forum
Honored Contributor
15 years agoMultiplication by 0,6
Hi i have an input of 8 bits and i need to make a multiplication by 0,6. I doesn't has to be precise so i thaught to do : INPUT * 19 /32 This is not a working code but is displays wh...
Altera_Forum
Honored Contributor
15 years agoIf you simply muötiply with 19, there are two options, depending on your FPGA resources and Quartus synthesis settings:
- a true hardware multiplier is inferred, can be prevented by synthesis attributes if you want keep the resource for other purposes - the multiply operation is synthesized in logic cells, ending up in the same construct as generated by the above suggested sum of terms. So just writing *19 should be no problem.