Altera_Forum
Honored Contributor
14 years agomodelsim and custom radix
Hi,
I'm trying to define a custom radix in the wave.do file for a single signal of type std_logic. However, this definition doesn't seem to be recognized by modelsim: the signal is always displayed with a numeric value. Does anyone have any idea why ? clock.vhd --------- ... constant cAM : std_logic := '0'; constant cPM : std_logic := '1'; signal ampm : std_logic; ... ampm <= cAM; ... ampm <= cPM; ... wave.do ------- radix define radix_ampm { "1'b0" "AM" -color "white", "1'b1" "PM" -color "white", -default hexadecimal } add wave -noupdate -radix radix_ampm /tb/clock/ampm Thanks for your help, P9