• 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. get pcells within a polygonal area, hierarchically

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 13482
  • 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

get pcells within a polygonal area, hierarchically

caver456
caver456 over 7 years ago

We have a polygon (not rectangle) at the top level, and pcells within that polygon's area, at various levels of hierarchy.  We would like to read properties from all of those pcells.

A version of geSelectArea that would allow a start and stop level, instead of only selecting in the top level, would accomplish the goal.  dbGetOverlaps descends the hierarchy, and would work great if you could specify a non-rectangular search area.

Any ideas?

Thanks

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

    geSelectArea can't support hierarchy, because you can't select hierarchical instances - so that wouldn't work.

    Probably what I would do is use dbGetOverlaps using the bBox of the polygonal area, and then transform the bBox of the instances found to the top level coordinate system, and then check whether they are in the polygonal area using the code in https://community.cadence.com/cadence_technology_forums/f/48/p/23921/1316116#1316116

    The benefit of the dbGetOverlaps is that it will do the gross filtering and return the hierarchical references, and then you can save the SKILL point checking to just the remaining instances.

    Andrew.

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

    geSelectArea can't support hierarchy, because you can't select hierarchical instances - so that wouldn't work.

    Probably what I would do is use dbGetOverlaps using the bBox of the polygonal area, and then transform the bBox of the instances found to the top level coordinate system, and then check whether they are in the polygonal area using the code in https://community.cadence.com/cadence_technology_forums/f/48/p/23921/1316116#1316116

    The benefit of the dbGetOverlaps is that it will do the gross filtering and return the hierarchical references, and then you can save the SKILL point checking to just the remaining instances.

    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