05-24-2021 09:47 PM
In my VHDL code i want to compare a value with NaN and then proceed with further operations.
if (x is not NaN) then
How I can do this such that the code is synthesizable?
05-24-2021 11:27 PM
You Dont show what types are being used. Real type is not synthesisable. Float types from float_pkg will not produce optimal logic. You should be using xilinx float ip cores. But why are you using float at all? Fpgas are not architected for float, they work best with fixed point.
05-28-2021 12:51 AM