Hi, is there a way in ModelSim to Display Floating Point Data in the Wave window? In my FPGA project I am doing a floating point multiply and I want to see the results in my simulation. Can anyone help?
Thanks, joe链接已复制
1 回复
I'm pretty sure it can display reals. I recall using this feature for showing an analog signal and a simulated ADC output.
The wave window has several options for the radix and the format. The "Analog Format" will give you a line format, like a MATLAB plot. I suspect the display for a real value will be under the radix. I also recall being able to define your own floating-point format ... but you'll have to look in the Modelsim docs for that (I believe the same technique is used to map binary values to state machines). Cheers, Dave