finding the "DIFF" region attaching "POL"

I'm trying to check "DIFF" region that attaches "POL" outside the MOS, as marked area in the attached layout.
I guess that the "MOS" region, "DIFF" under "POL", doesn't share edges with "DIFF", and I can detect it by checking it, but I don't have an idea how to implement in DRC script.

Any ideas to detect such "DIFF" region attaching "POL" outside MOS?



Sign In or Register to comment.