• 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. Monte Carlo simulation in Ocean XL for a text-only netl...

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 127
  • Views 15476
  • 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

Monte Carlo simulation in Ocean XL for a text-only netlist

Soner
Soner over 15 years ago

Hi,

I have a netlist and I want to run Monte Carlo simulation. It looks like I need to use ADE XL / OCEAN XL to be able to run Monte Carlo simulation. I generated a script from ADE XL to use as a template and then changed the design command to point to the netlist as follows: design( "netlist" )

;====================== Set to XL mode =========================================
ocnSetXLMode()
;ocnxlTargetCellView( "SY_NOISE" "tb_VCO" "adexl" )
;ocnxlProjectDir( "/tmp/syaldiz" )
;ocnxlResultsLocation( "" )
;ocnxlSimResultsLocation( "" )
ocnxlTargetCellView( "SY_NOISE" "tb_dum" "adexl" )
ocnxlProjectDir(     "/afs/ece.cmu.edu/usr/syaldiz/ic_tools/ibm12s" )
ocnxlResultsLocation(     "/tmp/syaldiz/zz" )
ocnxlSimResultsLocation(    "/tmp/syaldiz/zz" )
;====================== Tests setup ============================================

;---------- Test "vco_noise" -------------
ocnxlBeginTest("vco_noise")
simulator( 'spectre )
;design( "SY_NOISE" "tb_VCO" "schematic")
design( "/afs/ece.cmu.edu/usr/syaldiz/ic_tools/ibm12s/netlist" )
...

When I load the script into Ocean, I get the following error:

ocean> load("oceanScript.ocn")
*WARNING* (icLic-3) Could not get license Analog_Design_Environment_L
(deLicense-3) Could not get a license for ADE L. Trying a higher-tiered license
(deLicense-6) Checked out the license for ADE XL to run ADE L
*Error* strcat: argument #3 should be either a string or a symbol (type template = "S") - nil
*Error* load: error while loading file - "oceanScript.ocn"

 Could you please help me with this error?

Thanks in advance,

Soner

  • Cancel
Parents
  • jorankin
    jorankin over 15 years ago

    Soner,

          I would recommend either 1.)running OCEAN using the bsub command or 2.) opening OCEAN interactively in the same directory you run cadence from (i.e., where your environment variables, etc., are set, or where your .cdsenv, .cdsinit, etc.. files are). This would look like:

     

    1. bsub -q [queue where you want the sim to run] "ocean <[path to ocean script from present dir/oceanscriptname.ocn]> [path to ocean script frompresent dir/oceanoutputlogfilename.log] "

    for example, this may look like:

    bsub -q medium "ocean <ocean/amp.ocn> ocean/ampoutput.log"

    since I have my scripts in a folder called ocean and I am running it from the folder I would normally run cadence in. You don't have to send it to a queue if you don't want to or know what this means. If you just want to submit it locally, you can omit -q [queue name] above.

     

    2. Open ocean in the same directory as you would cadence by typing ocean at the command line. Then when ocean loads, type:

     

    load("[path to ocean script from present directory/oceansctiptname.ocn")

    and the sim should go, You may have been having trouble because your .cdsenv files and things like that couldn't be found. For example, since my scripts are located at /home/john/cadence/ocean and my cadence directory is cadence, I can simply type

    load("ocean/amp.ocn")

    since cadence is running from the /home/john/cadence folder.

     

    If you are still having trouble, start from the ground up by trying to run a test script in your cadence CIW. I've found that this helps. At least try having ocean put its output into a log file.

     

    Best,

    John

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • jorankin
    jorankin over 15 years ago

    Soner,

          I would recommend either 1.)running OCEAN using the bsub command or 2.) opening OCEAN interactively in the same directory you run cadence from (i.e., where your environment variables, etc., are set, or where your .cdsenv, .cdsinit, etc.. files are). This would look like:

     

    1. bsub -q [queue where you want the sim to run] "ocean <[path to ocean script from present dir/oceanscriptname.ocn]> [path to ocean script frompresent dir/oceanoutputlogfilename.log] "

    for example, this may look like:

    bsub -q medium "ocean <ocean/amp.ocn> ocean/ampoutput.log"

    since I have my scripts in a folder called ocean and I am running it from the folder I would normally run cadence in. You don't have to send it to a queue if you don't want to or know what this means. If you just want to submit it locally, you can omit -q [queue name] above.

     

    2. Open ocean in the same directory as you would cadence by typing ocean at the command line. Then when ocean loads, type:

     

    load("[path to ocean script from present directory/oceansctiptname.ocn")

    and the sim should go, You may have been having trouble because your .cdsenv files and things like that couldn't be found. For example, since my scripts are located at /home/john/cadence/ocean and my cadence directory is cadence, I can simply type

    load("ocean/amp.ocn")

    since cadence is running from the /home/john/cadence folder.

     

    If you are still having trouble, start from the ground up by trying to run a test script in your cadence CIW. I've found that this helps. At least try having ocean put its output into a log file.

     

    Best,

    John

    • 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