Skip to content

Commit

Permalink
Merge pull request #199 from efabless/fix_klayout_m3_minarea_rule
Browse files Browse the repository at this point in the history
Added missing klayout DRC rule for metal 3 minimum area.
  • Loading branch information
jeffdi committed Jun 14, 2023
2 parents 35393e9 + 5b4056d commit 2256849
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions checks/tech-files/sky130A_mr.drc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
# History :
# 2022-6-22 : 2022.6.30_01.07 release
#
# 2023-6-14 : 2023.6.14_01.08 release
#
##########################################################################################
release = "2022.6.30_01.07"
release = "2023.6.14_01.08"

require 'time'
require "logger"
Expand Down Expand Up @@ -575,6 +577,8 @@ huge_m3 = huge_m3.edges.outside_part(m3.merged)

non_huge_m3.space(0.3, euclidian).output("m3.2", "m3.2 : min. m3 spacing : 0.3um")

m3.with_area(0..0.240).output("m3.6", "m3.6 : min. m3 area : 0.240um²")

(huge_m3.separation(non_huge_m3, 0.4, euclidian) + huge_m3.space(0.4, euclidian)).output("m3.3cd", "m3.3cd : min. 3um.m3 spacing m3 : 0.4um")
if FLOATING_MET
m3.not_interacting(via2.or(via3)).output("m3.x", "floating met3, must interact with via2 or via3")
Expand Down Expand Up @@ -791,4 +795,4 @@ logger.info(" nsd.2 | sram")
logger.info(" psd.1 | sram")
logger.info(" psd.2 | sram")
logger.info(" ")
logger.info("release #{release}")
logger.info("release #{release}")

0 comments on commit 2256849

Please sign in to comment.