Home > Community > Forums > Custom IC Design > Monte Carlo simulation in Ocean XL for a text-only netlist

Email

* 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: *

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

Last post Thu, Jan 12 2012 12:06 PM by Amanpreet. 8 replies.
Started by Soner 27 Apr 2010 08:18 AM. Topic has 8 replies and 4978 views
Page 1 of 1 (9 items)
Sort Posts:
  • Tue, Apr 27 2010 8:18 AM

    • Soner
    • Not Ranked
    • Joined on Mon, Apr 7 2014
    • Posts 0
    • Points 295
    Monte Carlo simulation in Ocean XL for a text-only netlist Reply

    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

    • Post Points: 35
  • Thu, Aug 5 2010 4:36 PM

    • cjorge
    • Not Ranked
    • Joined on Thu, Aug 5 2010
    • Posts 1
    • Points 5
    Re: Monte Carlo simulation in Ocean XL for a text-only netlist Reply

     Hi Soner,

        Did you ever figure this one out? I'm having the same trouble.

     

    ~Jorge

    • Post Points: 5
  • Fri, Aug 6 2010 5:50 AM

    • Soner
    • Not Ranked
    • Joined on Mon, Apr 7 2014
    • Posts 0
    • Points 295
    Re: Monte Carlo simulation in Ocean XL for a text-only netlist Reply
    Hi Jorge,

    I could not figure it out :/

    Soner
    • Post Points: 35
  • Wed, Aug 11 2010 8:00 AM

    • jorankin
    • Top 500 Contributor
    • Joined on Tue, Aug 3 2010
    • Mendota Heights, MN
    • Posts 17
    • Points 265
    Re: Monte Carlo simulation in Ocean XL for a text-only netlist Reply

    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

    • Post Points: 5
  • Fri, Aug 13 2010 6:38 AM

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

    Using netlists with OCEAN XL (or indeed ADE XL) is not supported yet. There's a CCR, 611440, which we're hoping to get fixed for IC616 (too late for IC615). You might want to contact customer support and request this formally, as then a duplicate CCR can be created increasing the weight behind getting this feature supported.

    Best Regards,

    Andrew.

    • Post Points: 20
  • Wed, Jan 11 2012 2:46 PM

    • Amanpreet
    • Not Ranked
    • Joined on Wed, Jun 22 2011
    • Posts 2
    • Points 10
    Re: Monte Carlo simulation in Ocean XL for a text-only netlist Reply

     Hello Andrew,

     

    Did you receive a fix/timeline from cadence on this issue?

     

    Regards,

    Aman

    • Post Points: 5
  • Wed, Jan 11 2012 3:14 PM

    • Soner
    • Not Ranked
    • Joined on Mon, Apr 7 2014
    • Posts 0
    • Points 295
    Re: Monte Carlo simulation in Ocean XL for a text-only netlist Reply
    Hi Aman,

    I did not get any updates on this issue.

    Thanks,
    Soner
    • Post Points: 5
  • Wed, Jan 11 2012 10:54 PM

    Re: Monte Carlo simulation in Ocean XL for a text-only netlist Reply
    All,

    This was implemented and documented in IC615 ISR3 (6.1.5.500.3)

    Regards,

    Andrew
    • Post Points: 20
  • Thu, Jan 12 2012 12:06 PM

    • Amanpreet
    • Not Ranked
    • Joined on Wed, Jun 22 2011
    • Posts 2
    • Points 10
    Re: Monte Carlo simulation in Ocean XL for a text-only netlist Reply

     Hi Andrew,

    Can you share a script or the command to include a netlist in the oceanxl MC run?

    Thanks,

    Aman

    • Post Points: 5
Page 1 of 1 (9 items)
Sort Posts:
Started by Soner at 27 Apr 2010 08:18 AM. Topic has 8 replies.