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.
Thanks in advance!
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,