• 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. How can I acquire waveform expression?

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 143
  • Views 16253
  • 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 can I acquire waveform expression?

Reinice
Reinice over 13 years ago

Hi All,

I have a waveform. I want to acquire it's equivalent expression using SKILL?

I'll be using the acquired expression for calculator functions using OCEAN.

Can anyone help me.

Thanks in advance.

Thanks and Regards,

Reinice

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Reinice,

    drGetWaveformYVec(wave)->expression

    should return the expression (if the waveform has been created to store the expression on the object, which it normally would).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Reinice
    Reinice over 13 years ago
    Hi Andrew,

    1. I tried drGetWaveformYVec(wave)->expression using wave in the example in the documentation but I 'am getting "nil" result

    Can you site me some sample on how to use this?

    2. In this example, how can I acquire this having a plot waveform
    value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12) using SKILL?I will be using this expression for calculator functions.

    Thanks and Regards,

    Reinice
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Reinice
    Reinice over 13 years ago
    <rephrasing no. 2>

    Hi Andrew,

    1. I tried drGetWaveformYVec(wave)->expression using wave in the example in the documentation but I 'am getting "nil" result

    Can you site me some sample on how to use this?

    2. In this example, how can I acquire this

    value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12)

    having a plot waveform using SKILL?

    I will be using this expression for calculator functions.

    Thanks and Regards,

    Reinice
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Reinice,

    I don't entirely understand your second question - surely the second question is how you'd access this with SKILL? If you do that, and then do:

    plot(value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12))

    you'll get what you want? For the first, I did this:

    drGetWaveformYVec(value(getData("/out" ?result "tran") "CAP" 1.5p))->expression

    and it outputs:

    value(getData("/out" ?resultsDir "/export/home/andrewb/demos/OCEAN/simulation/ampTest/spectre/schematic" ?result "tran") "CAP" 1.5e-12)

    (my expression was similar, but not identical to yours).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Reinice
    Reinice over 13 years ago

    Hi Andrew,

    Thanks for your quick reply.

    For the second question here's my scenario about this:

    I have a waveform, when I right click at it there's an option send to. When I click send to there's an option calculator, ViVA XL Calculator Form appears. In the buffer part of the calculator I see this value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12). How can I acquire the value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12) in the buffer part using SKILL and depending only in a waveform. 

    Thanks and Regards,

    Reinice

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Hi Reinice,

    I still don't quite understand what you're trying to do. Maybe you're trying to get this information from the selected trace on the graph? Or are you trying to get this from a waveform stored in a variable (if so, that's what the ->expression approach does) ? I think I need some clarification as to where the waveform is that you're trying to get this information on?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Reinice
    Reinice over 12 years ago

    Hi Andrew,

    Yes, I 'am trying to get the information from the selected trace on the graph. In my earlier example I have a trace AVDD33 and when I send "/AVDD33" to a calculator, it's equivalent expression is value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12) shown in the buffer part of the calculator GUI. How can I acquire value(getData(“/AVDD33” ?result “tran”) “Cload” 2e-12) using a trace (ex. "/AVDD33") to get this information using SKILL? I hope I've made some clarifications.

    Thanks and Regards,

    Reinice

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

     Hi Reinice,

    I don't think there's a current API to get the selected waveforms. I'm in the process of working through the existing API and identifying what is obsolete, and what is missing, to suggest to R&D what needs to be added now that the major work on the new ViVA graph has been done (there's still some minor things left to do though).

    You would probably be best logging a service request with customer support so that there is an indication of your needs in the system, tracked against your company/organisation.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Reinice
    Reinice over 12 years ago

    Hi Andrew,

    Sorry for the late reply. Many Thanks for the info.

    Thanks and Regards,

    Reinice

    • 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