• 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 delete/change test variable in Assembler

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 1784
  • 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 delete/change test variable in Assembler

alexstepanov75
alexstepanov75 over 4 years ago

Hi,

I need to change test design variables in Assembler. (Update some variable values and delete others)

I didn't find way to update value of design variable or to delete specific variable.

The only option I found is to delete all variables like this:

sess=axlGetWindowSession()
sdb=axlGetMainSetupDB(sess)
sevSess=axlGetToolSession( sess testName)
asiSess=sevEnvironment( sevSess)
asiSetDesignVarList( asiSess nil)

And then needed variables can be added using axlPutVar()

Is it a better way to do this?

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

    If this is for Assembler, the best way is to use maeSetVar:

    maeSetVar("Cload" "200f" ?typeName "test" ?typeValue list("TRAN_AC")). ; the typeValue is the list of test names. Might also want to add ?session sess if it's not the current session.

    Unfortunately maeDeleteVar can't currently be used to delete a test/design variable - CCR 2481922 is asking for this (it's a fairly recent request from one of the product engineering team, so it would be a good idea to contact customer support and request a duplicate as that could have a similar use model to maeSetVar). To delete a test variable, you can do that with the axl APIs:

    test=axlGetTest(sdb "TRAN_AC")
    var=axlGetVar(test "data_rate")
    axlRemoveElement(var)

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    If this is for Assembler, the best way is to use maeSetVar:

    maeSetVar("Cload" "200f" ?typeName "test" ?typeValue list("TRAN_AC")). ; the typeValue is the list of test names. Might also want to add ?session sess if it's not the current session.

    Unfortunately maeDeleteVar can't currently be used to delete a test/design variable - CCR 2481922 is asking for this (it's a fairly recent request from one of the product engineering team, so it would be a good idea to contact customer support and request a duplicate as that could have a similar use model to maeSetVar). To delete a test variable, you can do that with the axl APIs:

    test=axlGetTest(sdb "TRAN_AC")
    var=axlGetVar(test "data_rate")
    axlRemoveElement(var)

    Andrew

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

    Thank you!

    • 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