• 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. When does le1ViaForm get created?

Stats

  • Locked Locked
  • Replies 4
  • 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

When does le1ViaForm get created?

caver456
caver456 over 7 years ago

I have some bindkey code that cycles through the a specified list of via types (potentially all the via types in the technology) while the Add Via enterfunction is active.  The code sets le0ViaForm->viaSingleModeScrollView->viaDefName->value.

I noticed that it stopped having any effect, but I could still change the via type the original way by bringing up the via form using F3 during the add-via command, then setting the via type value in the GUI using the cyclic field.  However, looking at the CIW when I did this, I noticed it was setting le1ViaForm->...... .  I changed the code temporarily to affect le1ViaForm instead of le0ViaForm and it works as expected.

I couldn't find any reference to le1ViaForm in Cadence help or in the forums.  What creates it and when?  What's the right way to modify the bindkey code to deal with the new form?  Just check for le1ViaForm, or could there also be le<n>ViaForm?  Should I set all of them from 0 on up, or just the one with the highest number?

Thanks

  • Cancel
  • caver456
    caver456 over 7 years ago

    PS this is Virtuoso XL  in IC6.1.7-64b.500.18

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • caver456
    caver456 over 7 years ago in reply to caver456

    oops, sorry this is Virtuoso L, not XL.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago in reply to caver456

    The form is technology file specific, so you can get more than one via form depending on if you have more than one tech lib (so it could happen if you have incremental technology databases too). There's an API to get all the layout forms, and you can retrieve the current via form with:

    theForm=leGetTechFormList(techGetTechFile(geGetEditCellView()))->viaForm

    If you need the symbol for the form, it's then: theForm->hiFormSym

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • caver456
    caver456 over 7 years ago in reply to Andrew Beckett

    Interesting.  Thanks for the quick and complete info.

    • 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