• 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. Howto integrate OCEAN measurement into ADE XL Monte Carlo...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 12838
  • 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

Howto integrate OCEAN measurement into ADE XL Monte Carlo analysis

marten
marten over 10 years ago

Hi there,

how can a simple OCEAN script be used to calculate results in ADE XL? I tried to use the following ocean script to calculate Noise Margins of every MC iteration:

selectResults('dc)
axlAddOutputs(list("NM_h" "NM_l"))
;Calculate derivative of transferfunction, determine v_in so that derivative crosses -1
V_il=cross(deriv(VDC("/out") -1 1 'falling ))
V_ih=cross(deriv(VDC("/out") -1 1 'rising ))
;Get the output voltage with respect to the calculated V_il, V_ih
V_oh=value(VDC("/out"), V_il)
V_ol=value(VDC("/out"), V_ih)
;Calculate noise margins
NM_h=V_il-V_ol
NM_l=V_oh-V_ih
;Return noise margins
axlOutputResult(NM_h "NM_h")
axlOutputResult(NM_l "NM_l")

Unfortunatly, in the results tab instead of the calculated values of NM_h and NM_l "error" is stated in the column. But debugging (ADE L) shows, that the outputs have been calculated correctly.
So question is wow can ADE XL be convinced to print out the outputs?

Maybe someone can give me a kick in the right direction.

Cheers,

Marten

  • Cancel
  • marten
    marten over 10 years ago

    This is maybe a bit embarassing, but here is the solution: the checkbox for "plot" has to be enabled for the script. Even if the output of the script is scalar :-/

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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