• 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 get via Constraint

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 143
  • Views 15281
  • 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 get via Constraint

psill000
psill000 over 7 years ago

How do I get the va constraints for vias for the function "lxComputeViaParams"?

Paul

  • Cancel
  • psill000
    psill000 over 7 years ago

    conGrp = cstFindConstraintGroupIn(techId "virtuosoDefaultSetup")
    viaGetViaOptions(conGrp)~>??

    Is this the correct method?

    Are there more via constraints using a different constraint than "virtuosoDefaultSetup"?

    Where do I find the other constraints?

    Paul

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

    Paul,

    A few things:

    • virtuosoDefaultSetup is not a constraint - it's a constraint group (in other words it's a container for multiple constraints).
    • The currently active constraint group for vias can be seen in Options->Editor in the layout editor - and can be retrieved with cstGetDefaultConstraintGroupName(cvId "Via")
    • The viaGetViaOptions function is for use with the other via functions (e.g. viaGenerateViasAtPoint, viaRecomputeVias etc) - not for lxComputeViaParams (an older function rather than the more general and powerful via functions which are a more recent addition).
    • Unfortunately there doesn't seem to be a public API to get all the constraint group names, but at least those from the technology file can be found using techId~>constraintGroups~>name

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Yanhong
    Yanhong over 6 years ago in reply to Andrew Beckett

    Hi Andrew,

    I have some related question about viaGenerateVias* functions. It seems that it can only handle top level. How do I use them to fill via in the lower level of a cell.

    Thanks,

    Yanhong

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to Yanhong

    Hi Yanhong,

    Your question is not that clear - viaGenerateViasAtPoint (as an example) can only generate vias in the cellView you give it, although it can identify the overlapping regions in lower levels of hierarchy by using the ?startLevel and ?stopLevel arguments. I'm not sure how you'd expect it to generate the vias in a lower level cell based on higher level geometries because presumably you could have other occurrences of that cell for which the vias wouldn't make sense. 

    So maybe I've misunderstood what you're asking?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Yanhong
    Yanhong over 6 years ago in reply to Andrew Beckett

    Andrew, 

    I mean fill via in the overlapping regions in lower levels of hierarchy. I tried to use  ?startLevel and ?stopLevel argument as you suggested, and it worked. 

    Thanks a lot,

    Yanhong

    • 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