• 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. Speed difference between 'DC ParamAnalysis and DC Sweep

Stats

  • Locked Locked
  • Replies 0
  • Subscribers 143
  • Views 961
  • 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

Speed difference between 'DC ParamAnalysis and DC Sweep

wobbert
wobbert over 6 years ago

Hi folks,

I want to perform multiple parameter sweeps over DC/OP simulations and export the data. Since I'm an intern and only have access to ADE L (due to costs), I made an Ocean script to do so (the code I am using is added below.). I works fine but takes a lot of time to run. However if you perform a DC sweep it goes quite fast. I believe the difference is that in case of a DC sweep, the simulator (Spectre) is innitialized only once and performs all the simulations consequtive while in case of a ParamAnalysis using DC simulations, the simulator is innitialised for every seperate simulation, which causes a lot of overhead. Is it possible to use a ParamAnalysis while not innitializing the simulator for every simulation point (or is it possible to run "nested" DC Sweeps via Ocean)?

Thanks a lot Slight smile


simulator( 'spectre )
design( [..])


analysis('dc ?saveOppoint t)
desVar(   "L_cas" 200n    )
desVar(   "W_cas" 5u       )
desVar(   "F_cas" 1           )
desVar(   "F" 1    )
desVar(   "L" 5u  )
desVar(   "W" 20u            )
envOption(
               'analysisOrder  list("dc")
)
saveOption( 'currents "all" )
temp( 27 )
 
paramAnalysis( 'L_cas  ?start 100n  ?stop 1u  ?lin 10 paramAnalysis( 'W  ?start 1u  ?stop 20u  ?lin 10 paramAnalysis( 'L  ?start 1u  ?stop 5u  ?lin 10 ))))
paramRun()
 
selectResult('dcOp)

declare(outSignals[11])
outSignals[0] = "/V0/PLUS"
outSignals[1] = "/I93/M6/D"
outSignals[2] = "/I94/M6/D"
outSignals[3] = "/I95/M6/D"
outSignals[4] = "/I96/M6/D"
outSignals[5] = "/I97/M6/D"
outSignals[6] = "/I98/M6/D"
outSignals[7] = "/I99/M6/D"
outSignals[8] = "/I100/M6/D"
outSignals[9] = "/I101/M6/D"
outSignals[10] = "/I102/M8/D"
 
for(outSig 0 length(outSignals)-1
               ocnPrint(?output strcat("[..]" sprintf(nil "%02d" outSig) ".dat") ?numberNotation 'scientific getData(outSignals[outSig]))
)
  • 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