Guild icon
wafer.space Community
📐 - Designing / 🕰️-analog / DRC CO5.a / CO5/b
Between 2026-06-30 11:59 p.m. and 2026-08-01 12:00 a.m.
Avatar
I think the CO5.a / CO5.b rules are not implemented correctly in KLayout DRC deck.
3:13 p.m.
I was checking for discrepency between Magic and KLayout where Magic reported no errors and a KLayout was reporting one, trying to spot things for @Tim Edwards to fix in the magic tech file but here I think the KLayout deck is wrong.
3:15 p.m.
3:16 p.m.
This is an abutted tap and shows the NPLUS generated by magic. And the NPLUS does overlap the contact by 0.1um which is all that's needed. Yes, the COMP ends before 0.1um but CO5.b doesn't require COMP to enclose the contact by 0.1um, only the NPLUS.
Avatar
I'm not sure what klayout flagged, but isn't the inside corner on the COMP an error? Normally you don't want the COMP to make turns at a butting tap boundary, because then you get (as in the small length above the inside corner) NPLUS abutting COMP at zero distance, which violates one or more of the NP.3 rules (at least NP.3a).
Avatar
KLayout flagged the fact that comp only extends 0.07u on the left for instance.
4:09 p.m.
co_5a_ncomp_butted = ncomp.interacting(pcomp).not_overlapping(pcomp) co_ncomp_check = contact.interacting(co_5a_ncomp_butted) co5a_l1 = co_ncomp_check.enclosed(co_5a_ncomp_butted, 0.1.um, euclidian) co5a_l1.output('CO.5a', 'CO.5a : Nplus overlap of contact on COMP (butted N+/P+) : 0.1µm')
4:10 p.m.
And instead I'd recommend : co5a_l1 = co_ncomp_check.enclosed(nplus, 0.1.um, euclidian)
Avatar
Tim 'mithro' Ansell 2026-07-07 2:55 p.m.
@Leo Moser (mole99)
Avatar
Leo Moser (mole99) 2026-07-07 3:13 p.m.
Yes, we already talked :) It can wait after the wsrun2 deadline. I'll take a look then.
Exported 10 message(s)
Timezone: UTC+0