Home > Community > Forums > Custom IC Design > pre-run script with two different analysis/ ADE-XL

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

 pre-run script with two different analysis/ ADE-XL 

Last post Tue, Apr 30 2013 6:31 AM by Andrew Beckett. 1 replies.
Started by Amer Samarah 14 Apr 2013 11:28 PM. Topic has 1 replies and 733 views
Page 1 of 1 (2 items)
Sort Posts:
  • Sun, Apr 14 2013 11:28 PM

    pre-run script with two different analysis/ ADE-XL Reply

    Greetings,

     I have digitaly caliberated analog desgin. I calibrate for bandgap current and for termination resistor using digital engine. Calibration of bandgap needs DC analysis that run around 18 times. On the other hand, calibnration of the termination resistor needs a transient analysis. 

    What I want: I want run the DC analysis for 18 times without running tran anaysis. Then I want run tran analysis for one time only in the pre-run script.

    My problem: After DC calibration and tran calibration, the simulator goes back to DC calibration + tran calibration (so I stop it). I don't have any problem when I run DC calibration only. The following is snapshoft of my code.

    analysis('dc ?saveOppoint t  )

    envOption(   'analysisOrder  list("dc") )

       while( (n < 18  && SimResult > 0.5 )
           . .....
            desVar( "resBG" ParamVal )
                ocnxlRunCalibration()

            ) 

       ocnxlUpdatePointVariable("resBG" sprintf( nil "%L" CalResult)) 

     ;;; do final calibration of termination resistor

    analysis('tran ?stop "7.5u"  ?errpreset "moderate"  )

    envOption(    'analysisOrder  list("tran" ) ) 

    ocnxlRunCalibration()

    selectResult( 'tran )

    resTerm = (VT("/RES<5>")*32)+ (VT("/RES<4>")*16)+ (VT("/RES<3>")*8)

    ocnxlAddOrUpdateOutput("Calibrated_resV"  resTerm  )

     

    • Post Points: 20
  • Tue, Apr 30 2013 6:31 AM

    Re: pre-run script with two different analysis/ ADE-XL Reply

    I can't think of a good reason why this would happen. Maybe doing delete('analysis 'dc) before the analysis('tran) might help, but I doubt it...

    Your best bet would be to contact customer support so that we can have a look at your testcase.

    Kind Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Amer Samarah at 14 Apr 2013 11:28 PM. Topic has 1 replies.