Home > Community > Forums > Custom IC SKILL > How does the parametric analysis work?


* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How does the parametric analysis work? 

Last post Thu, Mar 7 2013 5:38 AM by Andrew Beckett. 4 replies.
Started by imagesensor123 20 Jun 2012 09:10 AM. Topic has 4 replies and 1485 views
Page 1 of 1 (5 items)
Sort Posts:
  • Wed, Jun 20 2012 9:10 AM

    How does the parametric analysis work? Reply


           we all know that the parametric analysis is quite a useful tool in cadence, we can sweep any parameters in the design. I refer to the 

    cadence user guide and I find that it is a "for loop" simulation. I perform  the same simulation by using the same "for loop" , but I find the parametric analysis is much faster than the common "for loop". I would like to know why the parametric analysis is faster? is there some optimization for the parametric analysis ?



    Regards, zfeng
    • Post Points: 20
  • Wed, Jun 20 2012 9:20 AM

    Re: How does the parametric analysis work? Reply

    With spectre, assuming that you still have it in "interactive" mode (and haven't switched via the spectre.envOpts controlMode cdsenv to "batch" mode), ADE starts spectre and runs a simulation but does not exit at the end. It's then able to talk to spectre to tell it to change the value of a parameter and re-simulate. There's then no need to restart the simulator, re-checkout the license, re-read the netlist, and so on. So ADE's parametric analysis can do a:

    1. start simulator
    2. read netlist
    3. checkout license
    4. set parameter X to first value
    5. run sim
    6. set parameter X to next value
    7. jump to step 5 all the time there are next values

    The same thing should happen if you do:

    foreach(val '(1k 2k 3k 4k)
      desVar("rload" val)

    however, if you're changing certain other things, that may force the simulator to exit each time. So it depends if you do anything inside your loop which requires spectre to exit to change (e.g. changing the resultsDir, or altering an analysis would probably do it).


    • Post Points: 35
  • Thu, Jun 21 2012 2:38 AM

    Re: How does the parametric analysis work? Reply

    Hello Andrew,

        thanks for explaining clearly´╝üI got the idea. in my case, I use the following skill code:

     for(row 0 100

        for(col 0 100

       desVar(parameter parameterValue[row][col])


       selectResult( 'tran )

       valueMatrix[row][col]=value(v(VOUT) timePoint) 


    I wonder  whether the"selectResult" will force the simulator to exit? I think the default parametric analysis will finish the simulation first, and then sample all the data. in that way, it require a lot of memory to store the simulation data (many curves), so I plan to sample the data in each simulation, but i found it is slower than the conventional way. in additional, how to manage to sample all the output curves after the simulation in my case if  I will use the default parametric analysis, how does the VOUT name change in the psf data? VOUT_1, VOUT_2, right? 

    Regards, zfeng
    • Post Points: 5
  • Thu, Mar 7 2013 4:02 AM

    • T Opperman
    • Not Ranked
    • Joined on Fri, Feb 15 2013
    • Posts 7
    • Points 125
    Re: How does the parametric analysis work? Reply


    I did a quick comparison by doing a parametric ac frequency sweep on an opamp in IC614. The sweep steps a common mode voltage variable 5 times. I then recorded the total simulation time in seconds for different controlModes and ways of executing the task. The for loop runs as follows:

    foreach(Param '(0 0.425 0.85 1.275 1.7 )
    desVar("Vi_cm" Param)

    and the ocean parametric:

    paramAnalysis("Vi_cm" ?values '(0 0.425 0.85 1.275 1.7 ))

    The ade-parametric simulation runs a parametric analysis using the ADE GUI. The table below shows the simulation times in seconds

      interactive batch
    for loop 14 12
    ocean parametric 15 13
    ade-parametric 3 3

    I would like to know if there is a way to speed up the ocean parametric simulation, so that the simulation time could be compared to ade-parametric?

    Regards, Tjaart

    • Post Points: 20
  • Thu, Mar 7 2013 5:38 AM

    Re: How does the parametric analysis work? Reply

    I did a similar example. My simulation was a bit slower, but what I saw was:


    for loop
    OCEAN paramRun
    ADE parametric

    The difference in speed between OCEAN and ADE is primarily all the printing it does to the CIW (or rather the code that has to pass that on). There are various switches to cut down the verbosity of spectre on the screen, but you can't turn it off completely. I think this ought to be possible (it could call spectre with =log instead of +log).

    I'd suggest logging a Case with customer support.



    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by imagesensor123 at 20 Jun 2012 09:10 AM. Topic has 4 replies.