• 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. Parametric Analysis

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 13540
  • 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

Parametric Analysis

TMishra
TMishra over 10 years ago

Hi,

I am new to the SKILL Language and Cadence in general. I tried running a parametric analysis on a circuit using the script below :

ocnWaveformTool( 'awd )
simulator( 'spectre )
//design(     )
//resultsDir(  )
modelFile(
//some other model files
    '("../NMOS_Operating_Pt_Data/saveop.scs" "")
)
analysis('dc ?saveOppoint t  )
desVar(      "Vgs" 2.5    )
desVar(      "Vds" 02.5    )
desVar(      "L" 0.6    )
desVar(      "Vsb" 2.5    )
envOption(
    'firstRun  t
)
temp( 27 )
paramAnalysis("L" ?values '(0.6 0.62 0.64 0.66 0.68 0.70 0.72 0.74 0.76 0.78 0.80 0.82 0.84 0.86 0.88 0.90 0.92 0.94 0.96 0.98 1 )
  paramAnalysis("Vgs" ?values '(0 0.25 0.5 0.75 1 1.25 1.5 1.75 2 2.25 2.5 2.75 3 3.25 3.5 3.75 4 4.25 4.5 4.75 5 )
    paramAnalysis("Vds" ?values '(0 0.25 0.5 0.75 1 1.25 1.5 1.75 2 2.25 2.5 2.75 3 3.25 3.5 3.75 4 4.25 4.5 4.75 5 )
    paramAnalysis("Vsb" ?values '(0 -0.5 -1 -1.5 -2 -2.5 -3 -3.5 -4 -4.5 -5 )
))))
paramRun()
ocnPrint(?output "ron_ncond.csv"
?numberNotation 'scientific
getData("MN0:gmoverid" .....)

// something like this for more parameters
)

I am using Cadence 2005

There are multiple issues :

a. Can I just save the parameters that I need instead of saving the entire operating point ?

b. What I want from the simulator is a 4-D matrix which I can then manipulate in MATLAB, which I don't get from my current setup. Can somebody please guide me ?

I can reduce the number of parameters but that doesn't solve the other issues.

Thank you,

Tejas

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    One thing you could do (which might be more efficient) is to generate the entire matrix, but then use the spectre toolbox for Matlab (included in the MMSIM stream) to read the results directly into Matlab. I'd recommend using a recent MMSIM version (e.g. MMSIM14.1) together with a recent version of Matlab (at least R2012a onwards). Run `cds_root`/tools/bin/cdnshelp and search for "Matlab" to find out more.

    Regards,

    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