Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

Naming Values in ModelSim Wave with an Alias

Hi all,

I am wondering if there is a way to define a set of aliases for a models signal. Basically, I want to do the following:

1) I have a 5bit signal in the ModelSim waveform window called "opcode_r1"

2) The current number representation for the signal values is hex, so I will see values like: 0A, 1F, etc.

3) Is there a way I can define a set of aliases such that every time 0A shows up in that wave it displays ADD_IC instead of 0A?

As you can see its an opcode for a processor and I feel it would be much easier to see the actual opcode name rather than the raw hex value.

Thanks in advance!

2 Replies