• 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. Ocean scripting - Plotting multiple expressions in different...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 1347
  • 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

Ocean scripting - Plotting multiple expressions in different strips

PBabu
PBabu over 12 years ago

Hi,

I need some help on this.
I'm simulating an amplifier for many corners and need to plot gain and phase response.
For the plots, I need appended plots (of all corners) of gain in one strip and phase (of all corners) in another strip.

I tried doing the following in my script:

Gain_plot=dB20(getData("loopGain" ?result "stb-stb"))

Phase_plot=phase(getData("loopGain" ?result "stb-stb"))

y=newWindow()
awvPlotWaveform( currentWindow(y) list(Gain_plot Phase_plot) ?expr list("Gain" "Phase" ) ?stripNumber list(1 2) )

However, when the gain and phase expressions are re-evaluated in an outer loop(not shown here), the plots are replaced.

I also tried using awvSimplePlotExpression and awvPlotExpression. What I understand is that these cannot be used to plot multiple expressions. Am i wrong?

Can anybody help me out with this?
Appreciate your patience.
 
btw, my version of icfb is 5.10.41.500.6.151

Thanks,
Prashant
  • Cancel
  • PBabu
    PBabu over 12 years ago

     Hi,

    Solved it.

    Indeed I was wrong about awvSimplePlotExpression.

    It works. This is what I did:

    x=newWindow()

    Gain_plot=dB20(getData("loopGain" ?result "stb-stb"))

    Phase_plot=phase(getData("loopGain" ?result "stb-stb"))

    awvSimplePlotExpression( currentWindow(x) "Gain_plot Phase_plot" nil nil ?expr list("gain" "phase") ?stripNumber list(1 2) )

    I now get overlapped plots of gain and phase in 2 strips of the same window.

    Cheers,

    Prashant

    • 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