Skip to content

Commit

Permalink
Avoid another 'or'
Browse files Browse the repository at this point in the history
  • Loading branch information
klayoutmatthias committed Dec 18, 2022
1 parent 1379d7f commit d0220db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/klayout/drc/rule_decks/main.drc
Original file line number Diff line number Diff line change
Expand Up @@ -901,12 +901,12 @@ tgate = poly2.and(comp).not(res_mk)
ngate = nplus.and(tgate)
nactive = ncomp.not(nwell)
nsd = nactive.interacting(ngate).not(ngate).not(res_mk)
ptap = pcomp.not(nwell).or(pcomp.and(lvpwell)).not(res_mk)
ptap = pcomp.not(nwell).join(pcomp.and(lvpwell)).not(res_mk)

pgate = pplus.and(tgate)
pactive = pcomp.and(nwell)
psd = pactive.interacting(pgate).not(pgate).not(res_mk)
ntap = ncomp.and(nwell).or(ncomp.and(dnwell).not(lvpwell)).not(res_mk)
ntap = ncomp.and(nwell).join(ncomp.and(dnwell).not(lvpwell)).not(res_mk)

ngate_dn = ngate.and(lvpwell).and(dnwell)
ptap_dn = ptap.and(dnwell).outside(well_diode_mk)
Expand Down

0 comments on commit d0220db

Please sign in to comment.