• 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. SKILL code to detect if two paths are touching or overl...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 15357
  • 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

SKILL code to detect if two paths are touching or overlap

Miguel V
Miguel V over 9 years ago

Hello,

I'm new to SKILL programming and have been reading a few of the tutorials, but I can't  seem to find what I'm looking for.  I'm trying to write a script that will determine if a path is touching or overlapping another path either on the same layer or another layer.  Sorry if this has already been answered but I have searched quite a bit and found nothing.

Thanks,

MV

  • Cancel
  • skillUser
    skillUser over 9 years ago

    Hi Miguel,

    Take a look at the dbGetOverlaps() function - you can limit it to look only within the current level of hierarchy (level 0) or below, and you can limit it to look for a particular layer-purpose pair or 'all'. You tell it the bounding box within which to search, which can be a point repeated (or, I presume, a line which is essentially a box with no height). Given this information the function will search within the box and return the instances and shapes that it finds.  You will need to look at examples and the documentation in order to fully understand how to interpret and use the information returned.

    I hope this helps!

    Lawrence.

    • 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