• 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. pre-run script with two different analysis/ ADE-XL

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 126
  • Views 14219
  • 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

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

Amer Samarah
Amer Samarah over 12 years ago

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  )

 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    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.

    • 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