• 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 SKILL
  3. Design variables in ADE - SKILL functions

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 2600
  • 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

Design variables in ADE - SKILL functions

jdimov
jdimov over 9 years ago

Hi,

I haven't tried using SKILL in ADE before, and now I have a need to change the values of over 250 different design variables, but got lost in the functions list for ADE.
And I am almost certain that as you can get a list of objects in your layout design and then proceed with your stuff using SKILL, you can get a list of design variables in ADE L/XL but I''m in a need for a head start here...

Can someone please give me a list of starter points for using SKILL in ADE in general? What handlers to look for, what's the general flow of thought here (first find the window ID, then the sesion ID, then what?)

Thanks in advance!

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    If you have ADE XL open, it would be along these lines:

    axlSess=axlGetWindowSession()
    sdb=axlGetMainSetupDB(axlSess)
    cadr(axlGetVars(sdb))  ; this will give you a list of the variable names
    axlGetVarValue(axlGetVar(sdb "gain")) ; this will get you the value of the variable "gain"
    axlPutVar(sdb "gain" "20") ; this will set variable gain to 20.

    Note this is for changing global variables in ADE XL. Not sure what your precise requirements are.

    With the new IC617 Explorer and Assembler tools, there's a simpler interface using a set of functions beginning with "mae" - maeGetVar() to get the value and maeSetVar to set the value; these can be used for global variables, test variables, and corner variables with the same function just with different arguments. 

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • jdimov
    jdimov over 9 years ago
    This helped out a lot!
    I see now that the variables I were referring to are global variables so this works perfectly.
    I've got a simulation in ADE that has loads of variables and most of them need to be set to 0 or 1 for the run and it seems I'm not allowed to add or delete anything in the session so writing a procedure that would make a list of the specific ~250 global variables and then running through that list and changing them seemed like a good start.

    Thanks again Andrew!
    • 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