• 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 instance name info from its bounding box

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 144
  • Views 14201
  • 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 instance name info from its bounding box

ramya
ramya over 16 years ago

Hi,

I have bounding box details of an instance . can i get instance information from its bounding box?

  • Cancel
  • Anton
    Anton over 16 years ago

    If this bBox is of the instance at the current level of hierarchy, you can search the instances for a matching bBox.  Something like:

    setof(inst hiGetCurrentWindow()~>cellView~>instances inst~>bBox==myBoundingBox) 

    If the target bBox is defined at the current level of hierarchy for an instance at a lower level, you can use dbProduceOverlapInst if this is the only instance which occupies the area defined in the bBox, and has the same size bBox, at a certain level of the hierarchy.  I would down size the bBox first so that instances who's bBoxs abut the target one's bBox are not reported.   Or better yet, upsize the center point of the target bBox by one grid.  If multiple instances are found, compare the size of the bBoxs of the found instances to your initial target bBox, or transform the points of the found instances' bBoxes back to the top level to match the target bBox coordinates (this is trickier and only necessary if there could be multiple instances found with the same size bBox, but different origins).  

    If there are multiple instances reported for either of the above 2 methods, you'll need to know something unique about the instance to qualify its selection.  For example part of the instance or cell name, terminal names etc.

    Hope this helps.    

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Austin CAD Guy
    Austin CAD Guy over 16 years ago

     You can define the search area as a single point by giving it as the lower left and upper right of the bounding box. This is true of all the db...Overlaps commands:

     

    list( 11.3:2.3 11.3:2.3)

     

    Ted

    • 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