• 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. Fast access to hierarchy shapes

Stats

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

Fast access to hierarchy shapes

Slawa
Slawa over 14 years ago

Hello


How quickly to get access to shapes being deeply in hierarchy of design (or design areas). Now I use such algorithm:

inst_area=dbProduceOverlapInst(dbDes list(list(box_x1 box_y1) list(box_x2 box_y2)))
foreach(inst inst_area
dbFlattenInst(inst 10))
all_shapes=dbGetOverlaps(dbDes list(list(box_x1 box_y1) list(box_x2 box_y2)))

  But probably there should be faster mode. Flattening of each instance separately in the big project causes huge losses of time

Regards,

Slawa

  • Cancel
  • Austin CAD Guy
    Austin CAD Guy over 14 years ago

     Hi Slawa

    dbGet...Overlap... functions all have an argument that you can specifiy the hierarchy levels to search. Rather than flatten the instances try:

    allShapes = dbGetTrueOverlaps( dbDes list(list(box_x1 box_y1) list(box_x2 box_y2))) t 0:32 t )

    This finds all the instances, mosaics and shapes that intersect the bounding box in the levels from 0 to 32. The final t returns the array row and column information so you can transform the data.

    Note that the hierarchical data is returned as a list for each hierarchical element. The final ID in that list is the shape. The points of that shape are in local coordinates for its cellView that you have to transform to get the points in your current cellView. To do this, use dbTransformPoint in a loop. In IC615 you can use the new command dbGetHierPathTransform to get the final transform, otherwise you have to build up the transform with dbConcatTransform at each level of the hierarchy.

    Ted

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • deep242003
    deep242003 over 13 years ago

    Hi Ted,

    Is there a way to get only id of instances and mosiacs (no layers) hierarchial which can be processed further?

    P:S :  similar to summary but hierarchial data (0:32)

     

    Thanks

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • deep242003
    deep242003 over 13 years ago

    used function

    dbProduceOverLapInst(). but it doesnt gives hierarchial data .. only current level

    :(

     

    • 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