V
Vivek Menon
Guest
I am prototyping an algorithm using floating point and fixed point precision. I used the floating point core v 5.0 to generate a multiplier for single precision multiplication and fixed point multiplication (custom width 16 bits with 11 bits fraction). I am able to successfully simulate and synthesize the floating point multiplier, but the fixed point core just fails. I am using ISIM to simulate the fixed point core.
I verified my input and output values in Matlab using quantizer function to select the Q point (11 bits fraction).
e.g. I apply x01C9 (0.2232) and x06ED (0.8660) to my fixed point multiplier, and I see my output as x0000, whereas I am supposed to see x018B (0.1933).. I don't see the overflow or underflow signal going high.
Any suggestions??
Thanks in advance
I verified my input and output values in Matlab using quantizer function to select the Q point (11 bits fraction).
e.g. I apply x01C9 (0.2232) and x06ED (0.8660) to my fixed point multiplier, and I see my output as x0000, whereas I am supposed to see x018B (0.1933).. I don't see the overflow or underflow signal going high.
Any suggestions??
Thanks in advance