• 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. Wiring Assistant table filler

Stats

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

Wiring Assistant table filler

Tamsay
Tamsay over 5 years ago

Hi,

(Cadence version: IC 6.1.8.500.8)

I am trying to make a small script that would automatically fill in some fields of the Wiring Assistant and then create presets (this part is working), but still could not quite come to a good solution to the following issue.

For example if I want to make the number of cuts on vias 2, and I fill it in directly in the WA form, I get the following action execution in the icfb:

icAssistant1->cstOverrideTab->cstPage1->sbNumberCut->value= 2.

Probably it is not the cleanest way, but if this is just copied to the icfb, the outcome is the same, as expected.

The only issue with this approach is that the windowID of icAssistant is changing each time I start Cadence, and it is pretty random (once I ended up with icAssistant76 for example).

After some research, I came across deFindAssistant("Wire Assistant" hiGetCurrentWindow())->hiHandle, which gets exactly what I would need, but then I get stuck, because I cannot make it descend through the tabs towards the value. I tried to merge icAssistantID with ->cstOverrideTab->cstPage1->sbNumberCut->value "manually" through SKILL, but could not make it work like that either.

So my question is actually, is there a way to somehow combine these two approaches, or is there a completely different, and better way of solving this issue?

  • Cancel
Parents
  • AurelBuche
    AurelBuche over 5 years ago

    You confuse a symbol and the actual form behind it (It is tricky because the CIW displays them the same way)

    deFindAssistant("Wire Assistant" hiGetCurrentWindow())->hiHandle
    actually gives you what you wanted in the first place which is the name of the form (with its proper number)

    You just missed one evaluation step:
    eval( deFindAssistant("Wire Assistant" hiGetCurrentWindow())->hiHandle)->cstOverrideTab->cstPage1->sbNumberCut->value= 2
    Should give you the result you expect

    (This is quite dirty by the way but will do)

    Cheers,

    Aurel

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Tamsay
    Tamsay over 5 years ago in reply to AurelBuche

    I just gave it a try and it does exactly what I was hoping for. Thank You very much!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Tamsay
    Tamsay over 5 years ago in reply to AurelBuche

    I just gave it a try and it does exactly what I was hoping for. Thank You very much!

    • 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