• 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
  • Alex Liao
    Alex Liao over 9 years ago

    Andrew,

    Andrew Beckett said:
    The lines between the points are just a visual aid, drawn by ViVA.

    This is what I want.

    Andrew Beckett said:
    How accurate that interpolation was would depend on the number of points in the inner sweep (DC sweep?) that you performed.

    Yes, in the dc sweep, for example, provided as follows. I think if it interpolate at a point with w  between 1.096um and 1.202um, say 6%, then it must be an approximation because the dc sweep did not simulate the w: (6%) point. Is this what you mean?

    " (20 points In total)

    dc: w = 1.096 um (4 %), step = 49.35 nm (2 %)
    dc: w = 1.202 um (8 %), step = 54.11 nm (2 %)
    dc: w = 1.38 um (14 %), step = 62.13 nm (2 %)
    dc: w = 1.514 um (18 %), step = 68.12 nm (2 %)
    dc: w = 1.738 um (24 %), step = 78.21 nm (2 %)
    dc: w = 1.905 um (28 %), step = 85.76 nm (2 %)
    dc: w = 2.188 um (34 %), step = 98.47 nm (2 %)
    dc: w = 2.399 um (38 %), step = 108 nm (2 %)
    dc: w = 2.754 um (44 %), step = 124 nm (2 %)
    dc: w = 3.02 um (48 %), step = 135.9 nm (2 %)
    dc: w = 3.467 um (54 %), step = 156.1 nm (2 %)
    dc: w = 3.802 um (58 %), step = 171.1 nm (2 %)
    dc: w = 4.365 um (64 %), step = 196.5 nm (2 %)
    dc: w = 4.786 um (68 %), step = 215.4 nm (2 %)
    dc: w = 5.495 um (74 %), step = 247.3 nm (2 %)
    dc: w = 6.026 um (78 %), step = 271.2 nm (2 %)
    dc: w = 6.918 um (84 %), step = 311.4 nm (2 %)
    dc: w = 7.586 um (88 %), step = 341.4 nm (2 %)
    dc: w = 8.71 um (94 %), step = 392 nm (2 %)
    dc: w = 9.55 um (98 %), step = 429.8 nm (2 %)

    "

    Thanks,

    Alex

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Alex Liao
    Alex Liao over 9 years ago

    Andrew,

    Andrew Beckett said:
    The lines between the points are just a visual aid, drawn by ViVA.

    This is what I want.

    Andrew Beckett said:
    How accurate that interpolation was would depend on the number of points in the inner sweep (DC sweep?) that you performed.

    Yes, in the dc sweep, for example, provided as follows. I think if it interpolate at a point with w  between 1.096um and 1.202um, say 6%, then it must be an approximation because the dc sweep did not simulate the w: (6%) point. Is this what you mean?

    " (20 points In total)

    dc: w = 1.096 um (4 %), step = 49.35 nm (2 %)
    dc: w = 1.202 um (8 %), step = 54.11 nm (2 %)
    dc: w = 1.38 um (14 %), step = 62.13 nm (2 %)
    dc: w = 1.514 um (18 %), step = 68.12 nm (2 %)
    dc: w = 1.738 um (24 %), step = 78.21 nm (2 %)
    dc: w = 1.905 um (28 %), step = 85.76 nm (2 %)
    dc: w = 2.188 um (34 %), step = 98.47 nm (2 %)
    dc: w = 2.399 um (38 %), step = 108 nm (2 %)
    dc: w = 2.754 um (44 %), step = 124 nm (2 %)
    dc: w = 3.02 um (48 %), step = 135.9 nm (2 %)
    dc: w = 3.467 um (54 %), step = 156.1 nm (2 %)
    dc: w = 3.802 um (58 %), step = 171.1 nm (2 %)
    dc: w = 4.365 um (64 %), step = 196.5 nm (2 %)
    dc: w = 4.786 um (68 %), step = 215.4 nm (2 %)
    dc: w = 5.495 um (74 %), step = 247.3 nm (2 %)
    dc: w = 6.026 um (78 %), step = 271.2 nm (2 %)
    dc: w = 6.918 um (84 %), step = 311.4 nm (2 %)
    dc: w = 7.586 um (88 %), step = 341.4 nm (2 %)
    dc: w = 8.71 um (94 %), step = 392 nm (2 %)
    dc: w = 9.55 um (98 %), step = 429.8 nm (2 %)

    "

    Thanks,

    Alex

    • 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