How do I set values for radix-type "enum" ?
Status: Planning
Brought to you by:
mballance
Hello,
I'm using IVI for a little personal project in verilog, and I've used a lot
of IVI's features.
I noticed that one of the choices for the radix of a signal in the
waveform window is "enum".
Question: How can I specify the enumerated values for a signal,
either via the waveform GUI, or via the waveform (tcl) scripts ?
Currently, without being able to enumerate the values, I notice that
the signal values just turn into "Unknown" whenever I pick the "enum"
radix-type.
Thanks in advance, for your response. This is a wonderful tool, and I
enjoy working with it immensely!
balachander
Logged In: YES
user_id=189914
Hi,
You should be able to edit enumerations using the
Edit->Setup Enumeration (It's named something like that -
have a look near the bottom of the wave-window edit menu)
menu item. This will open a dialog where you can select a
signal and enter a list of integer-value/enum-value pairs.
From the command-line, you can use the signal-object
'set_enum' command. Again, here, I'm going from memory. The
best way to check this is to setup enumerations using the
dialog, then save the wave format to a file. The wave-format
file will contain the commands you can use from the command-line
Let me know if you have more questions
-Matthew