- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to use the radix define TCL command in modelsim:
radix define opcode {
5'h0A "ADD_IC" -color orange
}
etc.
I suggest reading the modelsim reference manual for a better definition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is what I was looking for!
With some more research after this, I found another good example on p67 of the following document: http://wiki.eng.iastate.edu/cpre584/images/3/3c/modelsim_pe_user_10.0d.pdf Thanks Tricky!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page