• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Functional Verification
  3. How do I map signal values to meaningful string in simvision...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 65
  • Views 15170
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do I map signal values to meaningful string in simvision?

avidanefody
avidanefody over 3 years ago

i.e. how do I do something like what's described here for the competition:

electronics.stackexchange.com/.../is-there-a-way-to-define-enumeration-for-certain-signals-after-simulation

(I'd like to do this from a TCL command if possible)

Thanks!

  • Cancel
  • StephenH
    StephenH over 3 years ago

    I haven't followed the link you posted as I'm not mad keen on following arbitrary links people post in forums, but I believe you want the mnemonic map feature in SimVision. This can be done via the GUI then saved to a Tcl script for reuse, or you can use the raw Tcl commands in SimVision to build the maps programmatically.

    Refer to https://support.cadence.com/apex/techpubDocViewerPage?xmlName=simvistclcmds.xml&title=SimVision%20Tcl%20Commands%20--%20Contents%20-%20&hash=&c_version=21.03&path=SimVisTclCmds/SimVisTclCmds21.03/SimVisTclCmdsTOC.html for the SimVision Tcl commands (make sure you enter these at the SimVision Tcl prompt not the Xcelium Tcl prompt).

    Pasting an example from the above docs link:

    mmap new -name "Current State" -contents {
        {‘d0 -label "idle"}
        {‘d1 -label "five"}
        {‘d2 -label "ten"}
        {‘d3 -label "fifteen"}
        {‘d4 -label "twenty"}
        {‘d5 -label "twenty-five"}
        {‘d6 -label "thirty"}
        {‘d7 -label "thirty-five"}
        {‘d8 -label "forty"}
        {‘d9 -label "forty-five"}
        {‘d10 -label "fifty"}
        {‘d11 -label "nickel_out"}
        {‘d12 -label "dime_out"}
        {‘d13 -label "two_dime_out"}}
    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • avidanefody
    avidanefody over 3 years ago in reply to StephenH

    @stephenh no need to click your guess was good enough :-)...ok, so I created a mnemonic map, now what? how do I attach it to a signal in the waveform so that it shows these values instead of the numeric ones?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephenH
    StephenH over 3 years ago in reply to avidanefody

    The simplest way is to run the Tcl script in SimVision to create the map, thereafter you can right click on the value for a signal in the waveform, and instead of changing radix, select the map name.

    Example at the bottom of this app note: https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000000nWEkEAM&pageName=ArticleContent 

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • avidanefody
    avidanefody over 3 years ago in reply to StephenH

    That works! thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information