• 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. Problem with a waveform

Stats

  • Replies 1
  • Subscribers 124
  • Views 1314
  • Members are here 0

Problem with a waveform

tomgerga
tomgerga 5 months ago

Hello,

I'd like to ask you if anyone would help me with this problem:

I am trying to make transient analysis where my parameter is "Rsens" variable. When the simulation is done, I have multiple values across parameter sweep shown below:

When I right-click the value and select "Plot All", I can see the points connected by lines. The problem is that I cannot use any calculator functions (such as deriv) because (I think) the plot is not considered as waveform and it says evaluation error.

Here are the functions.

Tosc1 ---- average((1 / freq(VT("/OSC_SENS_OUT") "rising" ?xName "cycle" ?mode "auto" ?threshold 0.0))) --- this gives me the values for each parameter.

when I try to use deriv, it does not work, saying evaluation error

or

when I try to make a slope from two points using this:

((ymax((1 / value(freq(VT("/OSC_SENS_OUT") "rising" ?xName "time" ?mode "user" ?threshold 0.0) VAR("StopTime"))) ?overall t) - ymin((1 / value(freq(VT("/OSC_SENS_OUT") "rising" ?xName "time" ?mode "user" ?threshold 0.0) VAR("StopTime"))) ?overall t)) / (xmax((1 / value(freq(VT("/OSC_SENS_OUT") "rising" ?xName "time" ?mode "user" ?threshold 0.0) VAR("StopTime")))) - xmin((1 / value(freq(VT("/OSC_SENS_OUT") "rising" ?xName "time" ?mode "user" ?threshold 0.0) VAR("StopTime"))))))

it still does not work.

NOTE: These functions work only in calculator. When I pass it to the maestro, it does not work.

Any help?

  • Sign in to reply
  • Cancel
  • Andrew Beckett
    Andrew Beckett 5 months ago

    You would need to change the EvalType column to sweep, corners, or all. In essence, the default EvalType is "point" which means that the expression only sees a single simulation result. With EvalType set to sweep, corners, all (or now "any") you can have a function that operates across a set of data. 

    Some info here: Measuring Across Corners, Sweeps and All (Video) and Performing Measurements Across Sweeps and Measurements Across All in the ADE Assembler (Video)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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