Forum Discussion
Altera_Forum
Honored Contributor
15 years agoFixed-point multiplication with "altmult_complex" megafunction
Hi, I am using the altmult_complex (complex multiplier) with inputs dataa (both real and imaginary) having 16 fractional bits, and inputs datab (both real and imaginary) having 2 decimal bits a...
Altera_Forum
Honored Contributor
15 years agoThe answer is yes to both of your questions, unless you multiply the two maximum negative numbers.
Even more useful is the fixed point rules. If you have a 16 bit number with 8 bit integer and 8 bits fraction, you multiply it by a 10 bit number with 3 bits integer and 7 bits fractional, you get an 11.15 bit result. You simply add together the integer and fraactional bits.