Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

Hello,

THenn1
Beginner
400 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
158 Views

Hi,

It may not be available in simulation waveform editor.

you may check using ModelSim.

Regards,

Vicky

hans86
Novice
158 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.

Reply