Forum Discussion
Altera_Forum
Honored Contributor
16 years agofixed point multiplication
Hi. I have a signed multiplication to perform in the following format: a(32.0) * b(2.30) Limitation of b(2.30):range from -1 to 1 FYI, i will only get the correct result whenever my out...
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- i will only get the correct result whenever my output is at least 33.60 --- Quote End --- Why? Basically you are performing a 32 * 32 bit multiply, result length is 64 bits (not all bits need to be actually calculated). The remaining problem is how many bits have to be skipped at the right respectively truncated at the left of the result. If the b factor can > +1 or <= -1, saturation logic is required.