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,
Did you ever figure this one out? I'm having the same trouble.
In reply to 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
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.
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.
In reply to Andrew Beckett:
Did you receive a fix/timeline from cadence on this issue?
Can you share a script or the command to include a netlist in the oceanxl MC run?