• 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. Simvision: Colored an hexadecimal signal according to its...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 66
  • Views 16354
  • 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

Simvision: Colored an hexadecimal signal according to its value

Yaira
Yaira over 16 years ago

I would like to colored signals background according to their values. In this way I can visually monitor many signals in a long simulation and trace for similar values (i.e. visually seek for all “blue shades” values).

I tried the following code but get an error:

mmap new -reuse -name pixel_color -contents {

{%x=?????? -bgcolor  %x[23:0] -font -*-courier-medium-r-normal--14-* -shape low}}

Does anyone have an idea?

Thanks.

  • Cancel
  • muffi
    muffi over 16 years ago

    Please use the following steps to create Mnemonic Map. You can do this in the SimVision gui like this:

    Select signal 'xyz' and goto ---> Format ---> Radix/Mnemonic ----> Boolean as logic.

    Now, an icon gets created with signal 'xyz' (a mnemonic map icon).

    Click on this icon, "Property - Simvision" window will pop up.

    On the top left , click on first icon to create new Mnemonic Map. It shows a table with three columns. You can also rename the map name if you do not want to use the default name.

    Click on first column to define the format (select hex in your case). After that give a hex value to it.

    Go to next column to name that portion.

    Click on third column. Go to line and select color for that line/portion and you can also color whole portion by clicking on Fill .

    Go to line and select color for that line/portion and you can also color whole portion by clicking on Fill.

    Click on "Apply to Selected Signal"

    I hope this helps.

    Thanks and regards,
    Mufaddal

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Yaira
    Yaira over 16 years ago

    Thank you for the reply.

    I afraid I didn’t explain myself correctly.

    I would like the color is automatically selected according to the signal value.

    For example

     

                           |-------------------|--------------------|--------------------|--------------------|

    Sig_pix[23:0]    | A00000       | 0000F7        | FFF4F1        | A40D39        |

                           |-------------------|--------------------|--------------------|--------------------|

    The background of the first value is automatically colored in ligth red (R:A0; G:00; B:00)

    The background of the second value is automatically colored in dark blue (R:00; G:00; B:F7)

    The background of the third value is automatically colored in white (almost pure white )  (R:FF; G:F4; B:F1)

    etc.

     

    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