• 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 to extract a value from a self-defined plot, maybe using...

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 143
  • Views 19961
  • 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 to extract a value from a self-defined plot, maybe using ocean script?

Alex Liao
Alex Liao over 9 years ago

Hey,

I have a plot which is gm/id (y-axis) Vs Id/(w/l) (x-axis) by doing a Parametric Analysis of sweeping Vgs.

I found in the result folder, it has lots of sub-folders named as Vg=0.111,..., Vg=0.555, Vg=0.666,..., Vg=0.999. Inside each of them, a /psf folder is there. This is reasonable as plenty of DC points are covered in the Parametric Analysis. Therefore all of those '/psf' result directories' are working together to compose a full plot by providing data and maybe do some interpolations.

I want to extract a value from this big plot and do not know how to do it.

Say, I can read when the X which is id/(w/l) = 5u, the Y which is gm/id = 10. But I want to get Y values by providing X values.

I am thinking since the X-Y in the big plot are one-to-one corresponded, if all the data are summarized in one place composing the complete plot or maybe in a big table, then giving a X and asking for a Y should be straightforward.

I am not quite sure if the waveVsWave will summarize all the data and provide a function to access it.

May refer to my previous post on how to do the plot on self-defined axis:

community.cadence.com/.../1343786

Any idea?

Regards,

Alex

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

    Alex,

    I'm not sure I understand you. The curve you are showing clearly has 10 points, corresponding to the 10 points in the parametric sweep. The lines between the points are just a visual aid, drawn by ViVA. It's not really "continuous". If you had 100 points in the parametric sweep, the graph would look smoother because the straight lines between the points would be shorter.

    Whether the points themselves are from simulation is as I described before - it depends on whether the value() function that you used to construct this waveform was picking values at points that were simulated or whether it had to linearly interpolate. How accurate that interpolation was would depend on the number of points in the inner sweep (DC sweep?) that you performed.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Alex,

    I'm not sure I understand you. The curve you are showing clearly has 10 points, corresponding to the 10 points in the parametric sweep. The lines between the points are just a visual aid, drawn by ViVA. It's not really "continuous". If you had 100 points in the parametric sweep, the graph would look smoother because the straight lines between the points would be shorter.

    Whether the points themselves are from simulation is as I described before - it depends on whether the value() function that you used to construct this waveform was picking values at points that were simulated or whether it had to linearly interpolate. How accurate that interpolation was would depend on the number of points in the inner sweep (DC sweep?) that you performed.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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