Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

IEEE 754 in modelsim

Altera_Forum
Honored Contributor II
2,138 Views

Is there any way to get ieee 754 floating point to display as decimal modelsim? Either built in function, plugin or script. 

 

Thanks
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
1,139 Views

VHDL or Verilog?

0 Kudos
Altera_Forum
Honored Contributor II
1,139 Views

I'm using VHDL

0 Kudos
Altera_Forum
Honored Contributor II
1,139 Views

Use the floating point package to convert them to reals so they display nicely on the window. Modelsim has the floating point package in floatfixlib.

0 Kudos
Altera_Forum
Honored Contributor II
1,139 Views

If i understand correctly I have to convert the signals in the source file? 

Is there any way to do this in directly in modelsim?
0 Kudos
Altera_Forum
Honored Contributor II
1,139 Views

it has to be source file. 

Otherwise you have to look at the binary.
0 Kudos
Reply