• 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. Plot depended design variable for a simulation with variable...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 124
  • Views 9386
  • 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

Plot depended design variable for a simulation with variable sweep

FormerMember
FormerMember over 5 years ago

Hello,

I guess this question is not new, but I could not find any solution so far.

I am using maestro and I have a frequency simulation (eg. ac) where I sweep a design variable 'x' at a fixed frequency. I also have some dependent variable 'y=2x' (actual expression more complicated), which I want to use in an expression after the simulation. However, it seems there is no way to access the dependent variable after the simulation. I checked the results browser and can only find the fixed default value for 'y' in the 'designParamVals' folder.

Is it possible to somehow save dependent variables for different simulations with own sweeps or do I have to make a single-point simulation and do the sweep in maestro?

  • Cancel
Parents
  • ShawnLogan
    ShawnLogan over 5 years ago

    Dear Paul,

    If I understand your question correctly, I believe you can compute your expression y(x) using the xval() function. For example, suppose your initial x value sweep was to study a response z(x). Using ocean or the calculator, the xval() function will return the x values from the z function using xval(z). Hence, using xval(z) as the x argument of your second function of y(x), I believe you can evaluate its value from your existing simulation data. The function xval() is documented on page 231 of the Spectre® Circuit Simulator Measurement Description Language User Guide and Reference

    Product Version 19.1 January 2020 manual at URL: 

    support.cadence.com/.../techpubDocViewerPage

    I hope I understood your question correctly Paul snd this helps!

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 5 years ago in reply to ShawnLogan

    Hello Shawn,

    thanks for your answer. What you described is what I am basically doing at the moment. I get my x value with xval and calculate my dependent variables with the same equation I used in the variable editor. I just thought, it may be possible to access these variables directly because the xval approach seems redandant.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ShawnLogan
    ShawnLogan over 5 years ago in reply to ShawnLogan

    Hello Shawn,

    thanks for your answer. What you described is what I am basically doing at the moment. I get my x value with xval and calculate my dependent variables with the same equation I used in the variable editor. I just thought, it may be possible to access these variables directly because the xval approach seems redandant.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to ShawnLogan

    There's no specific waveform saved for the dependent variable, but since it's the x-axis for all of the waveforms in the DC sweep, simply accessing it via xval is the simplest approach.

    Andrew.

    • 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