Forum Discussion
ALTERA_FP_FUNCTIONS Single Precision Multiplier doesn't seem to support subnormal numbers
- 6 years ago
Yes, I got the problem.
However Altera floating-point IP cores do not support denormal/subnormal number inputs. If the input is a denormal value, the IP core forces the value to zero and treats the value as a zero before going through any operation.
Hence we are seeing output zero.
Regards
Anand
Hi Ahmad,
You have to check the output of ALTERA_FP_FUNCTION when valid signal is high.
you can check with example design from user guide
Please share you design or image.
Regards
Anand
Hi Anand,
As you may be aware with most FPGA IPs, there is no data valid signal. You just have to wait the suggested number of cycles and hope the output is correct.
I've created a sample project with the IP in question and also added a testbench which will run the problem cases. I'll attach them here.
- ZAhma16 years ago
New Contributor
And here is the testbench