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 ago --- Quote Start --- Just remembered I did some mult by 2^n ages ago and the compiler didn't infer shift but true multiplier!!. Are you sure it is not still the case. --- Quote End --- I checked the RTL before posting (originally): the complier nicely inferred two adders to do the job. If you try to write the * 19 in one go, it infers a multiplier ...