• 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. envRegSetTrigger() & environment customization

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 870
  • 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

envRegSetTrigger() & environment customization

eager
eager over 14 years ago

Hi,

        I want to change the ModeFiles when there are many modelfile lists, I use asiSetEnvOptVal function to set the default value, later I want change it,but when i use asiSetEnvOptVal Function again, the ModelFiles don't change,then I find the other function:envRegSetTrigger(),but the second argument must be a func,and the format like this:setTrigger(g_name old_value new_value),I cann't find further more help in the manul,anyone can help me?and if I use this function whether I can change the ModelFiles?

Regarts

eager

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

    You didn't answer my question about what you're passing to the function.

    My guess (again, this would be much easier had you answered my question, as it would avoid me having to guess) is that you're doing:

    asiSetEnvOptionVal(asiGetTool('spectre) 'modelFiles list(list("modelFile.scs" "NN")))

    or similar. If you pass the "tool" object as the first argument it will only affect the next time a new session is created. If you want to affect an existing session, you should pass the session object:

    asiSetEnvOptionVal(asiGetCurrentSession() 'modelFiles list(list("new.scs" "NN")))

    for example.

    Andrew.

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

    You didn't answer my question about what you're passing to the function.

    My guess (again, this would be much easier had you answered my question, as it would avoid me having to guess) is that you're doing:

    asiSetEnvOptionVal(asiGetTool('spectre) 'modelFiles list(list("modelFile.scs" "NN")))

    or similar. If you pass the "tool" object as the first argument it will only affect the next time a new session is created. If you want to affect an existing session, you should pass the session object:

    asiSetEnvOptionVal(asiGetCurrentSession() 'modelFiles list(list("new.scs" "NN")))

    for example.

    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