Forum Discussion
Altera_Forum
Honored Contributor
8 years agoModelsim: Interpretation of numbers in wave window
Hello all! I've encountered a problem that absolutely baffles me. It's regarding the radix interpretation in the Sim/Wave window. I've checked that the binary number is correct, 64-bit fixed with...
Altera_Forum
Honored Contributor
8 years agoHello!
First of all, thanks for your effort and interest in replying! The 64 bit sequence is a fixed fractional number, not a float number. I.e. the 32 first bits represents the number and the 32 last (LSB ) represents the fractional part, 1/2 and below. But the most amazing thing regarding this, is that if I do the same with a 32 bit, with 16 bit integer, 16 fractional bits, then everything works perfectly. The 32-bit sequence: 0000000000000000 . 0000000100000000 i.e. 1/128 = 0.0078125 is showed correctly with radix fixed#16#decimal#signed. (signed/unsigned does not matter, it works correctly) See attached image. This is nothing short of mind blowing to me, I simply can't understand it.