Forum Discussion
Altera_Forum
Honored Contributor
16 years agofancy conversion from real to unsigned
Hi Experts, could someone give me a hint to make conversion: having a float number: CALIBRATION_CURRENT_LOGAIN : real:= 0.89552238805970152; i wanted to convert it to unsigned(15 downto...
Altera_Forum
Honored Contributor
16 years agoactually this is simulated first in modelsim, then implemented in quartus. both of them give exactly the same wrong value :) thanks for hints using the new type. I did not know about it is it a vhdl2000 standard? if so i'd rather avoid as all stuff is 93 standard