• 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. How to get test variable checkbox status in Assembler

Stats

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

How to get test variable checkbox status in Assembler

alexstepanov75
alexstepanov75 over 4 years ago

Hi,

How can I get the status of the test variable checkbox in Assembler?

I tried following:

;Option 1:
sess=axlGetWindowSession()
sdb=axlGetMainSetupDB(sess)
testId=axlGetTest(sdb "new_test")
var=axlGetVar(testId "vdda")
printf("vdda %L\n" axlGetEnabled(var))
var=axlGetVar(testId "vssa")
printf("vssa %L\n" axlGetEnabled(var))

THis gives t result for both vdda and vssa

;Option 2:
sess=axlGetWindowSession()
sdb=axlGetMainSetupDB(sess)
testId=axlGetTest(sdb "new_test")
axlGetAllVarsDisabled(testId)

The list of disabled variables are nil

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

    Because of some historical architecture reasons, that flag is actually stored as a related attribute of the global variable (you'll find that if a variable is a design variable only, you can't toggle the checkbox). So the function you need is:

    axlGetEnabledGlobalVarPerTest(sdb "vssa" "new_test")

    Logically (because of the UI) you might imagine the first approach would work, but in the underlying database there is no enabled/disabled flag at the test variable level, so it always returns t. The second approach doesn't work because the axlGetAllVarsDisabled function (as the documentation explains) only tells you whether all Global variables are enabled/disabled (i.e. the checkbox to the left of "Global Variables" in your picture).

    Anyway, hopefully the above gives you a solution.

    Regards,

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • alexstepanov75
    alexstepanov75 over 4 years ago in reply to Andrew Beckett

    Thank you for the fast replay!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • alexstepanov75
    alexstepanov75 over 4 years ago in reply to Andrew Beckett

    Thank you for the fast replay!

    • 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