• 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. Help on loading derived waveforms

Stats

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

Help on loading derived waveforms

dragank
dragank over 4 years ago

Hi, all.

Maestro simulation that I am working with has ocean script added that calculates some values and generates waveforms and adds them to results as derived outputs.

They all get evaluated properly when I do "View Results".

Now i need to access these values and waveforms from skill code.

They are not contained in results database.

Is there a way to do it without opening results from History browser?

Thanks in advance.

  • Cancel
Parents
  • ebecheto
    ebecheto over 4 years ago

    Hi,

    i am not sure what you want. The actual data ? Give us example.

    i give you an example :

    plot(getData("I61.MP8:ron" ?result "tran-tran"))
    ocnPrint(getData("I61.MP8:region" ?result "tran-tran"))

    You can recover the X and Y data from the curves with ocnPrint function.

    I assume however that you want the value of ymax() or ymin()

    wave=VDC("/I0/net019")

    plot(wave) ;<= what does the "Evaluate button from your expression"

    average(wave) = 0.5 ;<= for instance if net019 is a clock of [0 - 1V]

    Sorry, my answer is not clear because your question is not clear.

    Regards,

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dragank
    dragank over 4 years ago in reply to ebecheto

    I have no ocean expressions after "View results" is done.

    Derived expressions (both, waves and scalars) are not stored in results database, but calculated.

    Something like you do with : wave = artListToWaveform(xyList)

    I need to access waveforms and plot them.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to dragank

    You may be able to use calcVal("outputName" "testName") to retrieve the waveform object, which you can then plot (by passing to the plot() function)

    Andrew.

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

    Scalar results can also be retrieved with the axlReadHistoryResDB function - see the example at the bottom of this post.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • dragank
    dragank over 4 years ago in reply to Andrew Beckett

    Scalars are retrieved properly, but waveforms are still resolved to nil.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to dragank

    Please contact customer support - this is one of those "the devil is in the details" issues, and I certainly don't have the bandwidth for lots of back and forth trying to work out what exactly your setup is, and what you've tried - so I'd prefer to leave it to my colleagues who can follow this up directly.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to dragank

    Please contact customer support - this is one of those "the devil is in the details" issues, and I certainly don't have the bandwidth for lots of back and forth trying to work out what exactly your setup is, and what you've tried - so I'd prefer to leave it to my colleagues who can follow this up directly.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • dragank
    dragank over 4 years ago in reply to Andrew Beckett

    No need for that.

    Thank You for idea.

    This:

    wavefrm = calcVal(resName test ?cornerName cornerName ?historyName historyName)

    did the job.

    • 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