Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Can ModelSim-Altera Display IEEE Floating Point Data

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 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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