• 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 a overlap of two layers if that layer present in PCell...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 143
  • Views 17121
  • 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 a overlap of two layers if that layer present in PCell also

Mahesh gunde 1
Mahesh gunde 1 over 8 years ago

Hi all,


I am writing code for two layers overlap.

but got stuck to write full code.

Requirement:

Using layers: "od", "nt_n"

if "od" layer present in pcell and if its overlapping this nt_n which is in shape.


my code:

MARKER_LPP = list("marker" "error")
procedure( ntn_check()
odList   =  setof(i geGetEditCellView()->shapes car(i->lpp)=="od")
ntnList  =  setof(i geGetEditCellView()->shapes car(i->lpp)=="nt_n")
nt_n_var = dbLayerAnd(geGetEditCellView() MARKER_LPP odList ntnList  )
)

This code is checking for only shapes overlap, its ignoring if layers present are in instances.

I want to know if any shapes are overlapping with Pcell layers also.

Kindly help me on this.

Thanks,

Mahesh

  • Cancel
Parents
  • skillUser
    skillUser over 8 years ago
    Hi Mahesh,

    I don't fully understand your request, but even if I did this is NOT a customer support site, nor can I do your work for you, but I'm happy to point you in the right direction, which I believe I have done. dbGetOverlaps() will show if a shape is it level 0 or if it is lower in the hierarchy. You will have to work out the logic yourself, sorry.

    By the way, I strongly dislike "please do the needful" - it's not my problem to solve, so I don't 'need' to do anything.

    Best regards,

    Lawrence.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • skillUser
    skillUser over 8 years ago
    Hi Mahesh,

    I don't fully understand your request, but even if I did this is NOT a customer support site, nor can I do your work for you, but I'm happy to point you in the right direction, which I believe I have done. dbGetOverlaps() will show if a shape is it level 0 or if it is lower in the hierarchy. You will have to work out the logic yourself, sorry.

    By the way, I strongly dislike "please do the needful" - it's not my problem to solve, so I don't 'need' to do anything.

    Best regards,

    Lawrence.
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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