Skip to content

Commit

Permalink
Merge pull request google#34 from efabless/main
Browse files Browse the repository at this point in the history
Update via4.drc
  • Loading branch information
atorkmabrains authored Dec 6, 2022
2 parents d8eb17a + 1dbdca4 commit 218d914
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions rules/klayout/drc/rule_decks/via4.drc
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,15 @@ if BEOL

# Rule V4.4a: metal5 overlap of via4.
logger.info("Executing rule V4.4a")
v44a_l1 = metal5.enclosing(via4, 0.01.um, euclidian).polygons(0.001).or(via4.not_inside(metal5).not(metal5))
v44a_l1.output("V4.4a", "V4.4a : metal5 overlap of via4.")
v44a_l1.forget
if METAL_LEVEL == "5LM"
v44a_l1 = top_metal.enclosing(via4, 0.01.um, euclidian).polygons(0.001).or(via4.not_inside(top_metal).not(top_metal))
v44a_l1.output("V4.4a", "V4.4a : metal5 overlap of via4.")
v44a_l1.forget
else
v44a_l1 = metal5.enclosing(via4, 0.01.um, euclidian).polygons(0.001).or(via4.not_inside(metal5).not(metal5))
v44a_l1.output("V4.4a", "V4.4a : metal5 overlap of via4.")
v44a_l1.forget
end

v4p4b_cond = metal5.width(0.34.um + 1.dbu).with_length(0.28.um,nil,both)
v4p4b_eol = metal5.edges.with_length(nil, 0.34.um).interacting(v4p4b_cond.first_edges).interacting(v4p4b_cond.second_edges).not(v4p4b_cond.first_edges).not(v4p4b_cond.second_edges)
Expand Down

0 comments on commit 218d914

Please sign in to comment.