Altera_Forum
Honored Contributor
14 years agoFloating point conversion [Verilog]
Hello,
I am trying to find a way to convert numbers into floating point. For example: Let Y=-A/B; And A and B are integers, but B>> A. Therefore the range of Y is [0 1]. I already tried using $itor and $realtobits. But my output is still 0. I am using modelsim 10.0 btw. Thanks in advance.