• 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. interpolating results after a parametric analysis

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 144
  • Views 14028
  • 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

interpolating results after a parametric analysis

Ueue
Ueue over 15 years ago

Dear all,

 I have a problem in finding the point (RL_opt) for which an output variable (dg_calc) is equal to a certain value in a parametric analysis.

I did in the following way, but the operation is performed only in the points in which the function is calculated during the parametric analysis. Is it possible to interpolate the data (as automatically done in the waveform viewer -> when you put the mouse in a point you see the value even if it has not been simulated)?

"

; definition of the constants

float NRL = 2

float RLmin = 1M

float RLmax = 100M

float dH = 0.00531

;--------------------------------------------------------------

;--------------------------------------------------------------

analysis('tran ?stop "0.1" ?errpreset "conservative" ?maxstep "10u" )

desVar( "var_load" 25M )

option( 'reltol "1e-6" )

temp( 27 )

paramAnalysis("var_load" ?start RLmin ?stop RLmax ?log NRL)

paramRun()

dg_calc = (...CALCULATIONS...)

RL_opt = xmin(abs(dH - dg_calc) 1)

"

The RL_opt is not very precise, because is not the minimum of the curve (dH-dg_calc) shown in the waveform viewer, but the minimum among the calculated points (in this case it could be different)! Think about a linear function. On the waveform viewer you can extract the value in which it is equal to zero more precisely because there is an interpolation. Is it possible also using an OCEAN script?

 Thanks a lot,

Stefano

  • Cancel
Parents
  • Ueue
    Ueue over 15 years ago

    Thanks Andrew,

     As usual, you have the answer!

    :-)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Ueue
    Ueue over 15 years ago

    Thanks Andrew,

     As usual, you have the answer!

    :-)

    • 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