• 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. Find the metal polygons having a pin

Stats

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

Find the metal polygons having a pin

shazzy
shazzy over 11 years ago

I have some metal polygons in an instance and that is called in some other other celllview on which the pins are placed.

 

I want to find only those the metal polygons which have pin label over them. 

 

I have written a code wherein the polygon is broken into rects and then pins are searched in  the rects so created, but that process involves a lot of loops thus being tedious and memory hungry. Also, checking net or pin properties of the metal ain't working.

 

Could you please share any new code ideas wherein the desired metal polygons can be found

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    The usual way of doing this kind of thing would be to find all the labels, and then use dbGetOverlaps with a zero-sized box using the ~>xy attribute of the label to find the shapes underneath. Not sure why you need to break the polygon up into rectangles.

    Hard to give advice without seeing precisely what you're trying to do and what you're doing right now.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • shazzy
    shazzy over 11 years ago

    Hi Andrew

     

    The above problem is a part of the big page code which I'm writing. 

     

    In that we have to find the metals intersecting the prBoundary ( that's simple and done )

    For those metals we have to check whether they have a pin or not 

     

    I got your idea to find the pins and then select the figures beneath it but shall we think the other way round that if we have the metals then how to check the whether the pin is on it or not

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

     Are these really pins or are there just labels? If there are pins you can look for shapes which are pins easily enough.

    The reason I suggested starting from the labels is that my assumption is that you have far fewer labels than shapes - so it's a matter of data minimization.

    This is the kind of question it is hard to answer in a general way with no visibility of what your data looks like, what your code does so far, and what the end goal is - so maybe customer support would be a better avenue for assistance.

    Regards,

    Andrew.

    • 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