When working with the Modelsim GUI (and Quartus SignalTap), I define readable names using a radix like this:
radix define CMD_RAM {
"3'b000" "LOAD REG" -color "Yellow",
"3'b001" "REFRESH" -color "Yellow",
"3'b010" "PRECHARGE" -color "Yellow",
"3'b011" "ACTIVE" -color "Yellow",
"3'b100" "WRITE" -color "Yellow",
"3'b101" "READ" -color "Yellow",
"3'b110" "BURST TERM" -color "Yellow",
"3'b111" "NOP" -color "Yellow",
-default default
}
Is there a way of printing values using $display or $strobe which will also use a similar radix definiton?