• 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. ocean script - corner list

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 126
  • Views 5380
  • 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

ocean script - corner list

jugemu1234
jugemu1234 over 15 years ago

Hi there,

 When I plan to run several specific corner simulations as in following,

 

myCorner0='(tt,-40,1.5)

myCorner1= '(tt,125,1.4)

myCorner2= '(ff,-40,1.6)

 

I noticed "foreach" structure is sort of redundant way because obviously not necessary corners will be included much.

foreach(myMOS '("tt" "ff")

foreach(myTemp '("-40" "125")

foreach(myVdd '("1.4" "1.5" "1.6")

;;;code here

)))

 

So could you anybody suggest me how to construct efficient ocean script code? 

 

Thanks in advance.

  • Cancel
Parents
  • surreyian
    surreyian over 13 years ago

     the link doesnt seems to work. 

    I copied the content from the link.

     

    How to run parametric analysis over corners using Ocean in IC5141?


    soldiv { word-wrap: break-word; overflow: hidden; }soldiv p { margin-left: 0px; }.solDiv blockquote { margin-left: 25px; }soldefault { font-size: 12pt; }.solDefault font { font-size: 12pt; }
    Error Message

    Nil

    Problem

    You would like to run a parametric analysis over a corners. Say you have model corners "typtyp", "fastfast" and "slowslow". You would like to run a parametric analysis on all these corners. How to do run this using Ocean script?

    Solution

    You can use the following Ocean script to run a parametric analysis over a set of corners.

     

    ;;; Start of Script

    ocnWaveformTool( 'wavescan )

    simulator( 'spectre )

    design("/home/user/simulation/ampTest/spectre/schematic/netlist/netlist")

    desVar( "vsup"  3.3 )

    myCors = list("typtyp" "fastfast" "slowslow")  ;;; Available corners

     

    foreach(myModelSec myCors

     

    myResultsDir = strcat("/home/user/simulation/ampTest/spectre/schematic/" myModelSec)

    resultsDir(myResultsDir)

    modelFile(

    '("/home/user/dummy.scs" "")

    list("/home/user/mySingle.scs" myModelSec)

      )

     

    analysis('tran ?stop "1u")

    temp( 27 )

    paramAnalysis("temp" ?values '(20 25 30)

    )

    paramRun()

    );;; End of Script

     

     

    The above script runs parametric analysis sweeping the variable "temp" for all the corners specified (typtyp, fastfast and slowslow). A total of 9 simulations will be run for the above example. The simulation output directory (psf) will be created with a unique name for all 9 runs reflecting the corner and sweep value. For this case, an example would be,

     

    /home/user/simulation/ampTest/spectre/schematic/fastfast/temp=25

    Related Solutions
       None
    Return to the top of the page

    Document attributes
    Solution ID:11390018
    Created:11/06/2007 03:58:17
    Last Modified:08/07/2011 20:14:59
    Product:Analog IC
    Product Version:5.1.41
    HW Platform:All
    O/S Version:N/A
    SW Release:

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • surreyian
    surreyian over 13 years ago

     the link doesnt seems to work. 

    I copied the content from the link.

     

    How to run parametric analysis over corners using Ocean in IC5141?


    soldiv { word-wrap: break-word; overflow: hidden; }soldiv p { margin-left: 0px; }.solDiv blockquote { margin-left: 25px; }soldefault { font-size: 12pt; }.solDefault font { font-size: 12pt; }
    Error Message

    Nil

    Problem

    You would like to run a parametric analysis over a corners. Say you have model corners "typtyp", "fastfast" and "slowslow". You would like to run a parametric analysis on all these corners. How to do run this using Ocean script?

    Solution

    You can use the following Ocean script to run a parametric analysis over a set of corners.

     

    ;;; Start of Script

    ocnWaveformTool( 'wavescan )

    simulator( 'spectre )

    design("/home/user/simulation/ampTest/spectre/schematic/netlist/netlist")

    desVar( "vsup"  3.3 )

    myCors = list("typtyp" "fastfast" "slowslow")  ;;; Available corners

     

    foreach(myModelSec myCors

     

    myResultsDir = strcat("/home/user/simulation/ampTest/spectre/schematic/" myModelSec)

    resultsDir(myResultsDir)

    modelFile(

    '("/home/user/dummy.scs" "")

    list("/home/user/mySingle.scs" myModelSec)

      )

     

    analysis('tran ?stop "1u")

    temp( 27 )

    paramAnalysis("temp" ?values '(20 25 30)

    )

    paramRun()

    );;; End of Script

     

     

    The above script runs parametric analysis sweeping the variable "temp" for all the corners specified (typtyp, fastfast and slowslow). A total of 9 simulations will be run for the above example. The simulation output directory (psf) will be created with a unique name for all 9 runs reflecting the corner and sweep value. For this case, an example would be,

     

    /home/user/simulation/ampTest/spectre/schematic/fastfast/temp=25

    Related Solutions
       None
    Return to the top of the page

    Document attributes
    Solution ID:11390018
    Created:11/06/2007 03:58:17
    Last Modified:08/07/2011 20:14:59
    Product:Analog IC
    Product Version:5.1.41
    HW Platform:All
    O/S Version:N/A
    SW Release:

     

    • 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