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

Hello,

THenn1
Beginner
654 Views

I'm using Quartus Prime Lite V.18.1 to program an FPGA (MAX10).

 

I created a new file with University Program VWF and simulate the signals with the Simulation Waveform Editor. I want to show a signal in fixed-point-format (fractional) which is supported by the editor. But in the simulation the point is always after the first value, for example a 4-bit number is 1.3, and a 8-bit number is 1.7 and so on ..

 

Is there any possibility to change the properties of the radix so that i can decide where to set the point for a fractional number? 

Example: I want to display the 8-bit number in 4.4 and not in 1.7.

 

Any suggestions?

 

Thanks in advance!

0 Kudos
2 Replies
Vicky1
Employee
412 Views

Hi,

It may not be available in simulation waveform editor.

you may check using ModelSim.

Regards,

Vicky

0 Kudos
hans86
Novice
412 Views

Hi Thenn1,

 

Have a look at the radix define command in the Modelsim command reference manual.

 

Type the following into the transcript window:

 

radix define fourbitsfixed -fixed -fraction 4

 

When you now do a right-mouse-click on your signal in the waveform window and select radix you will see the new fourbitsfixed option, select it and you are done. You can also define the signal in your script using radix signal,

 

Good luck,

Hans.

0 Kudos
Reply