• 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. Custom IC Design
  3. Plotting VerilogA String Variables

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 16055
  • 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

Plotting VerilogA String Variables

Tjaart
Tjaart over 6 years ago

I have written a VerilogA testbench that runs a few automated tests using IC6.1.7 and SPECTRE171.

I thought it would be useful to plot the current test phase as a string on the waveform as this could help with analog debugging along the x-axis (time).

I might have managed to update a string variable at the start of every phase, but now it seems that I cannot access the variable in the VIVA results browser. I have also changed the output format to SST2 and tried using Simvision but this also did not work. I have made sure that "saveahdlvars" is set, and I can currently access and plot all the real and integer VerilogA variables.

I have done something similar inside a SystemVerilog bench through a Mixed-Mode simulation, but right now I want to avoid expanding my bench this far.

Is there a way for me to plot this variable on a waveform viewer?

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Could you provide your model (or a simplified but working version of your model) so that we don't have to try and create something that (by guesswork) does what you're doing?

    Thanks,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tjaart
    Tjaart over 6 years ago in reply to Andrew Beckett

    In the code that I have posted, I want to plot the variable "message" onto a waveform viewer, in order to visibly align any analog signals that I am also plotting.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Tjaart
    Tjaart over 6 years ago in reply to Andrew Beckett

    In the code that I have posted, I want to plot the variable "message" onto a waveform viewer, in order to visibly align any analog signals that I am also plotting.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to Tjaart

    This doesn't seem to be possible from my experiments. I didn't find a request to support saving string variables from VerilogA (might be slightly tricky, because the database format probably doesn't support this right now anyway). 

    You should contact customer support to request this as an enhancement.

    Kind Regards,

    Andrew.

    • 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