Say you have a signed 32bit number with a fraction length of 16bits. That is, the first 16 MSB are the integer part and the rest ( 16 LSB) are the fraction part. Is there a way in verilog to display this number number in base 10 that makes it easier to read decimals.
For example:
0000 0000 0000 0001 1000 0000 0000 0000 should be displayed as 1.5
I'm using Xillinx. I have looked online and I have not found a way to do this.