• 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. asiAddSimOption question

Stats

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

asiAddSimOption question

polo
polo over 15 years ago
Hey, Does any one have experience with using the asiAddSimOption method. More precisely, I would like to use the ?editable field. My understanding is that each time the user click in the simulator option, the expression is evaluated. It the evaluated expression is true, then the sim option is enable. If the evaluated expression is false, then the sim option is disable. The Cadence doc write: ?editable s_editable I have no idea how to write in SKILL the s_editable. Any help will be appreciated.
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 15 years ago

    Apologies for the delay - overlooked this and got rather busy with other things.

    Anyway, I just tried this in IC5141 (I happened to be using the latest ISR, but I don't think that should matter). I did this:

    tool=asiGetTool('spectre)
    asiAddSimOption(tool ?name 'MYOPTS ?type 'string ?sendMethod 'string ?value "" ?editable '(hiGetCurrentForm()->dochecklimit->value==list(t nil)))

    and in the <instdir>/tools/dfII/etc/tools/spectre/.cdsenv file I added:

    spectre.opts    MYOPTS  string  ""      nil

    For spectre, dochecklimit is a toggle field, which can be set to "yes" or "no". If I set it to "yes", then the MYOPTS field becomes editable, and if I set it to anything else, it gets greyed out (and it's greyed out by default).

    So it appears to work.

    If it doesn't work for you, I'd suggest you'd first check in the latest hotfix, and if it still doesn't work, contact Cadence Customer Support with the details of how to reproduce the problem.

    Regards,

    Andrew.

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

    Apologies for the delay - overlooked this and got rather busy with other things.

    Anyway, I just tried this in IC5141 (I happened to be using the latest ISR, but I don't think that should matter). I did this:

    tool=asiGetTool('spectre)
    asiAddSimOption(tool ?name 'MYOPTS ?type 'string ?sendMethod 'string ?value "" ?editable '(hiGetCurrentForm()->dochecklimit->value==list(t nil)))

    and in the <instdir>/tools/dfII/etc/tools/spectre/.cdsenv file I added:

    spectre.opts    MYOPTS  string  ""      nil

    For spectre, dochecklimit is a toggle field, which can be set to "yes" or "no". If I set it to "yes", then the MYOPTS field becomes editable, and if I set it to anything else, it gets greyed out (and it's greyed out by default).

    So it appears to work.

    If it doesn't work for you, I'd suggest you'd first check in the latest hotfix, and if it still doesn't work, contact Cadence Customer Support with the details of how to reproduce the problem.

    Regards,

    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