er.akhilkumar
Full Member level 2
![Full Member level 2](/styles/images/ranks/elevel2.gif)
Hello All,
I have a code that contains CEIL and FLOOR usage as the design is generic, it is used as following:
CONSTANT A : natural := natural(CEIL(real(natural_parameter)/real(natural_parameter)));
Now in simulation code works fine but synthesis using dc_shell is also ok but when I try to load generated netlist to LEC tool it gives error...as real is un-synthesizable. Have you got any solution for this problem? In my code I cannot remove CEIL.
Thanx
I have a code that contains CEIL and FLOOR usage as the design is generic, it is used as following:
CONSTANT A : natural := natural(CEIL(real(natural_parameter)/real(natural_parameter)));
Now in simulation code works fine but synthesis using dc_shell is also ok but when I try to load generated netlist to LEC tool it gives error...as real is un-synthesizable. Have you got any solution for this problem? In my code I cannot remove CEIL.
Thanx