• 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. Temperature in ocean script

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 4412
  • 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

Temperature in ocean script

Martinsh
Martinsh over 1 year ago

I've got an ocean script by Session -> Save ocean script as following:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

simulator( 'spectre )
design( )
resultsDir( )
modelFile()
analysis('hb ?HBTranMode "Yes" ?tstab "50n" ?saveinit "yes"
?autoharms "yes" ?autotstab "" ?autosteady "yes" ?oversample list("1")
?fundfreqs list("(Frf)") ?maxharms list("5") ?errpreset "conservative" ?tstabmethod "gear2only" )
desVar( "vdda" 3.4 )
envOption(
'firstRun t
'cmd64bit t
'analysisOrder list("pz" "dcmatch" "stb" "tran" "envlp" "ac" "dc" "lf" "noise" "xf" "sp" "pss" "pac" "pstb" "pnoise" "pxf" "psp" "qpss" "qpac" "qpnoise" "qpxf" "qpsp" "hb" "hbac" "hbstb" "hbnoise" "hbxf" "sens" "acmatch")
)
option( 'pzSeverity "None"
'noiseSeverity "None"
'spSeverity "None"
'acSeverity "None"
'dcOpSeverity "None"
'dcSeverity "None"
'tranSeverity "None"
'temp "90"
)
option( ?categ 'turboOpts
'psrOption "Ultra Precision Analog"
)
saveOption( ?infoOptions list(list("modelParameter" "models" "rawfile" "" "" "" t) list("element" "inst" "rawfile" "" "" "" t) list("outputParameter" "output" "rawfile" "" "" "" t) list("designParamVals" "parameters" "rawfile" "" "" "" t) list("primitives" "primitives" "rawfile" "" "" "" t) list("subckts" "subckts" "rawfile" "" "" "" t) list("asserts" "assert" "rawfile" "" "" "" nil) list("extremeinfo" "all" "logfile" "" "yes" "" nil) list("simStatistics" "simstat" "rawfile" "" "" "" nil) list("allcap" "allcap" "file" "" "" "" nil) list("<Click_To_Add>" "none" "rawfile" "" "" "" nil) ) )
saveOption( 'nestlvl "4" )
save( 'v "/ant" "/rfin" "/vcc" )
save( 'i "/PORT0/PLUS" "/V0/PLUS" "/PORT1/PLUS" "/I51/I21/I9/M0/D" "/I51/I21/drn2" "/I51/I21/I9/M10/D" "/I51/I21/I9/M11/D" "/I51/vcc" "/I51/R20/PLUS" "/I51/R21/PLUS" "/I51/I21/I9/R9/PLUS" "/I51/I21/I9/R3/PLUS" "/I51/I21/I9/M0/DNW_ISO" "/I51/I21/I9/M0/SUB" )
temp( 90 )
run()

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

There are two lines marked in red that have temperature information. One is in the option() command, the other is the temp() command.

Why it set temperature two times? What's difference? If I want change the circuit temperature, should I have to change both of the two lines?

Regards,

Martin

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    Either can be used, and the one that is used last wins. There's a specific temp() function because it is so common to change the temperature and so this makes it easier. When a simulator is integrated there is information given about how the temperature is set, and for spectre it is defined as setting the temp option; in other words if you call the temp() function, you can do ocnDisplay('option 'temp) and see that it's set the same as option('temp ...)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Martinsh
    Martinsh over 1 year ago in reply to Andrew Beckett

    Andrew,

    Got it. Thanks!

    Regards,

    Martin

    • 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