Forum Discussion
Altera_Forum
Honored Contributor
15 years agoFloating point megafunctions
Hello,
Has anyone had a problem with the altera's mega functions? My 1st output when I used the divide is always 3fdfffc0. And I always enable as soon as I store my 1st input. Also, just to confirm 'dataa' <= is the numerator13 Replies
- Altera_Forum
Honored Contributor
From the pdf: "dataa[] Yes
Numerator data input. The MSB is the sign bit, the next MSBs are the exponent, and the LSBs are the mantissa. The size of this port is the total width of the sign bit, exponent bits and mantissa bits." Here is a handy webpage I use when I'm working on floating point numbers: http://www.h-schmidt.net/floatapplet/ieee754.html - Altera_Forum
Honored Contributor
The pdf does not explain whether the denominator is datab or dataa.
I used 6 cycles. and I am using single precision - Altera_Forum
Honored Contributor
How is it parametrized and what was the numerator (dataa) and denominator (datab)? How many cycles after the inputs are committed are you waiting for the output?