• 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 SKILL
  3. Alternative to getASCIWave but without file?

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 3747
  • 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

Alternative to getASCIWave but without file?

StephanWeber
StephanWeber over 1 year ago

Hi,

I have a question on skill/viva/calculator. I think there is already a good way to display x/y values from a file in Viva using getAsciiWave, but if I have only a few points going with a file is too much effort (and files can get lost). Can I compose a set of points like this (x1,y1), (x2,y2), (x3,y3) on the fly and directly plot them into Viva? Or having a skill function which takes the x;s and y's as parameters to then do the plotting?

Bye Stephan

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    How can I create a waveform object from lists of x and y values?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephanWeber
    StephanWeber over 1 year ago in reply to Andrew Beckett

    It works very well, thanks!

    I wonder is there also a way to apply specific settings e.g. for color, for thickness or style (like line vs points + point style)?

    Bye Stephan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago in reply to StephanWeber

    Stephan,

    There aren’t hints that can be added to a waveform for all of these (there is some limited support for indicating whether it should be a spectral or joined line; I have an article on COS for this - can’t check as I’m on my phone).

    If plotting the expression from ADE, then plotting templates would be the solution. If running from a script, you can do this with arguments to the plot() or awvPlotWaveform functions.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • StephanWeber
    StephanWeber over 1 year ago in reply to Andrew Beckett

    Thanks, Andrew.

    My preferred solution is to have abMakeWaveform in my ADE output expressions, not using a script. So it looks the plotting template can be useful.

    • 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