Altera_Forum
Honored Contributor
14 years agoRadix adjustment
Hi,
is there a possiblity to give a fix radix representation to e.g. std_logic_vector like HEX for the simulation output in the testbench? MelHi,
is there a possiblity to give a fix radix representation to e.g. std_logic_vector like HEX for the simulation output in the testbench? MelYes in modelsim.
Right click on the signal in the wave window and select radix -> hex.This I know, but I mean to set it fix for a certain output already in the testbench befor simulating it
I dont quite understand - a std_logic_vector is an array of std_logic, so the radix is just a display parameter, not part of the VHDL code.
Yes, but I'm asking for a possiblity to make this setup already fix before simulation.... I don't if its possible
once you've made all the setup changes, you can save the wave window to a .do file, that saves all the radix's for all the signals, that can be reloaded when you restart modelsim.
ok thanks!
you can also add that wave.do to your main simulation .do or add the commands to the main simulation .do directly