• 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. Get X-value from an expression that plots Frequency vs....

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 125
  • Views 13094
  • 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

Get X-value from an expression that plots Frequency vs. Vtune

HoWei
HoWei over 4 years ago

In Assembler I am running a VCO in a transient simulation. I sweep the design-variable Vtune (0:0.5:1.5) --> 4 simulation points.

For each of these 4 different simulation pointss I calculate the frequency when the VCO is in steady state - thus I get 4 frequency values--> one frequency value per Vtune-voltage

This allows me to plot Freq vs. Vtune.

Now, from this plot/curve I want to interpolate the Vtune which is required to achieve e.g. Freq=480MHz.

Basically I need a "xval( signal y-val )", but it does not exist.

I tried "cross()" - but it requires a time dependend signal

I tried "xval()" - but it does not give the x-val for a specific y-val

How can I do that ?

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

    cross doesn't require a time-dependent signal... so you should be able to use that. If it had been results from an ac analysis, then you might have had to do cross(mag(VF(...)) ...) but that's not the case here.

    So I'm not sure why you can't use cross?

    Andrew

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

    Hi Andrew, 

    after using cross() properly over the "sweeps" (not "points") I got my "Vtune_480M" values.

    Now:

    1. It is displayed as a curve (not a constant) - maybe because I do a corner sweep and have different VDD values per corner

    2. I want to use this Vtune_480MHz value as the Vtune for my PSS+Pnoise simulations, but currently this does not work. The PSS says the value is NIL

    Any idea ?

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

    This would be the corner setup - AVDD, temperature and the process-corners are changing

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

    I'm a little busy today, so can't delve into this too much, so a quick suggestion to see if you can move forward. Perhaps just try adding ymax(expression ?overall t) around your expression - so ymax(cross(...) ?overall t) - I'm assuming that the graphs are single-point graphs but with the other corner variables showing up? This should then scalarize (if that's a word) the result...

    Andrew

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

    Your proposal ymax( ... ?overall t)  "scalerized" the value and a number was given.

    And also the PSS+PNOISE simulations are running succesfully!

    Perfect ! Problem solved !

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

    Your proposal ymax( ... ?overall t)  "scalerized" the value and a number was given.

    And also the PSS+PNOISE simulations are running succesfully!

    Perfect ! Problem solved !

    • 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