Home > Community > Forums > Custom IC SKILL > How can I retrieve outputs from expressions in an ADE XL run from ocean

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

 How can I retrieve outputs from expressions in an ADE XL run from ocean 

Last post Wed, Feb 23 2011 1:53 PM by sarav. 6 replies.
Started by webbyguy 22 Feb 2011 04:49 PM. Topic has 6 replies and 3039 views
Page 1 of 1 (7 items)
Sort Posts:
  • Tue, Feb 22 2011 4:49 PM

    • webbyguy
    • Not Ranked
    • Joined on Mon, Jan 24 2011
    • Posts 10
    • Points 155
    How can I retrieve outputs from expressions in an ADE XL run from ocean Reply

    Hi All,

    I'm sure this is real simple, but I haven't been able to find it in the documentation.  I probalby just haven't put in the right keywords.  Anyway...

    I have a ADEXL simulation that I have run.  It has 30 monte carlo iterations (no corners).  In one of the states I have an output to find the value of a voltage at a time.  It runs fine.

     I am trying to read the result of that expression across all of the iterations with ocean or skill, and I can't find the right functions to do it.  What is the right function to use? 

    Filed under: , , ,
    • Post Points: 20
  • Wed, Feb 23 2011 1:27 AM

    Re: How can I retrieve outputs from expressions in an ADE XL run from ocean Reply

    You can use the new (in IC615) axlReadResDB() function, which creates an object (with inbuilt help) which provides functions to allow you to access the information in the results database.

    Regards,

    Andrew.

    • Post Points: 35
  • Wed, Feb 23 2011 10:59 AM

    • sarav
    • Not Ranked
    • Joined on Wed, Feb 23 2011
    • Posts 3
    • Points 30
    Re: How can I retrieve outputs from expressions in an ADE XL run from ocean Reply
    Hi Andrew I have the same problem too. I am running Monte Carlo simulation for DC analysis through ADEXL and I am interested in difference between the threshold voltage of two transistors. I formed the expression and to calculate the difference using calculator and when I run the Monte Carlo simulation I am getting the histogram plot but I need to store the value of expression for each iteration into a file for my post processing.

    I am trying to do that using report() command and even using ocnPrint nothing helped out. Hope you could help me in this issue.

    Just for your reference I am posting the ocean script for the analysis


    Regards
    Sarav



    ocnxlTargetCellView( "SARADC_First" "Comparator_2007" "adexl" )
    ocnxlProjectDir( "/grad/ramamoor/simulation" )
    ocnxlResultsLocation( "/grad/ramamoor/cmrf8sf.oa/MC" )
    ocnxlSimResultsLocation( "/grad/ramamoor/cmrf8sf.oa/SARADC_First/Comparator_2007/adexl/results" )

    ;====================== Tests setup ============================================

    ;---------- Test "SARADC_First:Comparator_2007:1" -------------
    ocnxlBeginTest("SARADC_First:Comparator_2007:1")
    simulator( 'spectre )
    design( "SARADC_First" "Comparator_2007" "schematic")
    modelFile(
        '("/cadence/shared/PDK/IBM_PDK/cmrf8sf/relDM/Spectre/models/allModels.scs" "tt")
        '("/cadence/shared/PDK/IBM_PDK/cmrf8sf/V1.7.0.2DM/Spectre/models/design.scs" "")
    )
    analysis('dc ?saveOppoint t  ?sort "name"  ?detail "node" 
            ?threshold "0.0"  ?annotate "status"  ?maxsteps "10000"  ?maxiters "150" 
            ?oppoint "rawfile"  ?write "spectre.dc"  ?rangeType "Start-Stop"  ?incrType "Automatic" 
            ?stepTypeLin "Step Size"  ?stepTypeLog "Points Per Decade"  )
    saveOption( ?saveahdlvars "all" )
    saveOption( 'save "all" )
    temp( 27 )
    ocnxlOutputExpr( "(OP(\"/T11\" \"vth\") - OP(\"/T12\" \"vth\"))" ?name "Vth_diff" ?plot nil ?save t)
    ocnxlEndTest() ; "SARADC_First:Comparator_2007:1"

    ;====================== Sweeps setup ===========================================

    ;====================== Model Group setup ==========================================

    ;====================== Corners setup ==========================================

    ;====================== Job setup ==============================================
    ocnxlJobSetup( '(
        "blockemail" "1"
        "configuretimeout" "300"
        "distributionmethod" "Local"
        "lingertimeout" "300"
        "maxjobs" "1"
        "name" "ADE XL Default"
        "preemptivestart" "1"
        "runtimeout" "-1"
        "showerrorwhenretrying" "1"
        "showoutputlogerror" "0"
        "startmaxjobsimmed" "1"
        "starttimeout" "300"
    ) )

    ;====================== Disabled items =========================================

    ;====================== Run Mode Options ======================================
    ocnxlMonteCarloOptions( ?mcMethod "all" ?mcNumPoints "5" ?samplingMode "random" ?saveAllPlots "1" ?useReference "0" ?donominal "1" ?monteCarloSeed "" ?mcStartingRunNumber "" )

    ;====================== Starting Point Info ======================================

    ;====================== Run command ============================================
    ocnxlRun( ?mode 'monteCarlo ?nominalCornerEnabled t ?allCornersEnabled t ?allSweepsEnabled t)
    ocnxlOutputSummary(?yieldSummary t ?exprSummary nil ?specSummary nil ?detailed nil)

    ;====================== End XL Mode command ===================================
    ocnxlEndXLMode()
    • Post Points: 20
  • Wed, Feb 23 2011 11:04 AM

    Re: How can I retrieve outputs from expressions in an ADE XL run from ocean Reply

    Unfortunately your post has got scrambled (this happens if you use Chrome as the browser - so maybe that is what you're doing).

    Which version are you using? There are some other options (using a solution on Cadence Online Support) if using IC614, but let's make sure that your problem is clear first.

    I'm on vacation tomorrow (and am pretty busy this week anyway), so you may be better off logging a service request.

    Regards,

    Andrew.

    • Post Points: 20
  • Wed, Feb 23 2011 11:12 AM

    • sarav
    • Not Ranked
    • Joined on Wed, Feb 23 2011
    • Posts 3
    • Points 30
    Re: How can I retrieve outputs from expressions in an ADE XL run from ocean Reply

    Thanks, Yes previously I was using chrome as my browser.

    I am using IC614.

     

    Regards

    Sarav

    • Post Points: 5
  • Wed, Feb 23 2011 1:17 PM

    • webbyguy
    • Not Ranked
    • Joined on Mon, Jan 24 2011
    • Posts 10
    • Points 155
    Re: How can I retrieve outputs from expressions in an ADE XL run from ocean Reply

    Thanks, that is just what I needed.  I guess I missed this function before.

     

    John

    • Post Points: 20
  • Wed, Feb 23 2011 1:53 PM

    • sarav
    • Not Ranked
    • Joined on Wed, Feb 23 2011
    • Posts 3
    • Points 30
    Re: How can I retrieve outputs from expressions in an ADE XL run from ocean Reply

    Hi John,

    I do have a same problem. Need to print the value of expression in a file during montecarlo simulation. I posted the ocean script in my previous post.

    I am using IC613 version can you help me to solve this problem. 

     

    Regards

    Sarav

    • Post Points: 5
Page 1 of 1 (7 items)
Sort Posts:
Started by webbyguy at 22 Feb 2011 04:49 PM. Topic has 6 replies.