• 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 determine if two points are connected in ...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 14558
  • 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 determine if two points are connected in layout

chenyanw
chenyanw over 6 years ago

Hi,

I'd like to figure out if there is a connection between two points in the layout. I know I can do that by "Connectivity->Mark Net": I define the via layers, click on one point and see if the other point is highlighted. 

But how do I write "mark net" equivalent in code? Ideally I want to take these two points as inputs, and the output would be a boolean value.

I thought I needed to use dbGetOverlaps, but I'm not sure how to define the searching bBox properly in this case as it is complicated.

Thank you very much!

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Writing a complete net tracer in SKILL is quite a lot of work - I know others on the forums have done so themselves, but if I was you I'd re-use the mark net capability. What I'd probably do is:

    1. Use leMarkNet giving it a coordinate of the starting point
    2. leSaveMarkNet to save all the resulting marked shapes to a temporary cellView
    3. Use dbGetOverlaps() with a zero-area rectangle formed of the second point twice in the temporary cellView. If there are any shapes under the second point, then there's a route from a to b.
    4. leUnmarkNet to unmark it again

    Something like that anyway. A lot of work has gone into mark net and the performance of mark net, so writing your own shape tracer is almost certainly not worth the time and effort to do so (efficiently).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • chenyanw
    chenyanw over 6 years ago in reply to Andrew Beckett

    Thanks Andrew! This is very clear.

    • 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