Jump to content

Trace Enum values using sc_trace


Recommended Posts

Hey I was just wondering if this feature is being addressed. Currently adding a trace for an enum seems to generate a misleading trace.

At the very least it should error out if this is not supported.

Correctly tracing the int values would be better.

But in reality we should be able to trace the enums directly. This is something we were able to in do VHDL simulators 30 years ago.


Link to comment
Share on other sites

Hello @SteveF,

The enum tracing support is deprecated.

You can find relevant discussions here:



There was another discussion about creating a mapping file between values and strings for usage in GtkWave for viewing VCD traces but currently unable to locate it.

Will probably update the response or someone else can post the link to relevant discussion.

Hope this small insight helps.


Ameya Vikram Singh

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...