release
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<Library DMSystem="oaDMFileSys">
|
||||
</Library>
|
||||
+98
@@ -0,0 +1,98 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// capm rules //
|
||||
// Version 0.0_2.8 June 17, 2025 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
////////////////////////////////
|
||||
|
||||
and ( and met3 met4 ) capm -outputlayer cap_34
|
||||
and cap_34 met4 -outputlayer cap_34_top
|
||||
and cap_34 met3 -outputlayer cap_34_bot
|
||||
|
||||
size ( and capm met3 ) -by 0.14 -outputlayer m3_bot_plate
|
||||
size ( and capm met4 ) -by 0.14 -outputlayer m4_top_plate
|
||||
|
||||
connect met4 m4_top_plate
|
||||
connect met3 m3_bot_plate
|
||||
|
||||
|
||||
rule "capm.1a" {
|
||||
caption "capm without met3 is prohibited"
|
||||
not capm met3
|
||||
}
|
||||
rule "capm.1b" {
|
||||
caption "capm without met4 is prohibited"
|
||||
select -outside capm met4
|
||||
}
|
||||
|
||||
rule "capm.2a" {
|
||||
caption "capm without via3 is prohibited"
|
||||
select -interact -not capm via3
|
||||
}
|
||||
|
||||
rule "capm.2b" {
|
||||
caption "capm must contain at least 2 via3"
|
||||
select -enclose capm -lt 2 via3
|
||||
select -interact -not capm via3
|
||||
}
|
||||
|
||||
rule "capm.3a" {
|
||||
caption "Min space between capm bottom plates: 1.2 um"
|
||||
exte m3_bot_plate -lt 1.2 -not_connected -abut -lt 90 -output region
|
||||
}
|
||||
|
||||
select -cut -not met3 m3_bot_plate -outputlayer m3_not_cap
|
||||
|
||||
rule "capm.3b" {
|
||||
caption "Min space capm bottom plates space to unrelated met3: 1.2
|
||||
exte m3_bot_plate m3_not_cap -lt 1.2 -abut -lt 90 -exclude_shielded -output region
|
||||
}
|
||||
|
||||
rule "capm.3c" {
|
||||
caption "CDR: Min capm space: 0.84 um"
|
||||
exte capm -lt 0.84 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule "capm.4" {
|
||||
caption "CDR: Min capm width: 1.0 um"
|
||||
inte capm -lt 1.0 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule "capm.5" {
|
||||
caption "CDR: Min enclosure of capm by met3: 0.14 um"
|
||||
enc capm met3 -lt 0.14 -measure all -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule "capm.6" {
|
||||
caption "CDR: Min enclosure of via3 by capm: 0.14 um"
|
||||
enc via3 capm -lt 0.14 -measure all -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule "capm.7" {
|
||||
caption "CDR: Min spacing of capm and via3: 0.14 um "
|
||||
exte capm via3 -lt 0.14 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule "capm.8a" {
|
||||
caption "Max capm aspect ratio (L/W): 20.00 um"
|
||||
rect_chk capm -aspect -gt 20.00
|
||||
}
|
||||
rule "capm.8b" {
|
||||
caption "Only rectangular capm is permitted"
|
||||
rect_chk -not capm
|
||||
}
|
||||
rule "capm.8c" {
|
||||
caption "Max area of capm > 1,000,000 um^2 "
|
||||
area capm -gt 1000000
|
||||
}
|
||||
|
||||
rule "capm.9a" {
|
||||
caption "Min space of capm to via2: 0.14 um"
|
||||
exte capm via2 -lt 0.14 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
rule "capm.9b" {
|
||||
caption "capm cannot overlap via2"
|
||||
and capm via2
|
||||
}
|
||||
|
||||
|
||||
+312
@@ -0,0 +1,312 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// capm & cap2m rules //
|
||||
// Version 0.0_2.10 June 25, 2025 //
|
||||
// DRM Section 5.7.21 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
////////////////////////////////
|
||||
|
||||
// removing fill shapes from met3 & met4 checks here
|
||||
// sizing of plates creating false spacing errors to fill
|
||||
// add separate spacing capm to fill rule
|
||||
|
||||
// v2.10: moved capm, cap2m spacing checks involving fill to density file,
|
||||
// and made these more comprehensive
|
||||
|
||||
// capm
|
||||
|
||||
// AND, NOT propagate connectivity from the first layer
|
||||
// no issue using "met3" here as m3_fill is at least 1.2 um away from capm
|
||||
|
||||
AND met3 capm -outputlayer m3_bot_plate
|
||||
NOT met3 capm -outputlayer m3_not_capm
|
||||
|
||||
rule "capm.1a" {
|
||||
caption "met3 must completely enclose capm"
|
||||
not capm m3_dg
|
||||
}
|
||||
rule "capm.1b" {
|
||||
caption "capm without met4 is prohibited"
|
||||
select -outside capm m4_dg
|
||||
}
|
||||
|
||||
rule "capm.2a" {
|
||||
caption "capm without via3 is prohibited"
|
||||
select -interact -not capm via3
|
||||
}
|
||||
|
||||
rule "capm.2b" {
|
||||
caption "capm must contain at least 2 via3"
|
||||
select -enclose capm -lt 2 via3
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// The rules concerning the spacing to "capm bottom plates" are ambiguous
|
||||
// DRM states:
|
||||
// "capm bottom plate min space and capm bottom plate minimum space to (capm not overlapping met3)"
|
||||
// ?? but capm CANNOT be "not overlapping met3" since met3 has to enclose capm
|
||||
// ?? should it be, "met3 not overlapping capm" ??
|
||||
|
||||
// What if the met3 used as the bottom plate extended for large distances?
|
||||
// Would you really need to keep all other capm / met3 at least 1.2 um away?
|
||||
|
||||
// I'm going to simply use:
|
||||
// Rule 3a: min space between capm: 1.2 um
|
||||
// For this rule, the bottom plate extends 0.14 um around capm
|
||||
// Rule 3b: min space between unconnected capm & met3: 1.2 um
|
||||
|
||||
// For 3a, I look for capm spacings not covered by met3,
|
||||
// so that an array of caps with a continuous plate of met3 does not give errors
|
||||
// I do NOT consider if bottom plates are connected outside of the array
|
||||
// This is consistent with SW deck
|
||||
|
||||
// For 3b, I simpy look for the spacing of capm to unconnected met3
|
||||
// This rule checks for connectivity through other metals
|
||||
|
||||
// It's unclear to me if either of these implementations is correct
|
||||
// 3a & 3b both have bottom plate extended by 0.14 um (consistent with SW)
|
||||
// 3a should possibly be altered to connect capm with all metals
|
||||
// 3b should possibly be altered to only connect through met3
|
||||
//
|
||||
// Note that SW deck gives false errors if met3 extends more than 0.14 um around capm
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// capm.3a
|
||||
|
||||
size -by 0.14 m3_bot_plate -outputlayer m3_capm_plate
|
||||
|
||||
exte -lt 1.2 m3_capm_plate -output region -outputlayer capm.3a.possible
|
||||
|
||||
// join the capm and output regions to make the error look nicer
|
||||
|
||||
select -inside -not capm.3a.possible met3 -outputlayer capm.3a_part ;
|
||||
exte -lt 0.145 capm capm.3a_part -output region -outputlayer capm.3a_part2 ;
|
||||
|
||||
rule capm.3a {
|
||||
caption "Min space between capm bottom plates"
|
||||
caption "For this rule, capm is extended by 0.14 um to form bottom plate"
|
||||
OR capm.3a_part capm.3a_part2 ;
|
||||
}
|
||||
|
||||
//////////////////////////////////
|
||||
|
||||
// capm.3b
|
||||
|
||||
// note that I use "edge_expand" to create an intermediate met3 layer,
|
||||
// so that I can correctly look for met3 shapes outside of the cap
|
||||
// The "exte" check won't work if cap_bot is enclosed by met3, even with shield 0.
|
||||
|
||||
AND m3_dg capm -outputlayer cap_bot
|
||||
|
||||
// extend cap_bot by 0.14 um since this is considered "cap bottom"
|
||||
// this is consistent with SW deck
|
||||
|
||||
//size -by 1.2 cap_bot -outputlayer cap_bot_1p2
|
||||
size -by 1.34 cap_bot -outputlayer cap_bot_1p2
|
||||
|
||||
connect cap_bot_1p2 met3 -by capm
|
||||
|
||||
AND cap_bot_1p2 met3 -not_connected -outputlayer met3_not_connected
|
||||
|
||||
//exte -lt 1.2 cap_bot met3_not_connected -output region -outputlayer capm.m3_too_close
|
||||
exte -lt 1.34 cap_bot met3_not_connected -output region -outputlayer capm.m3_too_close
|
||||
|
||||
select -enclose m3_dg capm -outputlayer m3_capm_enclose
|
||||
edge_expand m3_capm_enclose -inside_by 0.005 -outputlayer met3_capm_edge
|
||||
|
||||
connect cap_bot met3
|
||||
connect met3_capm_edge met3
|
||||
|
||||
rule CDR.capm.3b {
|
||||
caption "CDR: Min space capm bottom plates to unconnected met3: 1.2 um"
|
||||
caption "For this rule, capm is extended by 0.14 um to form bottom plate"
|
||||
exte -lt 1.2 cap_bot met3_capm_edge -exclude_shielded 0 -not_connected -output region
|
||||
copy capm.m3_too_close ;
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
rule CDR.capm.3c {
|
||||
caption "CDR: Min capm space: 0.84 um"
|
||||
exte capm -lt 0.84 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule "CDR.capm.4" {
|
||||
caption "CDR: Min capm width: 1.0 um"
|
||||
inte capm -lt 1.0 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule "CDR.capm.5" {
|
||||
caption "CDR: Min enclosure of capm by met3: 0.14 um"
|
||||
enc capm m3_dg -lt 0.14 -measure all -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule "CDR.capm.6" {
|
||||
caption "CDR: Min enclosure of via3 by capm: 0.14 um"
|
||||
enc via3 capm -lt 0.14 -measure all -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule "CDR.capm.7" {
|
||||
caption "CDR: Min spacing of capm and via3: 0.14 um "
|
||||
exte capm via3 -lt 0.14 -abut -lt 90 -single_point -output region
|
||||
select -touch via3 capm ;
|
||||
}
|
||||
|
||||
rule "capm.8a" {
|
||||
caption "Max capm aspect ratio (L/W): 20.0 um"
|
||||
rect_chk capm -aspect -gt 20.00
|
||||
}
|
||||
rule "capm.8b" {
|
||||
caption "Only rectangular capm is permitted"
|
||||
rect_chk -not capm
|
||||
}
|
||||
rule "capm.8c" {
|
||||
caption "Max area of capm: 1,000,000 square um"
|
||||
area capm -gt 1000000
|
||||
}
|
||||
|
||||
rule "capm.9a" {
|
||||
caption "Min space of capm to via2: 0.14 um"
|
||||
exte capm via2 -lt 0.14 -abut -lt 90 -single_point -output region
|
||||
select -touch via2 capm ;
|
||||
}
|
||||
rule "capm.9b" {
|
||||
caption "capm cannot overlap via2"
|
||||
and capm via2
|
||||
}
|
||||
|
||||
|
||||
// cap2m
|
||||
|
||||
// no issue using "met4" here as m4_fill is at least 1.2 um away from cap2m
|
||||
|
||||
AND met4 cap2m -outputlayer m4_bot_plate
|
||||
|
||||
rule "cap2m.1a" {
|
||||
caption "cap2m without met4 is prohibited"
|
||||
not cap2m m4_dg
|
||||
}
|
||||
rule "cap2m.1b" {
|
||||
caption "cap2m without met5 is prohibited"
|
||||
select -outside cap2m m5_dg
|
||||
}
|
||||
|
||||
rule "cap2m.2a" {
|
||||
caption "cap2m without via4 is prohibited"
|
||||
select -interact -not cap2m via4
|
||||
}
|
||||
|
||||
rule "cap2m.2b" {
|
||||
caption "cap2m must contain at least 2 via4"
|
||||
select -enclose cap2m -lt 2 via4
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// cap2m.3a & cap2m.3b rules similiar to capm
|
||||
//////////////////////////////////
|
||||
|
||||
// cap2m.3a
|
||||
|
||||
size -by 0.14 m4_bot_plate -outputlayer m4_cap2m_plate
|
||||
|
||||
exte -lt 1.2 m4_cap2m_plate -output region -outputlayer cap2m.3a.possible
|
||||
|
||||
// join the cap2m and output regions to make the error look nicer
|
||||
|
||||
select -inside -not cap2m.3a.possible met4 -outputlayer cap2m.3a_part ;
|
||||
exte -lt 0.145 cap2m cap2m.3a_part -output region -outputlayer cap2m.3a_part2 ;
|
||||
|
||||
rule CDR.cap2m.3a {
|
||||
caption "CDR: Min space between cap2m bottom plates"
|
||||
caption "For this rule, cap2m is extended by 0.14 um to form bottom plate"
|
||||
OR cap2m.3a_part cap2m.3a_part2 ;
|
||||
}
|
||||
|
||||
//////////////////////////////////
|
||||
|
||||
// cap2m.3b
|
||||
|
||||
// note that I use "edge_expand" to create an intermediate met4 layer,
|
||||
// so that I can correctly look for met4 shapes outside of the cap
|
||||
// The "exte" check won't work if cap2m_bot is enclosed by met4, even with shield 0.
|
||||
|
||||
AND m4_dg cap2m -outputlayer cap2m_bot
|
||||
|
||||
// extend cap2m_bot by 0.14 um since this is considered "cap bottom"
|
||||
// this is consistent with SW deck
|
||||
|
||||
size -by 1.34 cap2m_bot -outputlayer cap2m_bot_1p2
|
||||
|
||||
connect cap2m_bot_1p2 met4 -by cap2m
|
||||
|
||||
AND cap2m_bot_1p2 met4 -not_connected -outputlayer met4_not_connected
|
||||
|
||||
exte -lt 1.34 cap2m_bot met4_not_connected -output region -outputlayer cap2m.m4_too_close
|
||||
|
||||
select -enclose m4_dg cap2m -outputlayer m4_cap2m_enclose
|
||||
edge_expand m4_cap2m_enclose -inside_by 0.005 -outputlayer met4_cap2m_edge
|
||||
|
||||
connect cap2m_bot met4
|
||||
connect met4_cap2m_edge met4
|
||||
|
||||
rule CDR.cap2m.3b {
|
||||
caption "CDR: Min space cap2m bottom plates to unconnected met4: 1.2 um"
|
||||
caption "For this rule, cap2m is extended by 0.14 um to form bottom plate"
|
||||
exte -lt 1.2 cap2m_bot met4_cap2m_edge -exclude_shielded 0 -not_connected -output region
|
||||
copy cap2m.m4_too_close ;
|
||||
}
|
||||
|
||||
//////////////////////////////////
|
||||
|
||||
rule CDR.cap2m.3c {
|
||||
caption "CDR: Min cap2m space: 0.84 um"
|
||||
exte cap2m -lt 0.84 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDR.cap2m.4 {
|
||||
caption "CDR: Min cap2m width: 1.0 um"
|
||||
inte cap2m -lt 1.0 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDR.cap2m.5 {
|
||||
caption "CDR: Min enclosure of cap2m by met4: 0.14 um"
|
||||
enc cap2m m4_dg -lt 0.14 -measure all -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDR.cap2m.6 {
|
||||
caption "CDR: Min enclosure of via4 by cap2m: 0.2 um"
|
||||
enc via4 cap2m -lt 0.20 -measure all -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDR.cap2m.7 {
|
||||
caption "CDR: Min spacing of cap2m and via4: 0.2 um "
|
||||
exte cap2m via4 -lt 0.20 -single_point -output region
|
||||
select -touch via4 cap2m ;
|
||||
}
|
||||
|
||||
rule "cap2m.8a" {
|
||||
caption "Max cap2m aspect ratio (L/W): 20.0 um"
|
||||
rect_chk cap2m -aspect -gt 20.00
|
||||
}
|
||||
rule "cap2m.8b" {
|
||||
caption "Only rectangular cap2m is permitted"
|
||||
rect_chk -not cap2m
|
||||
}
|
||||
rule "cap2m.8c" {
|
||||
caption "Max area of cap2m: 1,000,000 square um"
|
||||
area cap2m -gt 1000000
|
||||
}
|
||||
|
||||
rule "cap2m.9a" {
|
||||
caption "Min space of cap2m to via3: 0.14 um"
|
||||
exte cap2m via3 -lt 0.14 -single_point -output region
|
||||
select -touch via3 cap2m ;
|
||||
}
|
||||
rule "cap2m.9b" {
|
||||
caption "cap2m cannot overlap via3 except for stacked capm / cap2m capacitors"
|
||||
and cap2m (not via3 capm) ;
|
||||
}
|
||||
|
||||
+179
@@ -0,0 +1,179 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// denmos rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.42 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// isolated_tap will always be empty, since tap = diff
|
||||
// cannot use tap to distinguish source & drain
|
||||
|
||||
// drain is the diff not touching poly
|
||||
|
||||
// ORIG: select -interact -not tap diff -outputlayer isolated_tap
|
||||
// redine "isolated_tap" to be: (diff AND areaid.en) not touching poly
|
||||
|
||||
// use "isolated_ntap" to remove depmos taps
|
||||
|
||||
// de_nFet does not have dnwell
|
||||
|
||||
NOT areaid.en dnwell areaid.de_nFet
|
||||
|
||||
and diff areaid.de_nFet -outputlayer de_nFet_SD
|
||||
|
||||
select -interact -not de_nFet_SD poly -outputlayer isolated_ntap ;
|
||||
|
||||
and poly areaid.de_nFet -outputlayer deFET_gate_pvsTmp1
|
||||
select -inside -not deFET_gate_pvsTmp1 pwde -outputlayer deFET_gate
|
||||
|
||||
not diff dnwell -outputlayer de_nFet_gate_pvsTmp1
|
||||
|
||||
select -cut deFET_gate de_nFet_gate_pvsTmp1 -outputlayer de_nFet_gate ;
|
||||
|
||||
select -cut de_nFet_SD de_nFet_gate -outputlayer de_nFet_source ;
|
||||
|
||||
and isolated_ntap areaid.de_nFet -outputlayer de_nFet_drain_pvsTmp1
|
||||
select -inside de_nFet_drain_pvsTmp1 nwell -outputlayer de_nFet_drain
|
||||
|
||||
|
||||
rule denmos.1 {
|
||||
caption "Min width of de_nFet_gate: 1.055 um"
|
||||
inte de_nFet_gate -lt 1.055 -single_point -output region
|
||||
}
|
||||
|
||||
|
||||
NOT de_nFet_source poly -outputlayer de_nFet_source_not_poly ;
|
||||
AND de_nFet_source poly -outputlayer de_nFet_source_and_poly ;
|
||||
|
||||
rule denmos.2 {
|
||||
caption "Min width of de_nFet_source not overlapping poly: 0.28 um"
|
||||
inte de_nFet_source_not_poly -lt 0.280 -single_point -output region
|
||||
}
|
||||
|
||||
rule denmos.3 {
|
||||
caption "Min width of de_nFet_source overlapping poly: 0.925 um"
|
||||
inte de_nFet_source_and_poly -lt 0.925 -single_point -output region
|
||||
}
|
||||
|
||||
|
||||
// The minimum width is the edge between the bevels,
|
||||
// NOT the width of the long parallel edges
|
||||
// "inte" won't work here, need to find edges < 0.17 um
|
||||
// but ignore edges not (0 or 90) degrees
|
||||
|
||||
angle -not de_nFet_drain -ltgt 0 90 -outputlayer de_nFet_drain_ortho
|
||||
edge_length de_nFet_drain_ortho -lt 0.170 -outputlayer de_nFet_drain_bad
|
||||
|
||||
rule denmos.4 {
|
||||
caption "Min width of the de_nFet_drain: 0.17 um"
|
||||
copy de_nFet_drain_bad ;
|
||||
}
|
||||
|
||||
|
||||
// cannot use "-eq" with inte; instead, measure width of AND
|
||||
|
||||
AND de_nFet_source nwell -outputlayer de_nFet_source_nwell ;
|
||||
|
||||
rule denmos.5 {
|
||||
caption "Min/Max extension of de_nFet_source over nwell == 0.225"
|
||||
with_width -not de_nFet_source_nwell -eq 0.225
|
||||
}
|
||||
|
||||
|
||||
// /////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// cannot use "-ne" with exte; find S/D shapes not touching "good" region
|
||||
|
||||
// drain might be good on one but not both sides;
|
||||
// in this case, that drain is excluded from "bad" drains
|
||||
// This could make the reporting not obvious where the error is
|
||||
|
||||
// use edge_select instead ??
|
||||
|
||||
//edge_select -outside de_nFet_drain de_nFet_good_region -outputlayer de_nFet_drain_bad.6
|
||||
|
||||
// problem is that OR cannot take this edge layer
|
||||
|
||||
// find "good" regions where the spacing is exactly 1.585
|
||||
// use parallel and opposite as the drain has bevels
|
||||
|
||||
exte de_nFet_drain de_nFet_source -eq 1.585 -single_point -parallel only -metric opposite -output region -outputlayer de_nFet_good_region
|
||||
|
||||
// source shapes that do not touch the good region are bad
|
||||
// drain shapes might touch a good region on one side but not the other side
|
||||
|
||||
select -touch -not de_nFet_source de_nFet_good_region -outputlayer de_nFet_source_bad
|
||||
|
||||
// This one is OK except the drain shape is not shown unless it is bad on both sides
|
||||
// select -touch -not de_nFet_drain de_nFet_good_region -outputlayer de_nFet_drain_bad
|
||||
// OR de_nFet_source_bad de_nFet_drain_bad -outputlayer de_nFet_sd_bad
|
||||
// rule denmos.# { copy de_nFet_sd_bad ; }
|
||||
|
||||
// instead, output the region between the "bad" source and the nearby drain (3.0 might be overkill)
|
||||
|
||||
rule denmos.6 {
|
||||
caption "Min/Max spacing between de_nFet_drain and de_nFet_source == 1.585 um"
|
||||
exte de_nFet_drain de_nFet_source_bad -lt 3.0 -parallel only -metric opposite -output region ;
|
||||
}
|
||||
|
||||
// /////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
edge_boolean -inside de_nFet_gate diff -outputlayer denmos_width
|
||||
|
||||
rule denmos.7 {
|
||||
caption "Min channel width for de_nFet_gate: 5.00 um"
|
||||
edge_length denmos_width -lt 5.0
|
||||
}
|
||||
|
||||
|
||||
select -enclose nwell de_nFET_drain -outputlayer denmos.8_nwell
|
||||
|
||||
// not complete, but any nwell with less than 8 vertices has to be bad
|
||||
|
||||
rule denmos.8 {
|
||||
caption "90 degree angles are not permitted for nwell overlapping de_nFET_drain"
|
||||
vertex denmos.8_nwell -lt 8
|
||||
}
|
||||
|
||||
//rule denmos.9a {
|
||||
// caption "GUIDELINE: All bevels on nwell are 45 degree, 0.43 µm from corners"
|
||||
//}
|
||||
|
||||
//rule denmos.9b {
|
||||
// caption "GUIDELINE: All bevels on de_nFet_drain are 45 degree, 0.05 µm from corners"
|
||||
//}
|
||||
|
||||
|
||||
enc ntap nwell_ovlp_de_nFET_Drain -lt 0.660 -output region -outputlayer denmos.10.region
|
||||
|
||||
select -interact -not denmos.10.region de_nFet_source -outputlayer denmos.10.bad
|
||||
|
||||
rule denmos.10 {
|
||||
caption "Min enclosure of de_nFet_drain by nwell: 0.66 um"
|
||||
copy denmos.10.bad ;
|
||||
}
|
||||
|
||||
select -cut nwell de_nFET_drain -outputlayer nwell_ovlp_de_nFET_Drain
|
||||
|
||||
rule denmos.11 {
|
||||
caption "Min spacing between p+ tap and (nwell overlapping de_nFet_drain): 0.86 um"
|
||||
exte ptap_actual nwell_ovlp_de_nFET_Drain -lt 0.860 -single_point -output region
|
||||
}
|
||||
|
||||
rule denmos.12 {
|
||||
caption "Min spacing between nwells overlapping de_nFET_drain: 2.40 um"
|
||||
exte nwell_ovlp_de_nFET_Drain -lt 2.400 -single_point -output region
|
||||
}
|
||||
|
||||
rule denmos.13 {
|
||||
caption "de_nFet_source must be enclosed by nsdm by: 0.13 um"
|
||||
enc de_nFet_source nsdm -lt 0.130 -output region
|
||||
}
|
||||
|
||||
|
||||
// Rule is obsolete
|
||||
//rule denmos.14 {
|
||||
// caption "nvhv FETs must be enclosed by areaid.mt"
|
||||
//}
|
||||
|
||||
|
||||
+913
@@ -0,0 +1,913 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Density & Fill rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// layers needed for density
|
||||
|
||||
// sealid_hole already defined
|
||||
// holes SEALID -inner -empty -outputlayer sealid_hole
|
||||
|
||||
or sealid_hole SEALID -outputlayer chip_plus_sealhole
|
||||
// not ALL chip_plus_sealhole -outputlayer ALL_not_sealhole
|
||||
or chip_plus_sealhole (select -interact -not ALL SEALID) -outputlayer fill_extent
|
||||
not fill_extent SEALID -outputlayer fill_extent_not_SEALID
|
||||
|
||||
|
||||
// mask layers:
|
||||
// diff_mask (diff), poly_mask (poly), li_mask (LI)
|
||||
// m1_mask m2_mask m3_mask m4_mask m5_mask
|
||||
// "diff_in" is diff dg & tap dg
|
||||
|
||||
OR diff_in diff_fill diff_mask -outputlayer diff_layers
|
||||
OR poly_dg poly_fill poly_mask -outputlayer poly_layers
|
||||
OR li_dg li_fill li_mask -outputlayer li_layers
|
||||
OR m1_dg m1_fill m1_mask -outputlayer m1_layers
|
||||
OR m2_dg m2_fill m2_mask -outputlayer m2_layers
|
||||
OR m3_dg m3_fill m3_mask -outputlayer m3_layers
|
||||
OR m4_dg m4_fill m4_mask -outputlayer m4_layers
|
||||
OR m5_dg m5_fill m5_mask -outputlayer m5_layers
|
||||
|
||||
|
||||
#IFNDEF NODEN
|
||||
|
||||
// diff & poly have no global density requirements
|
||||
|
||||
rule "CDR.diff.local.low" {
|
||||
caption "CDR: Min diff local density (700 square um window, 7 um step): 28%"
|
||||
caption " rdb file: diff_low_density.rdb"
|
||||
density diff_layers -lt 0.28 -window 700 -step 70 -inside_of layer fill_extent_not_SEALID -rdb diff_low_density.rdb
|
||||
}
|
||||
rule "CDRW.diff.local.high" {
|
||||
caption "CDRW: Max diff local density (700 square um window, 7 um step): 62%"
|
||||
caption " rdb file: diff_high_density.rdb"
|
||||
density diff_layers -gt 0.62 -window 700 -step 70 -inside_of layer fill_extent_not_SEALID -rdb diff_high_density.rdb
|
||||
}
|
||||
rule "CDRW.poly.local.low" {
|
||||
caption "CDRW: Min poly local density (700 square um window, 7 um step): 8%"
|
||||
caption " rdb file: poly_low_density.rdb"
|
||||
density poly_layers -lt 0.08 -window 700 -step 70 -inside_of layer fill_extent_not_SEALID -rdb poly_low_density.rdb
|
||||
}
|
||||
rule "CDRW.poly.local.high" {
|
||||
caption "CDRW: Max poly local density (700 square um window, 7 um step): 38%"
|
||||
caption " rdb file: poly_high_density.rdb"
|
||||
density poly_layers -gt 0.38 -window 700 -step 70 -inside_of layer fill_extent_not_SEALID -rdb poly_high_density.rdb
|
||||
}
|
||||
|
||||
// LI has no local global density requirements
|
||||
|
||||
rule "CDRW.li.global.min" {
|
||||
caption "CDRW: Min global density of LI inside seal ring: 33%"
|
||||
caption " rdb file: li_global_low.rdb"
|
||||
density li_layers -lt 0.33 -inside_of layer fill_extent_not_SEALID -rdb li_global_low.rdb
|
||||
}
|
||||
rule "CDRW.li.global.max" {
|
||||
caption "CDRW: Max global density of LI inside seal ring: 62%"
|
||||
caption " rdb file: li_global_high.rdb"
|
||||
density li_layers -gt 0.62 -inside_of layer fill_extent_not_SEALID -rdb li_global_high.rdb
|
||||
}
|
||||
|
||||
rule "CDRW.m1.global.min" {
|
||||
caption "CDRW: Min global density of met1 inside seal ring: 33%"
|
||||
caption " rdb file: m1_global_low.rdb"
|
||||
density m1_layers -lt 0.33 -inside_of layer fill_extent_not_SEALID -rdb m1_global_low.rdb
|
||||
}
|
||||
rule "CDRW.m1.global.max" {
|
||||
caption "CDRW: Max global density of met1 inside seal ring: 62%"
|
||||
caption " rdb file: m1_global_high.rdb"
|
||||
density m1_layers -gt 0.62 -inside_of layer fill_extent_not_SEALID -rdb m1_global_high.rdb
|
||||
}
|
||||
rule "CDRW.m2.global.min" {
|
||||
caption "CDRW: Min global density of met2 inside seal ring: 33%"
|
||||
caption " rdb file: m2_global_low.rdb"
|
||||
density m2_layers -lt 0.33 -inside_of layer fill_extent_not_SEALID -rdb m2_global_low.rdb
|
||||
}
|
||||
rule "CDRW.m2.global.max" {
|
||||
caption "CDRW: Max global density of met2 inside seal ring: 62%"
|
||||
caption " rdb file: m2_global_high.rdb"
|
||||
density m2_layers -gt 0.62 -inside_of layer fill_extent_not_SEALID -rdb m2_global_high.rdb
|
||||
}
|
||||
rule "CDRW.m3.global.min" {
|
||||
caption "CDRW: Min global density of met3 inside seal ring: 33%"
|
||||
caption " rdb file: m3_global_low.rdb"
|
||||
density m3_layers -lt 0.33 -inside_of layer fill_extent_not_SEALID -rdb m3_global_low.rdb
|
||||
}
|
||||
rule "CDRW.m3.global.max" {
|
||||
caption "CDRW: Max global density of met3 inside seal ring: 62%"
|
||||
caption " rdb file: m3_global_high.rdb"
|
||||
density m3_layers -gt 0.62 -inside_of layer fill_extent_not_SEALID -rdb m3_global_high.rdb
|
||||
}
|
||||
rule "CDRW.m4.global.min" {
|
||||
caption "CDRW: Min global density of met4 inside seal ring: 33%"
|
||||
caption " rdb file: m4_global_low.rdb"
|
||||
density m4_layers -lt 0.33 -inside_of layer fill_extent_not_SEALID -rdb m4_global_low.rdb
|
||||
}
|
||||
rule "CDRW.m4.global.max" {
|
||||
caption "CDRW: Max global density of met4 inside seal ring: 62%"
|
||||
caption " rdb file: m4_global_high.rdb"
|
||||
density m4_layers -gt 0.62 -inside_of layer fill_extent_not_SEALID -rdb m4_global_high.rdb
|
||||
}
|
||||
rule "CDRW.m5.global.min" {
|
||||
caption "CDRW: Min global density of met5 inside seal ring: 43%"
|
||||
caption " rdb file: m5_global_low.rdb"
|
||||
density m5_layers -lt 0.43 -inside_of layer fill_extent_not_SEALID -rdb m5_global_low.rdb
|
||||
}
|
||||
rule "CDRW.m5.global.max" {
|
||||
caption "CDRW: Max global density of met5 inside seal ring: 78%"
|
||||
caption " rdb file: m5_global_high.rdb"
|
||||
density m5_layers -gt 0.78 -inside_of layer fill_extent_not_SEALID -rdb m5_global_high.rdb
|
||||
}
|
||||
|
||||
// metal oxide pattern density rules moved here & renamed
|
||||
|
||||
// m1.pd.1 ==> m1.oxide.min
|
||||
// m2.pd.1 ==> m2.oxide.min
|
||||
// m1.pd.1 ==> m3.oxide.min
|
||||
// m4.pd.1 ==> m4.oxide.min
|
||||
// m5.pd.1 ==> m5.oxide.min
|
||||
|
||||
// Oxide pattern density is pattern density after oversizing the metal and fill by 0.6
|
||||
// there are also mask layers but the designer should not see these except in seal ring
|
||||
|
||||
// Note that met1/met2/met3/met4/met5 layers include dg & fill
|
||||
|
||||
// met1
|
||||
size met1 -by 0.6 -outputlayer met1_oxide
|
||||
|
||||
// need "-inside_of layer fill_area" to check only inside of SEALID hole (if SEALID is present)
|
||||
|
||||
rule CDR.m1.local.min {
|
||||
caption "CDR: Min met1 oxide pattern local density: 80%"
|
||||
caption " 700 square micron window stepped at 70 um"
|
||||
caption " NOTE: 'met1 oxide pattern' is all met1 sized by 0.6 um'
|
||||
caption " rdb file: m1_oxide_low.rdb"
|
||||
density met1_oxide -lt 0.80 -window 700 -step 70 -inside_of layer fill_area -rdb "m1_local_low.rdb"
|
||||
}
|
||||
|
||||
// met2
|
||||
size met2 -by 0.6 -outputlayer met2_oxide
|
||||
|
||||
rule CDR.m2.local.min {
|
||||
caption "CDR: Min met2 oxide pattern local density (AL): 80%"
|
||||
caption " 700 square micron window stepped at 70 um "
|
||||
caption " NOTE: 'met2 oxide pattern' is all met2 sized by 0.6 um"
|
||||
caption " rdb file: m2_oxide_low.rdb"
|
||||
density met2_oxide -lt 0.80 -window 700 -step 70 -inside_of layer fill_area -rdb "m2_local_low.rdb"
|
||||
}
|
||||
|
||||
// met3
|
||||
size met3 -by 1.15 -outputlayer met3_oxide
|
||||
|
||||
rule CDR.m3.local.min {
|
||||
caption "CDR: Min met3 oxide pattern local density (AL): 80%"
|
||||
caption " 700 square micron window stepped at 70 um "
|
||||
caption " NOTE: 'met3 oxide pattern' is all met3 sized by 1.15 um"
|
||||
caption " rdb file: m3_oxide_low.rdb"
|
||||
density met3_oxide -lt 0.80 -window 700 -step 70 -inside_of layer fill_area -rdb "m3_local_low.rdb"
|
||||
}
|
||||
|
||||
// met4
|
||||
size met4 -by 1.15 -outputlayer met4_oxide
|
||||
|
||||
rule CDR.m4.local.min {
|
||||
caption "CDR: Min met4 oxide pattern local density (AL): 80%"
|
||||
caption " 700 square micron window stepped at 70 um "
|
||||
caption " NOTE: 'met4 oxide pattern' is all met4 sized by 0.6 um"
|
||||
caption " rdb file: m4_oxide_low.rdb"
|
||||
density met4_oxide -lt 0.80 -window 700 -step 70 -inside_of layer fill_area -rdb "m4_local_low.rdb"
|
||||
}
|
||||
|
||||
// met5
|
||||
// This rule is applied only if "viatop" is present
|
||||
// viatop is used to enable bonding
|
||||
// not currently used in the PDK
|
||||
|
||||
// size met5 -by 1.15 -outputlayer met5_oxide
|
||||
|
||||
// rule CDR.m5.local.min {
|
||||
// caption "Min met5 oxide pattern local density (AL): 80%"
|
||||
// caption " 700 square micron window stepped at 70 um "
|
||||
// caption " NOTE: 'met5 oxide pattern' is all met5 sized by 1.15 um"
|
||||
// caption " rdb file: m5_oxide_low.rdb"
|
||||
// density met5_oxide -lt 0.80 -window 700 -step 70 -inside_of layer fill_area -rdb "m5_local_low.rdb"
|
||||
// }
|
||||
|
||||
#ENDIF // ifndef NODEN
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Fill rules
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Diff fill
|
||||
|
||||
// Size
|
||||
rule diff.fill.1 {
|
||||
caption "diff fill must be rectangles"
|
||||
vertex diff_fill -gt 4.0 ;
|
||||
}
|
||||
rule diff.fill.2 {
|
||||
caption "Min width of diff fill: 0.5 um"
|
||||
rect_chk diff_fill -lt 0.5 ;
|
||||
}
|
||||
rule diff.fill.3 {
|
||||
caption "Max length of diff fill: 25. um"
|
||||
rect_chk diff_fill -gt 25.0 ;
|
||||
}
|
||||
|
||||
// Overlap
|
||||
rule diff.fill.4 {
|
||||
caption "diff fill must not overlap diff or tap"
|
||||
select -outside -not diff_fill diff_in
|
||||
}
|
||||
rule diff.fill.5 {
|
||||
caption "diff fill must not overlap poly"
|
||||
select -outside -not diff_fill poly_dg
|
||||
}
|
||||
rule diff.fill.6 {
|
||||
caption "diff fill must not overlap or touch licon"
|
||||
select -interact diff_fill licon
|
||||
}
|
||||
rule diff.fill.7 {
|
||||
caption "diff fill must not overlap areaid:seal"
|
||||
select -outside -not diff_fill SEALID
|
||||
}
|
||||
rule diff.fill.8 {
|
||||
caption "diff fill must not overlap diff fill block"
|
||||
select -outside -not diff_fill diff_fillblock
|
||||
}
|
||||
// Spacing
|
||||
rule diff.fill.9 {
|
||||
caption "Min spacing diff fill to diff fill: 0.4 um"
|
||||
exte diff_fill -lt 0.40 -single_point -output region
|
||||
}
|
||||
rule diff.fill.10 {
|
||||
caption "Min spacing (no touch) diff fill to diff or tap: 0.5 um"
|
||||
exte diff_fill diff_in -lt 0.50 -output region
|
||||
select -touch diff_fill diff_in ;
|
||||
}
|
||||
rule diff.fill.11 {
|
||||
caption "Min spacing (no touch) diff fill to diff fill_block: 0.5 um"
|
||||
exte diff_fill diff_fillblock -lt 0.50 -output region
|
||||
select -touch diff_fill diff_fillblock
|
||||
select -interact -single_point only diff_fill diff_fillblock ;
|
||||
}
|
||||
rule diff.fill.12 {
|
||||
caption "Min spacing (no touch) diff fill to nsdm / psdm: 0.13 um"
|
||||
exte diff_fill (or nsdm psdm) -lt 0.13 -output region
|
||||
select -touch diff_fill (or nsdm psdm) ;
|
||||
}
|
||||
rule diff.fill.13 {
|
||||
caption "Min spacing (no touch) diff fill to poly: 0.5 um"
|
||||
exte diff_fill poly_dg -lt 0.50 -output region
|
||||
select -touch diff_fill poly_dg ;
|
||||
}
|
||||
rule diff.fill.14 {
|
||||
caption "Min spacing diff fill to nwell: 0.34 um"
|
||||
exte diff_fill nwell -lt 0.34 -output region
|
||||
select -touch diff_fill nwell ;
|
||||
}
|
||||
rule diff.fill.15 {
|
||||
caption "Min spacing (no touch) diff fill to HV nwell: 0.33 um"
|
||||
exte diff_fill (AND nwell all_hvi) -lt 0.33 -output region
|
||||
select -touch diff_fill (AND nwell all_hvi) ;
|
||||
}
|
||||
rule diff.fill.16 {
|
||||
caption "Min spacing (no touch) diff fill to areaid.seal (SEALID): 1. um"
|
||||
exte diff_fill SEALID -lt 1.0 -output region
|
||||
select -touch diff_fill SEALID
|
||||
select -interact -single_point only diff_fill SEALID ;
|
||||
}
|
||||
|
||||
// Enclosure
|
||||
|
||||
// Could find the straddling case by *not* using the "-inside" modifier to edge_select
|
||||
// however, I find flagging the entire offending shape is better
|
||||
|
||||
// 5v regions don't need to be included in 0.18 enclosure check
|
||||
// since they will flag the 0.43 check
|
||||
|
||||
AND nwell hvi -outputlayer nwell_5v
|
||||
NOT nwell hvi -outputlayer nwell_not_5v
|
||||
|
||||
rule diff.fill.17 {
|
||||
caption "Min enclosure of diff fill by nwell: 0.18 um"
|
||||
caption " diff fill straddling nwell not allowed "
|
||||
enc diff_fill nwell_not_5v -lt 0.18 -output region
|
||||
edge_select -inside diff_fill nwell_not_5v ;
|
||||
select -cut diff_fill nwell_not_5v ;
|
||||
}
|
||||
rule diff.fill.18 {
|
||||
caption "Min enclosure of diff fill by 5 volt nwell: 0.43 um"
|
||||
caption " diff fill straddling 5 volt nwell not allowed "
|
||||
enc diff_fill nwell_5v -lt 0.43 -output region
|
||||
edge_select -inside diff_fill nwell_5v ;
|
||||
select -cut diff_fill nwell_5v ;
|
||||
}
|
||||
rule diff.fill.19 {
|
||||
caption "Min enclosure, with no overlap, of diff fill by FRAME (areaid.fe): 0.5 um"
|
||||
caption " diff fill straddling FRAME not allowed "
|
||||
enc diff_fill areaid.fe -lt 0.50 -output region
|
||||
edge_select -inside diff_fill areaid.fe
|
||||
select -cut diff_fill areaid.fe ;
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Poly fill
|
||||
|
||||
// Size
|
||||
rule poly.fill.1 {
|
||||
caption "poly fill must be rectangles"
|
||||
vertex poly_fill -gt 4.0 ;
|
||||
}
|
||||
rule poly.fill.2 {
|
||||
caption "Min width of poly fill: 0.48 um"
|
||||
rect_chk poly_fill -lt 0.48 ;
|
||||
}
|
||||
rule poly.fill.3 {
|
||||
caption "Max length of poly fill: 0.72 um"
|
||||
rect_chk poly_fill -gt 0.72 ;
|
||||
}
|
||||
|
||||
// Overlap
|
||||
rule poly.fill.4 {
|
||||
caption "poly fill must not overlap diff or tap"
|
||||
select -outside -not poly_fill diff_in
|
||||
}
|
||||
rule poly.fill.5 {
|
||||
caption "poly fill must not overlap poly"
|
||||
select -outside -not poly_fill poly_dg
|
||||
}
|
||||
rule poly.fill.6 {
|
||||
caption "poly fill must not overlap areaid:seal"
|
||||
select -outside -not poly_fill SEALID
|
||||
}
|
||||
rule poly.fill.7 {
|
||||
caption "poly fill must not overlap poly fill block"
|
||||
select -outside -not poly_fill poly_fillblock
|
||||
}
|
||||
// Spacing
|
||||
|
||||
rule poly.fill.8 {
|
||||
caption "Min spacing poly fill to poly fill: 0.36 um"
|
||||
exte poly_fill -lt 0.36 -single_point -output region
|
||||
}
|
||||
rule poly.fill.9 {
|
||||
caption "Min spacing (no touch) poly fill to poly: 1. um"
|
||||
exte poly_fill poly_dg -lt 1.0 -output region
|
||||
select -touch poly_fill poly_dg ;
|
||||
}
|
||||
rule poly.fill.10 {
|
||||
caption "Min spacing (no touch) poly fill to poly fill_block: 1. um"
|
||||
exte poly_fill poly_fillblock -lt 1.00 -output region
|
||||
select -touch poly_fill poly_fillblock ;
|
||||
}
|
||||
rule poly.fill.11 {
|
||||
caption "Min spacing (no touch) poly fill to diff fill: 0.3 um"
|
||||
exte poly_fill diff_fill -lt 0.30 -output region
|
||||
select -touch poly_fill diff_fill ;
|
||||
}
|
||||
rule poly.fill.12 {
|
||||
caption "Min spacing (no touch) poly fill to diff or tap: 1. um"
|
||||
exte poly_fill diff_in -lt 1.0 -output region
|
||||
select -touch poly_fill diff_in ;
|
||||
select -interact -single_point only poly_fill diff_in ;
|
||||
}
|
||||
rule poly.fill.13 {
|
||||
caption "Min spacing (no touch) poly fill to areaid.seal (SEALID): 1. um"
|
||||
exte poly_fill SEALID -lt 1.0 -output region
|
||||
select -touch poly_fill SEALID ;
|
||||
select -interact -single_point only poly_fill SEALID ;
|
||||
}
|
||||
|
||||
// Enclosure
|
||||
rule poly.fill.14 {
|
||||
caption "Min enclosure of poly fill by FRAME (areaid.fe): 0.5 um"
|
||||
caption " poly fill straddling FRAME not allowed "
|
||||
enc poly_fill areaid.fe -lt 0.50 -output region
|
||||
edge_select -inside poly_fill areaid.fe
|
||||
select -cut poly_fill areaid.fe ;
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// LI fill
|
||||
|
||||
// Size
|
||||
rule li.fill.1 {
|
||||
caption "li fill must be rectangles"
|
||||
vertex li_fill -gt 4.0 ;
|
||||
}
|
||||
rule li.fill.2 {
|
||||
caption "Min width of li fill: 0.5 um"
|
||||
rect_chk li_fill -lt 0.50 ;
|
||||
}
|
||||
rule li.fill.3 {
|
||||
caption "Max length of li fill: 5.0 um"
|
||||
rect_chk li_fill -gt 5.0 ;
|
||||
}
|
||||
|
||||
// Overlap
|
||||
rule li.fill.4 {
|
||||
caption "li fill must not overlap li"
|
||||
select -outside -not li_fill li_dg
|
||||
}
|
||||
rule li.fill.5 {
|
||||
caption "li fill must not overlap poly"
|
||||
select -outside -not li_fill poly_dg
|
||||
}
|
||||
rule li.fill.6 {
|
||||
caption "li fill must not overlap or touch licon"
|
||||
select -interact li_fill licon
|
||||
}
|
||||
rule li.fill.7 {
|
||||
caption "li fill must not overlap or touch mcon"
|
||||
select -interact li_fill mcon
|
||||
}
|
||||
rule li.fill.8 {
|
||||
caption "li fill must not overlap areaid:seal"
|
||||
select -outside -not li_fill SEALID
|
||||
}
|
||||
rule li.fill.9 {
|
||||
caption "li fill must not overlap li fill block"
|
||||
select -outside -not li_fill li_fillblock
|
||||
}
|
||||
// Spacing
|
||||
|
||||
rule li.fill.10 {
|
||||
caption "Min spacing li fill to li fill: 0.5 um"
|
||||
exte li_fill -lt 0.50 -single_point -output region
|
||||
}
|
||||
rule li.fill.11 {
|
||||
caption "Min spacing (no touch) li fill to li: 0.5 um"
|
||||
exte li_fill li_dg -lt 0.50 -output region
|
||||
select -touch li_fill li_dg ;
|
||||
select -interact -single_point only li_fill li_dg ;
|
||||
}
|
||||
rule li.fill.12 {
|
||||
caption "Min spacing (no touch) li fill to li fill_block: 0.5 um"
|
||||
exte li_fill li_fillblock -lt 0.50 -output region
|
||||
select -touch li_fill li_fillblock
|
||||
select -interact -single_point only li_fill li_fillblock ;
|
||||
}
|
||||
rule li.fill.13 {
|
||||
caption "Min spacing (no touch) li fill to licon: 0.5 um"
|
||||
exte li_fill licon -lt 0.50 -output region
|
||||
select -touch li_fill licon
|
||||
}
|
||||
rule li.fill.14 {
|
||||
caption "Min spacing (no touch) li fill to mcon: 0.5 um"
|
||||
exte li_fill mcon -lt 0.50 -output region
|
||||
select -touch li_fill mcon
|
||||
}
|
||||
rule li.fill.15 {
|
||||
caption "Min spacing (no touch) li fill to areaid.seal (SEALID): 1. um"
|
||||
exte li_fill SEALID -lt 1.0 -output region
|
||||
select -touch li_fill SEALID
|
||||
select -interact -single_point only li_fill SEALID ;
|
||||
}
|
||||
|
||||
// Enclosure
|
||||
rule li.fill.16 {
|
||||
caption "Min enclosure of LI fill by FRAME (areaid.fe): 0.5 um"
|
||||
caption " LI fill straddling FRAME not allowed "
|
||||
enc li_fill areaid.fe -lt 0.50 -output region
|
||||
edge_select -inside li_fill areaid.fe
|
||||
select -cut li_fill areaid.fe ;
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// met1 fill
|
||||
|
||||
// Size
|
||||
rule m1.fill.1 {
|
||||
caption "met1 fill must be rectangles"
|
||||
vertex m1_fill -gt 4.0 ;
|
||||
}
|
||||
rule m1.fill.2 {
|
||||
caption "Min width of met1 fill: 0.3 um"
|
||||
rect_chk m1_fill -lt 0.30 ;
|
||||
}
|
||||
rule m1.fill.3 {
|
||||
caption "Max length of met1 fill: 2. um"
|
||||
rect_chk m1_fill -gt 2.0 ;
|
||||
}
|
||||
|
||||
// Overlap
|
||||
rule m1.fill.4 {
|
||||
caption "met1 fill must not overlap met1"
|
||||
select -outside -not m1_fill m1_dg
|
||||
}
|
||||
rule m1.fill.5 {
|
||||
caption "met1 fill must not overlap areaid:seal"
|
||||
select -outside -not m1_fill SEALID
|
||||
}
|
||||
rule m1.fill.6 {
|
||||
caption "met1 fill must not overlap mcon"
|
||||
select -outside -not m1_fill mcon
|
||||
}
|
||||
rule m1.fill.7 {
|
||||
caption "met1 fill must not overlap via1"
|
||||
select -outside -not m1_fill via1
|
||||
}
|
||||
rule m1.fill.8 {
|
||||
caption "met1 fill must not overlap met1 fill block"
|
||||
select -outside -not m1_fill m1_fillblock
|
||||
}
|
||||
// Spacing
|
||||
|
||||
rule m1.fill.9 {
|
||||
caption "Min spacing met1 fill to met1 fill: 0.3 um"
|
||||
exte m1_fill -lt 0.30 -single_point -output region
|
||||
}
|
||||
rule m1.fill.10 {
|
||||
caption "Min spacing (no touch) met1 fill to areaid.seal (SEALID): 1. um"
|
||||
exte m1_fill SEALID -lt 1.0 -output region
|
||||
select -touch m1_fill SEALID
|
||||
select -interact -single_point only m1_fill SEALID ;
|
||||
}
|
||||
rule m1.fill.11 {
|
||||
caption "Min spacing (no touch) met1 fill to mcon: 0.3 um"
|
||||
exte m1_fill mcon -lt 0.30 -output region
|
||||
select -touch m1_fill mcon
|
||||
}
|
||||
rule m1.fill.12 {
|
||||
caption "Min spacing (no touch) met1 fill to met1 dg: 0.3 um"
|
||||
exte m1_fill m1_dg -lt 0.30 -output region
|
||||
select -touch m1_fill m1_dg
|
||||
select -interact -single_point only m1_fill m1_dg ;
|
||||
}
|
||||
rule m1.fill.13 {
|
||||
caption "Min spacing (no touch) met1 fill to via1: 0.3 um"
|
||||
exte m1_fill via1 -lt 0.30 -output region
|
||||
select -touch m1_fill via1
|
||||
}
|
||||
rule m1.fill.14 {
|
||||
caption "Min spacing (no touch) met1 fill to met1 fill_block: 0.3 um"
|
||||
exte m1_fill m1_fillblock -lt 0.30 -output region
|
||||
select -touch m1_fill m1_fillblock
|
||||
select -interact -single_point only m1_fill m1_fillblock ;
|
||||
}
|
||||
|
||||
// Enclosure
|
||||
rule m1.fill.15 {
|
||||
caption "Min enclosure of met1 fill by FRAME (areaid.fe): 0.5 um"
|
||||
caption " met1 fill straddling FRAME not allowed "
|
||||
enc m1_fill areaid.fe -lt 0.50 -output region
|
||||
edge_select -inside m1_fill areaid.fe
|
||||
select -cut m1_fill areaid.fe ;
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// met2 fill
|
||||
|
||||
// Size
|
||||
rule m2.fill.1 {
|
||||
caption "met2 fill must be rectangles"
|
||||
vertex m2_fill -gt 4.0 ;
|
||||
}
|
||||
rule m2.fill.2 {
|
||||
caption "Min width of met2 fill: 0.3 um"
|
||||
rect_chk m2_fill -lt 0.30 ;
|
||||
}
|
||||
rule m2.fill.3 {
|
||||
caption "Max length of met2 fill: 2. um"
|
||||
rect_chk m2_fill -gt 2.0 ;
|
||||
}
|
||||
|
||||
// Overlap
|
||||
rule m2.fill.4 {
|
||||
caption "met2 fill must not overlap met2"
|
||||
select -outside -not m2_fill m2_dg
|
||||
}
|
||||
rule m2.fill.5 {
|
||||
caption "met2 fill must not overlap areaid:seal"
|
||||
select -outside -not m2_fill SEALID
|
||||
}
|
||||
rule m2.fill.6 {
|
||||
caption "met2 fill must not overlap via1"
|
||||
select -outside -not m2_fill via1
|
||||
}
|
||||
rule m2.fill.7 {
|
||||
caption "met2 fill must not overlap via2"
|
||||
select -outside -not m2_fill via2
|
||||
}
|
||||
rule m2.fill.8 {
|
||||
caption "met2 fill must not overlap met2 fill block"
|
||||
select -outside -not m2_fill m2_fillblock
|
||||
}
|
||||
// Spacing
|
||||
|
||||
rule m2.fill.9 {
|
||||
caption "Min spacing met2 fill to met2 fill: 0.3 um"
|
||||
exte m2_fill -lt 0.30 -single_point -output region
|
||||
}
|
||||
rule m2.fill.10 {
|
||||
caption "Min spacing (no touch) met2 fill to areaid.seal (SEALID): 1. um"
|
||||
exte m2_fill SEALID -lt 1.0 -output region
|
||||
select -touch m2_fill SEALID
|
||||
select -interact -single_point only m2_fill SEALID ;
|
||||
}
|
||||
rule m2.fill.11 {
|
||||
caption "Min spacing (no touch) met2 fill to via1: 0.3 um"
|
||||
exte m2_fill via1 -lt 0.30 -output region
|
||||
select -touch m2_fill via1 ;
|
||||
}
|
||||
rule m2.fill.12 {
|
||||
caption "Min spacing (no touch) met2 fill to met2 dg: 0.3 um"
|
||||
exte m2_fill m2_dg -lt 0.30 -output region
|
||||
select -touch m2_fill m2_dg ;
|
||||
select -interact -single_point only m2_fill m2_dg
|
||||
}
|
||||
rule m2.fill.13 {
|
||||
caption "Min spacing (no touch) met2 fill to via2: 0.3 um"
|
||||
exte m2_fill via2 -lt 0.30 -output region
|
||||
select -touch m2_fill via2 ;
|
||||
}
|
||||
rule m2.fill.14 {
|
||||
caption "Min spacing (no touch) met2 fill to met2 fill_block: 0.3 um"
|
||||
exte m2_fill m2_fillblock -lt 0.30 -output region
|
||||
select -touch m2_fill m2_fillblock
|
||||
select -interact -single_point only m2_fill m2_fillblock ;
|
||||
}
|
||||
|
||||
// Enclosure
|
||||
rule m2.fill.15 {
|
||||
caption "Min enclosure of met2 fill by FRAME (areaid.fe): 0.5 um"
|
||||
caption " met2 fill straddling FRAME not allowed "
|
||||
enc m2_fill areaid.fe -lt 0.50 -output region
|
||||
edge_select -inside m2_fill areaid.fe
|
||||
select -cut m2_fill areaid.fe ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// met3 fill
|
||||
|
||||
// Size
|
||||
rule m3.fill.1 {
|
||||
caption "met3 fill must be rectangles"
|
||||
vertex m3_fill -gt 4.0 ;
|
||||
}
|
||||
rule m3.fill.2 {
|
||||
caption "Min width of met3 fill: 0.5 um"
|
||||
rect_chk m3_fill -lt 0.50 ;
|
||||
}
|
||||
rule m3.fill.3 {
|
||||
caption "Max length of met3 fill: 2. um"
|
||||
rect_chk m3_fill -gt 2.0 ;
|
||||
}
|
||||
|
||||
// Overlap
|
||||
rule m3.fill.4 {
|
||||
caption "met3 fill must not overlap met3"
|
||||
select -outside -not m3_fill m3_dg
|
||||
}
|
||||
rule m3.fill.5 {
|
||||
caption "met3 fill must not overlap areaid:seal"
|
||||
select -outside -not m3_fill SEALID
|
||||
}
|
||||
rule m3.fill.6 {
|
||||
caption "met3 fill must not overlap via2"
|
||||
select -outside -not m3_fill via2
|
||||
}
|
||||
rule m3.fill.7 {
|
||||
caption "met3 fill must not overlap via3"
|
||||
select -outside -not m3_fill via3
|
||||
}
|
||||
rule m3.fill.8 {
|
||||
caption "met3 fill must not overlap met3 fill block"
|
||||
select -outside -not m3_fill m3_fillblock
|
||||
}
|
||||
// Spacing
|
||||
|
||||
rule m3.fill.9 {
|
||||
caption "Min spacing met3 fill to met3 fill: 0.3 um"
|
||||
exte m3_fill -lt 0.30 -single_point -output region
|
||||
}
|
||||
rule m3.fill.10 {
|
||||
caption "Min spacing (no touch) met3 fill to areaid.seal (SEALID): 1. um"
|
||||
exte m3_fill SEALID -lt 1.0 -output region
|
||||
select -touch m3_fill SEALID
|
||||
select -interact -single_point only m3_fill SEALID ;
|
||||
}
|
||||
rule m3.fill.11 {
|
||||
caption "Min spacing (no touch) met3 fill to via2: 0.5 um"
|
||||
exte m3_fill via2 -lt 0.50 -output region
|
||||
select -touch m3_fill via2 ;
|
||||
}
|
||||
rule m3.fill.12 {
|
||||
caption "Min spacing (no touch) met3 fill to met3 dg: 0.5 um"
|
||||
exte m3_fill m3_dg -lt 0.50 -output region
|
||||
select -touch m3_fill m3_dg
|
||||
select -interact -single_point only m3_fill m3_dg ;
|
||||
}
|
||||
rule m3.fill.13 {
|
||||
caption "Min spacing (no touch) met3 fill to via3: 0.5 um"
|
||||
exte m3_fill via3 -lt 0.50 -output region
|
||||
select -touch m3_fill via3 ;
|
||||
}
|
||||
rule m3.fill.14 {
|
||||
caption "Min spacing (no touch) met3 fill to met3 fill_block: 0.5 um"
|
||||
exte m3_fill m3_fillblock -lt 0.50 -output region
|
||||
select -touch m3_fill m3_fillblock
|
||||
select -interact -single_point only m3_fill m3_fillblock ;
|
||||
}
|
||||
|
||||
// Enclosure
|
||||
rule m3.fill.15 {
|
||||
caption "Min enclosure of met3 fill by FRAME (areaid.fe): 0.5 um"
|
||||
caption " met3 fill straddling FRAME not allowed "
|
||||
enc m3_fill areaid.fe -lt 0.50 -output region
|
||||
edge_select -inside m3_fill areaid.fe ;
|
||||
select -cut m3_fill areaid.fe ;
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// met4 fill
|
||||
|
||||
// Size
|
||||
rule m4.fill.1 {
|
||||
caption "met4 fill must be rectangles"
|
||||
vertex m4_fill -gt 4.0 ;
|
||||
}
|
||||
rule m4.fill.2 {
|
||||
caption "Min width of met4 fill: 0.5 um"
|
||||
rect_chk m4_fill -lt 0.50 ;
|
||||
}
|
||||
rule m4.fill.3 {
|
||||
caption "Max length of met4 fill: 2. um"
|
||||
rect_chk m4_fill -gt 2.0 ;
|
||||
}
|
||||
|
||||
// Overlap
|
||||
rule m4.fill.4 {
|
||||
caption "met4 fill must not overlap met4"
|
||||
select -outside -not m4_fill m4_dg
|
||||
}
|
||||
rule m4.fill.5 {
|
||||
caption "met4 fill must not overlap areaid:seal"
|
||||
select -outside -not m4_fill SEALID
|
||||
}
|
||||
rule m4.fill.6 {
|
||||
caption "met4 fill must not overlap via3"
|
||||
select -outside -not m4_fill via3
|
||||
}
|
||||
rule m4.fill.7 {
|
||||
caption "met4 fill must not overlap via4"
|
||||
select -outside -not m4_fill via4
|
||||
}
|
||||
rule m4.fill.8 {
|
||||
caption "met4 fill must not overlap met4 fill block"
|
||||
select -outside -not m4_fill m4_fillblock
|
||||
}
|
||||
// Spacing
|
||||
|
||||
rule m4.fill.9 {
|
||||
caption "Min spacing met4 fill to met4 fill: 0.3 um"
|
||||
exte m4_fill -lt 0.30 -single_point -output region
|
||||
}
|
||||
rule m4.fill.10 {
|
||||
caption "Min spacing (no touch) met4 fill to areaid.seal (SEALID): 1. um"
|
||||
exte m4_fill SEALID -lt 1.0 -output region
|
||||
select -touch m4_fill SEALID
|
||||
select -interact -single_point only m4_fill SEALID ;
|
||||
}
|
||||
rule m4.fill.11 {
|
||||
caption "Min spacing (no touch) met4 fill to via3: 0.5 um"
|
||||
exte m4_fill via3 -lt 0.50 -output region
|
||||
select -touch m4_fill via3 ;
|
||||
}
|
||||
rule m4.fill.12 {
|
||||
caption "Min spacing (no touch) met4 fill to met4 dg: 0.5 um"
|
||||
exte m4_fill m4_dg -lt 0.50 -output region
|
||||
select -touch m4_fill m4_dg
|
||||
select -interact -single_point only m4_fill m4_dg ;
|
||||
}
|
||||
rule m4.fill.13 {
|
||||
caption "Min spacing (no touch) met4 fill to via4: 0.5 um"
|
||||
exte m4_fill via4 -lt 0.50 -output region
|
||||
select -touch m4_fill via4 ;
|
||||
}
|
||||
rule m4.fill.14 {
|
||||
caption "Min spacing (no touch) met4 fill to met4 fill_block: 0.5 um"
|
||||
exte m4_fill m4_fillblock -lt 0.30 -output region
|
||||
select -touch m4_fill m4_fillblock
|
||||
select -interact -single_point only m4_fill m4_fillblock ;
|
||||
}
|
||||
|
||||
// Enclosure
|
||||
rule m4.fill.15 {
|
||||
caption "Min enclosure of met4 fill by FRAME (areaid.fe): 0.5 um"
|
||||
caption " met4 fill straddling FRAME not allowed "
|
||||
enc m4_fill areaid.fe -lt 0.50 -output region
|
||||
edge_select -inside m4_fill areaid.fe ;
|
||||
select -cut m4_fill areaid.fe ;
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// met5 fill
|
||||
|
||||
// Size
|
||||
rule m5.fill.1 {
|
||||
caption "met5 fill must be rectangles"
|
||||
vertex m5_fill -gt 4.0 ;
|
||||
}
|
||||
rule m5.fill.2 {
|
||||
caption "Min width of met5 fill: 2. um"
|
||||
rect_chk m5_fill -lt 2.0 ;
|
||||
}
|
||||
rule m5.fill.3 {
|
||||
caption "Max length of met5 fill: 5. um"
|
||||
rect_chk m5_fill -gt 5.0 ;
|
||||
}
|
||||
|
||||
// Overlap
|
||||
rule m5.fill.4 {
|
||||
caption "met5 fill must not overlap met5"
|
||||
select -outside -not m5_fill m5_dg
|
||||
}
|
||||
rule m5.fill.5 {
|
||||
caption "met5 fill must not overlap areaid:seal"
|
||||
select -outside -not m5_fill SEALID
|
||||
}
|
||||
rule m5.fill.6 {
|
||||
caption "met5 fill must not overlap via4"
|
||||
select -outside -not m5_fill via4
|
||||
}
|
||||
rule m5.fill.7 {
|
||||
caption "met5 fill must not overlap met5 fill block"
|
||||
select -outside -not m5_fill m5_fillblock
|
||||
}
|
||||
// Spacing
|
||||
|
||||
rule m5.fill.8 {
|
||||
caption "Min spacing met5 fill to met5 fill: 1.6 um"
|
||||
exte m5_fill -lt 1.60 -single_point -output region
|
||||
}
|
||||
rule m5.fill.9 {
|
||||
caption "Min spacing (no touch) met5 fill to areaid.seal (SEALID): 1. um"
|
||||
exte m5_fill SEALID -lt 1.0 -output region
|
||||
select -touch m5_fill SEALID
|
||||
select -interact -single_point only m5_fill SEALID ;
|
||||
}
|
||||
rule m5.fill.10 {
|
||||
caption "Min spacing (no touch) met5 fill to met5 dg: 3. um"
|
||||
exte m5_fill m5_dg -lt 3.0 -output region
|
||||
select -touch m5_fill m5_dg
|
||||
select -interact -single_point only m5_fill m5_dg ;
|
||||
}
|
||||
rule m5.fill.11 {
|
||||
caption "Min spacing (no touch) met5 fill to via4: 3. um"
|
||||
exte m5_fill via4 -lt 3.0 -output region
|
||||
select -touch m5_fill via4 ;
|
||||
}
|
||||
rule m5.fill.12 {
|
||||
caption "Min spacing (no touch) met5 fill to met5 fill_block: 3. um"
|
||||
exte m5_fill m5_fillblock -lt 3.0 -output region
|
||||
select -touch m5_fill m5_fillblock ;
|
||||
select -interact -single_point only m5_fill m5_fillblock ;
|
||||
}
|
||||
|
||||
// Enclosure
|
||||
rule m5.fill.13 {
|
||||
caption "Min enclosure of met5 fill by FRAME (areaid.fe): 0.5 um"
|
||||
caption " met5 fill straddling FRAME not allowed "
|
||||
enc m5_fill areaid.fe -lt 0.50 -output region
|
||||
edge_select -inside m5_fill areaid.fe ;
|
||||
select -cut m5_fill areaid.fe ;
|
||||
}
|
||||
|
||||
|
||||
// fill rules involving capm & cap2m
|
||||
// m3_fill, m4_fill should completely avoid capm
|
||||
// m4_fill, m5_fill should completely avoid cap2m
|
||||
|
||||
rule "m3.fill.capm.1" {
|
||||
caption "met3 fill should not overlap or touch capm"
|
||||
select -interact -single_point also m3_fill capm ;
|
||||
}
|
||||
rule "m3.fill.capm.2" {
|
||||
caption "Min space met3 fill to capm: 1.2
|
||||
exte capm m3_fill -lt 1.2 -abut -lt 90 -exclude_shielded -output region
|
||||
}
|
||||
|
||||
// repeat for m4 fill to capm ??
|
||||
// repeat for m4,m5 & cap2m
|
||||
|
||||
rule "m4.fill.cap2m.1" {
|
||||
caption "met4 fill should not overlap or touch cap2m"
|
||||
select -interact -single_point also m4_fill cap2m ;
|
||||
}
|
||||
rule "m4.fill.cap2m.2" {
|
||||
caption "Min space met4 fill to capm: 1.2
|
||||
exte capm m3_fill -lt 1.2 -abut -lt 90 -exclude_shielded -output region
|
||||
}
|
||||
|
||||
+159
@@ -0,0 +1,159 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// depmos rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.43 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// use "isolated_ptap" to remove depmos taps
|
||||
// de_pFet does has dnwell
|
||||
|
||||
AND areaid.en dnwell areaid.de_pFet
|
||||
|
||||
and diff areaid.de_pFet -outputlayer de_pFet_SD
|
||||
|
||||
select -interact -not de_pFet_SD poly -outputlayer isolated_ptap ;
|
||||
|
||||
and isolated_ptap areaid.de_pFet -outputlayer de_pFet_drain_pvsTmp1 ;
|
||||
select -inside -not de_pFet_drain_pvsTmp1 nwell -outputlayer de_pFet_drain
|
||||
|
||||
NOT de_pFet_SD de_pFet_drain de_pFet_source ;
|
||||
|
||||
//select -inside deFET_gate de_pFet_gate_pvsTmp1 -outputlayer de_pFet_gate
|
||||
|
||||
select -cut poly de_pFet_SD -outputlayer de_pFet_gate ;
|
||||
|
||||
|
||||
rule depmos.1 {
|
||||
caption "Min width of de_pFet_gate: 1.05 um"
|
||||
inte de_pFet_gate -lt 1.050 -single_point -output region
|
||||
}
|
||||
|
||||
NOT de_pFet_source poly -outputlayer de_pFet_source_not_poly ;
|
||||
AND de_pFet_source poly -outputlayer de_pFet_source_and_poly ;
|
||||
|
||||
rule depmos.2 {
|
||||
caption "Min width of de_pFet_source not overlapping poly: 0.28 um"
|
||||
inte de_pFet_source_not_poly -lt 0.280 -single_point -output region
|
||||
}
|
||||
|
||||
rule depmos.3 {
|
||||
caption "Min width of de_pFet_source overlapping poly: 0.92 um"
|
||||
inte de_pFet_source_and_poly -lt 0.920 -single_point -output region
|
||||
}
|
||||
|
||||
|
||||
// The minimum width is the edge between the bevels,
|
||||
// NOT the width of the long parallel edges
|
||||
// "inte" won't work here, need to find edges < 0.17 um
|
||||
// but ignore edges not (0 or 90) degrees
|
||||
|
||||
angle -not de_pFet_drain -ltgt 0 90 -outputlayer de_pFet_drain_ortho
|
||||
edge_length de_pFet_drain_ortho -lt 0.170 -outputlayer de_pFet_drain_bad
|
||||
|
||||
rule depmos.4 {
|
||||
caption "Min width of the de_pFet_drain: 0.17 um"
|
||||
copy de_pFet_drain_bad ;
|
||||
}
|
||||
|
||||
|
||||
// cannot use "-eq" with inte; instead, measure width of NOT
|
||||
|
||||
select -cut de_pFet_source nwell -outputlayer de_pFet_source_w_nwell
|
||||
NOT de_pFet_source_w_nwell nwell -outputlayer de_pFet_source_not_nwell ;
|
||||
|
||||
rule depmos.5 {
|
||||
caption "Min/Max extension of de_pFet_source beyond nwell == 0.260"
|
||||
with_width de_pFet_source_not_nwell -ne 0.260
|
||||
}
|
||||
|
||||
|
||||
// /////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// cannot use "-ne" with exte; find S/D shapes not touching "good" region
|
||||
|
||||
// drain might be good on one but not both sides;
|
||||
// in this case, that drain is excluded from "bad" drains
|
||||
// This could make the reporting not obvious where the error is
|
||||
|
||||
// use edge_select instead ??
|
||||
|
||||
//edge_select -outside de_pFet_drain de_pFet_good_region -outputlayer de_pFet_drain_bad.6
|
||||
|
||||
// problem is that OR cannot take this edge layer
|
||||
|
||||
// find "good" regions where the spacing is exactly 1.190
|
||||
// use parallel and opposite as the drain has bevels
|
||||
|
||||
exte de_pFet_drain de_pFet_source -eq 1.190 -single_point -parallel only -metric opposite -output region -outputlayer de_pFet_good_region
|
||||
|
||||
// source shapes that do not touch the good region are bad
|
||||
// drain shapes might touch a good region on one side but not the other side
|
||||
|
||||
select -touch -not de_pFet_source de_pFet_good_region -outputlayer de_pFet_source_bad
|
||||
|
||||
// This one is OK except the drain shape is not shown unless it is bad on both sides
|
||||
// select -touch -not de_pFet_drain de_pFet_good_region -outputlayer de_pFet_drain_bad
|
||||
// OR de_pFet_source_bad de_pFet_drain_bad -outputlayer de_pFet_sd_bad
|
||||
// rule depmos.# { copy de_pFet_sd_bad ; }
|
||||
|
||||
// instead, output the region between the "bad" source and the nearby drain (2.0 might be overkill)
|
||||
|
||||
rule depmos.6 {
|
||||
caption "Min/Max spacing between de_pFet_drain and de_pFet_source == 1.19 um"
|
||||
exte de_pFet_drain de_pFet_source_bad -lt 2.0 -parallel only -metric opposite -output region ;
|
||||
}
|
||||
|
||||
// /////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
edge_boolean -inside de_pFet_gate diff -outputlayer depmos_width
|
||||
|
||||
rule depmos.7 {
|
||||
caption "Min channel width for de_pFet_gate: 5.00 um"
|
||||
edge_length depmos_width -lt 5.0
|
||||
}
|
||||
|
||||
holes nwell -outputlayer nwell_holes
|
||||
select -enclose nwell_holes de_pFET_drain -outputlayer depmos.8_nwell
|
||||
|
||||
// not complete, but any nwell with less than 8 vertices has to be bad
|
||||
|
||||
rule depmos.8 {
|
||||
caption "90 degree angles are not permitted for nwell overlapping de_pFET_drain"
|
||||
vertex depmos.8_nwell -lt 8
|
||||
}
|
||||
|
||||
//rule depmos.9a {
|
||||
// caption "GUIDELINE: All bevels on nwell are 45 degree, 0.43 µm from corners"
|
||||
//}
|
||||
|
||||
//rule depmos.9b {
|
||||
// caption "GUIDELINE: All bevels on de_pFet_drain are 45 degree, 0.05 µm from corners"
|
||||
//}
|
||||
|
||||
rule depmos.10 {
|
||||
caption "Min enclosure of de_pFet_drain by nwell hole: 0.86 um"
|
||||
enc de_pFet_drain nwell_holes -lt 0.860 -output region ;
|
||||
}
|
||||
|
||||
select -enclose nwell_holes de_pFET_drain -outputlayer nwell_enc_de_pFET_Drain
|
||||
|
||||
rule depmos.11 {
|
||||
caption "Min spacing between n+ tap and (nwell hole enclosing de_pFet_drain): 0.66 um"
|
||||
exte ntap_actual nwell_enc_de_pFET_Drain -lt 0.660 -single_point -output region
|
||||
}
|
||||
|
||||
rule depmos.12 {
|
||||
caption "Min enclosure of de_pFet_source by psdm: 0.13 um"
|
||||
enc de_pFet_source psdm -lt 0.130 -output region
|
||||
}
|
||||
|
||||
|
||||
// this rule may no longer be valid...
|
||||
|
||||
//rule depmos.13 {
|
||||
// caption "pvhv fets (except those with W/L = 5.0/0.66) must be enclosed by areaid.mt "
|
||||
//
|
||||
//}
|
||||
|
||||
|
||||
+193
@@ -0,0 +1,193 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Derived Layers //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
select -outside pad areaid.ft -outputlayer bondPad
|
||||
|
||||
and capm met2 -outputlayer bottom_plate_pvsTmp1
|
||||
size bottom_plate_pvsTmp1 -by 3.00 -outputlayer bottom_plate
|
||||
|
||||
select -enclose capm via2 -gt 1 -outputlayer capacitor
|
||||
select -cut -not capm via2 -outputlayer dummy_capacitor
|
||||
|
||||
select -label poly -textname "dummy_poly" -textlayer text -outputlayer dummy_poly
|
||||
|
||||
holes SEALID -outputlayer Chip_extent_pvsTmp1
|
||||
or Chip_extent_pvsTmp1 SEALID -outputlayer Chip_extent
|
||||
|
||||
or diff_mask poly_mask m1_mask m2_mask -outputlayer Diecut_pmm_pvsTmp1
|
||||
not areaid.dt Diecut_pmm_pvsTmp1 -outputlayer Diecut_pmm
|
||||
|
||||
with_width met1 -gt 3.000 -outputlayer huge_met1
|
||||
with_width met2 -gt 3.000 -outputlayer huge_met2
|
||||
with_width met3 -gt 3.000 -outputlayer huge_met3
|
||||
with_width met4 -gt 3.000 -outputlayer huge_met4
|
||||
with_width met5 -gt 3.000 -outputlayer huge_met5
|
||||
|
||||
with_width pad -gt 100.000 -outputlayer hugePad
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// derive substrate, extent regions
|
||||
|
||||
extent_drawn -original -outputlayer ALL
|
||||
|
||||
NOT ALL SEALID -outputlayer ALL_not_sealid
|
||||
|
||||
// If SEALID is missing, "holes SEALID" is empty
|
||||
|
||||
select -cut -not ALL SEALID -outputlayer ALL_outside_sealid
|
||||
|
||||
holes SEALID -inner -empty -outputlayer sealid_hole
|
||||
|
||||
OR sealid_hole ALL_outside_sealid -outputlayer fill_area
|
||||
|
||||
|
||||
not Chip_extent (or nwell localSub) -outputlayer pwell
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
select -touch ptap pwell_res -outputlayer pwell_terminal //djb
|
||||
|
||||
and pwell dnwell -outputlayer iso_pwell
|
||||
|
||||
and poly diff -outputlayer gate_a
|
||||
select -donut -not gate_a -outputlayer gate
|
||||
not gate nwell -outputlayer nfet // ngate
|
||||
and gate nwell -outputlayer pfet // pgate
|
||||
|
||||
select -inside gate lvtn -outputlayer LVTN_Gate
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// DIFF and TAP Layers
|
||||
//
|
||||
// tap is no longer a separate layer
|
||||
// diff and tap are the same layer on mask
|
||||
//
|
||||
// From layer_defs:
|
||||
// drawn tap: tap_dg
|
||||
// drawn diff: diff_dg, diff_fill
|
||||
// input diff: diff_all (OR diff_dg diff_fill)
|
||||
|
||||
// diff_all: OR (diff dg) (diff fill) [in layer_defs]
|
||||
// diff_in: OR (diff dg) (tap dg)
|
||||
// diff: diff_all NOT (diff_res)
|
||||
// ntap: AND (nsdm diff_in nwell) NOT poly
|
||||
// ptap: (nsdm diff_in NOT nwell) NOT poly ; also remove (dnwell NOT ptub)
|
||||
// tap: OR (ntap ptap)
|
||||
|
||||
|
||||
// v2.10: REMOVING diff_fill from diff_in definition
|
||||
// PREVIOUS: diff_in: OR (diff dg) (diff fill) (tap dg)
|
||||
// this will allow applying separate rules for diff_fill
|
||||
// withouth changing the difftap & hvdifftap rules
|
||||
|
||||
//OR diff_all tap_dg diff_in ;
|
||||
OR diff_dg tap_dg diff_in ;
|
||||
|
||||
|
||||
// ndiff: (diff AND nsdm) NOT nwell
|
||||
// pdiff: (diff AND psdm) AND nwell
|
||||
|
||||
AND diff_in nsdm diff_and_nsdm ;
|
||||
AND diff_in psdm diff_and_psdm ;
|
||||
|
||||
NOT diff_and_nsdm nwell ndiff ;
|
||||
AND diff_and_psdm nwell pdiff ;
|
||||
|
||||
NOT (AND (diff_and_nsdm) nwell) poly ntap ;
|
||||
|
||||
NOT (NOT (diff_and_psdm) nwell) (not poly npn) ptap ;
|
||||
|
||||
|
||||
// tap: OR ntap ptap
|
||||
// diff: diff_in NOT tap
|
||||
|
||||
OR ntap ptap tap ;
|
||||
NOT diff_in tap diff ;
|
||||
|
||||
// nsd: ( diff_in AND nsdm ) remove diff_res, remove poly, remove ntap
|
||||
// psd: ( diff_in AND psdm ) remove diff_res, remove poly, remove ptap
|
||||
|
||||
NOT ( NOT ( NOT diff_and_nsdm diff_res ) poly ) ntap nsd ;
|
||||
NOT ( NOT ( NOT diff_and_psdm diff_res ) poly ) ptap psd ;
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
and diff hvi -outputlayer hdiff
|
||||
|
||||
and tap licon -outputlayer tap_licon
|
||||
not tap poly -outputlayer tap_notPoly
|
||||
select -inside tap nwell -outputlayer tap_nwell
|
||||
|
||||
not nwell hvi -outputlayer Var_channel_pvsTmp1
|
||||
and poly tap -outputlayer Var_channel_pvsTmp2
|
||||
and Var_channel_pvsTmp2 Var_channel_pvsTmp1 -outputlayer Var_channel_pvsTmp3
|
||||
not Var_channel_pvsTmp3 areaid.ce -outputlayer Var_channel
|
||||
|
||||
select -cut tap Var_channel -outputlayer VaracTap
|
||||
|
||||
// Other
|
||||
|
||||
select -enclose met4 met4_fuse -outputlayer fuse
|
||||
not fuse met4_fuse -outputlayer fuse_contact
|
||||
select -enclose -not met4 via3 -outputlayer fuse_shield_a
|
||||
select -enclose -not fuse_shield_a via4 fuse_shield_b
|
||||
rect_chk fuse_shield_b -eq 0.500 -by -eq 2.400 -outputlayer fuse_shield
|
||||
|
||||
|
||||
// used also in poly.drc.pvl
|
||||
OR rpm urpm -outputlayer rpm_urpm
|
||||
|
||||
// and rpm psdm -outputlayer prec_resistor
|
||||
// this is better (poly is poly_df OR poly_fill) :
|
||||
and poly ( and poly_res ( and rpm_urpm psdm ) ) -outputlayer prec_resistor
|
||||
select -enclose poly prec_resistor -outputlayer poly_prec_resistor
|
||||
|
||||
|
||||
and nwell hvi -outputlayer nhvi
|
||||
select -inside nwell areaid.hl -outputlayer nhl
|
||||
or nhvi nhl -outputlayer hv_nwell
|
||||
|
||||
and tap hvi -outputlayer htap
|
||||
|
||||
select -inside poly vhvi -outputlayer VHVPoly
|
||||
and VHVPoly diff -outputlayer VHVGate
|
||||
|
||||
and diff tap -outputlayer dtap
|
||||
and dtap vhvi -outputlayer dhvi
|
||||
not dhvi poly -outputlayer dpoly
|
||||
not dpoly diff_res -outputlayer VHVSourceDrain
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Seal Ring
|
||||
// SEALID is the drawn sealring layer (areaid.sl)
|
||||
// sealring: (sealring with hole) enclosing both: (diff with hole) (nsm with hole)
|
||||
// there might be better, more complete derivations
|
||||
// sealring has 4 rings of diff; diff has rectangles on "cfom maskDrop"
|
||||
// there are also structures in the corners ("cdnm mask" & "cpdm mask")
|
||||
|
||||
select -donut SEALID -outputlayer sealring_donut
|
||||
select -donut diff -outputlayer sealring_diff
|
||||
select -donut nsm -outputlayer sealring_nsm
|
||||
select -enclose (select -enclose sealring_donut sealring_diff) (select -enclose sealring_donut sealring_nsm) -outputlayer sealring
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Connect
|
||||
|
||||
connect nwell dnwell
|
||||
connect ntap nwell
|
||||
connect ptap pwell
|
||||
connect li1 nsd -by licon
|
||||
connect li1 psd -by licon
|
||||
connect li1 ntap -by licon
|
||||
connect li1 ptap -by licon
|
||||
connect li1 poly -by licon
|
||||
connect met1 li1 -by mcon
|
||||
connect met2 met1 -by via1
|
||||
connect met3 met2 -by via2
|
||||
connect met4 met3 -by via3
|
||||
connect met5 met4 -by via4
|
||||
|
||||
+193
@@ -0,0 +1,193 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// difftap rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.10 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// diff_fill has its own set of overlap, enclosure, spacing, and width rules
|
||||
// Although not explicitly stated in the DRM, I believe the difftap rules
|
||||
// should not apply to diff_fill. [Same for hvdifftap rules.]
|
||||
// diff_fill size and spacing rules also have larger minimums
|
||||
|
||||
// areaid.sc = areaid standardc
|
||||
// areaid.ce = areaid core
|
||||
|
||||
// shapes considered inside CORE or STANDARDC only if they are completely inside
|
||||
|
||||
// Note that "diff" does not contain "tap" shapes
|
||||
// "diff_in" contains diff:dg and tap:dg
|
||||
|
||||
select -inside diff_in areaid.ce -outputlayer diff_core ;
|
||||
select -outside diff_in areaid.ce -outputlayer diff_notcore ;
|
||||
select -cut diff_in areaid.ce -outputlayer diff_cut_core ;
|
||||
|
||||
select -inside gate areaid.ce -outputlayer gate_core ;
|
||||
NOT gate gate_core -outputlayer gate_notcore ;
|
||||
|
||||
select -inside gate_notcore areaid.sc -outputlayer gate_SC
|
||||
NOT gate_notcore gate_SC -outputlayer gate_not_SC ;
|
||||
|
||||
select -inside tap areaid.ce -outputlayer tap_core ;
|
||||
select -outside tap areaid.ce -outputlayer tap_notcore ;
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// diff width rules
|
||||
|
||||
// Rules difftap.1 1a 1b ** apply the same to diff and tap **
|
||||
|
||||
rule CDR.difftap.1 {
|
||||
caption "CDR: Minimum width of diff or tap outside areaid.ce: 0.15 um"
|
||||
inte (OR diff_notcore tap_notcore) -lt 0.150 -output region
|
||||
}
|
||||
|
||||
rule CDR.difftap.1a {
|
||||
caption "CDR: Minimum width of diff or tap inside areaid.ce: 0.14 um"
|
||||
inte (OR diff_core tap_core) -lt 0.140 -output region
|
||||
}
|
||||
|
||||
rule CDR.difftap.1b {
|
||||
caption "CDR: Minimum width of diff or tap crossing areaid.ce: 0.15 um"
|
||||
inte diff_cut_core -lt 0.150 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
// rules difftap.2 & difftap.2b only apply to gates outside of CORE
|
||||
|
||||
rule difftap.2 {
|
||||
caption "Min channel width (Diff And Poly) for FETs outside areaid.sc and outside areaid.ce : 0.42 um"
|
||||
not diff_notcore gate_not_SC -outputlayer difftap.2_b
|
||||
edge_boolean -not -coincident_only gate_not_SC difftap.2_b -outputlayer difftap.2_c
|
||||
inte difftap.2_c -lt 0.420 -output region
|
||||
}
|
||||
|
||||
rule difftap.2b {
|
||||
caption "Min channel width (Diff and Poly) for FETs inside areaid.sc but outside areaid.ce : 0.36 um"
|
||||
not diff_notcore gate_SC -outputlayer difftap.2b_b
|
||||
edge_boolean -not -coincident_only gate_SC difftap.2b_b -outputlayer difftap.2b_c
|
||||
inte difftap.2b_c -lt 0.360 -output region
|
||||
}
|
||||
|
||||
rule difftap.2c {
|
||||
caption "Min channel width in areaid.ce: 0.14 um"
|
||||
inte ( edge_boolean -coincident_only -inside (AND gate areaid.ce) diff ) -lt 0.14 -abut -lt 90 -output region
|
||||
}
|
||||
|
||||
// difftap.2a is obsolete
|
||||
//rule difftap.2a {
|
||||
// caption "Min channel width (Diff And Poly): TBA for cell names s8cell_ee_plus_sseln_a,"
|
||||
// caption "s8cell_ee_plus_sseln_b, s8cell_ee_plus_sselp_a, s8cell_ee_plus_sselp_b, "
|
||||
// caption "s8fpls_pl8, s8fpls_rdrv4 , s8fpls_rdrv4f and s8fpls_rdrv8 "
|
||||
//}
|
||||
|
||||
rule difftap.4 {
|
||||
caption "Min width of tap butting diffusion: 0.29 um"
|
||||
select -touch tap diff_in -eq 1 -outputlayer difftap.4_a
|
||||
inte difftap.4_a -lt 0.290 -output region
|
||||
}
|
||||
|
||||
rule difftap.5a {
|
||||
caption "Min width of tap outside areaid.ce butting and between diffusion: 0.40 um"
|
||||
inte (edge_boolean -coincident_only -outside (not tap areaid.ce) diff) -lt 0.40 -abut -lt 90 -output region
|
||||
}
|
||||
|
||||
rule difftap.5b {
|
||||
caption "Min width of tap inside areaid.ce butting and between diffusion: 0.38 um"
|
||||
inte (edge_boolean -coincident_only -outside (and tap areaid.ce) diff) -lt 0.380 -abut -lt 90 -output region
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// diff spacing rules
|
||||
|
||||
rule CDR.difftap.3 {
|
||||
caption "CDR: Min spacing of diff to diff: 0.27 um"
|
||||
exte diff_in -lt 0.270 -notch also -output region
|
||||
}
|
||||
|
||||
exte nsdm diff_and_psdm -lt 0.13 -metric opposite -para ONLY -output region -outputlayer diff_nbutting
|
||||
exte psdm diff_and_nsdm -lt 0.13 -metric opposite -para ONLY -output region -outputlayer diff_pbutting
|
||||
|
||||
rule difftap.7 {
|
||||
caption "Min spacing of diff/tap abutting edge to a non-coinciding diff or tap edge: 0.13 um"
|
||||
OR diff_nbutting diff_pbutting ;
|
||||
}
|
||||
|
||||
NOT diff_and_nsdm areaid.ce ndiff_notcore
|
||||
AND diff_and_nsdm areaid.ce ndiff_core
|
||||
|
||||
rule difftap.9 {
|
||||
caption "Min spacing of (n+) diffusion to N-well outside UHVI: 0.34 um"
|
||||
// not ndiff_actual UHVI -outputlayer difftap.9_a
|
||||
not ndiff_notcore UHVI -outputlayer difftap.9_a
|
||||
exte difftap.9_a nwell -lt 0.340 -overlap -single_point -output region
|
||||
}
|
||||
|
||||
rule difftap.11 {
|
||||
caption "Min spacing of (p+) tap to N-well. Rule exempted inside UHVI: 0.13 um"
|
||||
not ptap_actual UHVI -outputlayer difftap.11_a
|
||||
exte difftap.11_a nwell -lt 0.130 -output region
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// diff enclosure rules
|
||||
|
||||
// uhvi == v20
|
||||
// areaid.ed : ESD
|
||||
|
||||
rule difftap.8a {
|
||||
caption "Min enclosure of (p+) diffusion by N-well: 0.18 um"
|
||||
caption "Rule exempted inside: UHVI / areaid.ed (ESD) / areaid.ce (CORE) "
|
||||
not (not (not pdiff_actual UHVI) areaid.ed) areaid.ce -outputlayer difftap.8_a
|
||||
enc difftap.8_a nwell -lt 0.180 -output region
|
||||
}
|
||||
|
||||
rule difftap.8b {
|
||||
caption "Min enclosure of (p+) diffusion in areaid.ce by N-well: 0.15 um"
|
||||
AND pdiff_actual areaid.ce -outputlayer difftap.8b_a
|
||||
enc difftap.8b_a nwell -lt 0.150 -output region
|
||||
}
|
||||
|
||||
// rect_enc seems to not work properly if the input shapes is not a rectangle
|
||||
// need to update this rule to check for those shapes
|
||||
|
||||
rule difftap.8c {
|
||||
caption "Min enclosure of adjacent sides of (p+) diffusion in areaid.ce by N-well: 0.18 um"
|
||||
select -inside (rect_chk pdiff_actual -orthogonal_only) areaid.ce -outputlayer difftap.8c_a
|
||||
rect_enc difftap.8c_a nwell -good 0.18 0.00 0.18 0.00
|
||||
}
|
||||
|
||||
rule difftap.10a {
|
||||
caption "Min enclosure of (n+) tap by N-well: 0.18 um"
|
||||
caption "Rule exempted inside: UHVI / areaid.ed (ESD) / areaid.ce (CORE) "
|
||||
not (not (not ntap_actual UHVI) areaid.ed) areaid.ce -outputlayer difftap.10_a
|
||||
enc difftap.10_a nwell -lt 0.180 -output region
|
||||
}
|
||||
|
||||
rule difftap.10b {
|
||||
caption "Min enclosure of (n+) tap in areaid.ce by N-well: 0.15 um"
|
||||
AND ntap_actual areaid.ce -outputlayer difftap.10b_a
|
||||
enc difftap.10b_a nwell -lt 0.150 -output region
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
rule difftap.6 {
|
||||
caption "diff and tap are not allowed to extend beyond their abutting edge"
|
||||
edge_boolean -coincident_only diff tap -outputlayer difftap.6_a
|
||||
edge_select -coincident_only diff tap -outputlayer difftap.6_b
|
||||
edge_boolean -coincident_only -not difftap.6_a difftap.6_b
|
||||
}
|
||||
|
||||
//rule difftap.12 {
|
||||
// caption "GUIDELINE: ESD_nwell_tap is considered shorted to the abutting diff"
|
||||
// caption "NOT CHECKED BY DRC"
|
||||
//}
|
||||
|
||||
//rule difftap.13 {
|
||||
// caption "Diffusion or the RF FETS in Table H5 is defined by Ldiff and Wdiff."
|
||||
// caption "NOT CHECKED, Informational statement"
|
||||
//}
|
||||
|
||||
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// dnwell rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.2 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
rule CDRW.dnwell.2 {
|
||||
caption "CDRW: Min width of deep nwell: 3. um"
|
||||
inte dnwell -lt 3.0 -output region
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
select -outside dnwell uhvi -outputlayer dnwell_lvi
|
||||
stamp dnwell_lvi dnwell dnwell_lv
|
||||
|
||||
and dnwell uhvi -outputlayer dnwell_uhvi ;
|
||||
|
||||
rule CDRW.dnwell.3 {
|
||||
caption "CDRW: Min spacing/notch between deep nwell (rule exempt inside UHVI): 6.3 um"
|
||||
exte dnwell_lv -lt 6.3 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
rule "dnwell.3a" {
|
||||
caption "Min spacing of dwnell in v20 on same net: 2.5"
|
||||
exte dnwell_uhvi -lt 12.0 -abut -lt 90 -single_point -output region -connected
|
||||
}
|
||||
rule "dnwell.3d" {
|
||||
caption "Min spacing of dwnell in v20 not on same net: 12.0"
|
||||
exte dnwell_uhvi -lt 12.0 -abut -lt 90 -single_point -output region -not_connected
|
||||
}
|
||||
rule "dnwell.3b" {
|
||||
caption "Min spacing of dnwell in uhvi to dnwell outside uhvi: 12.0"
|
||||
exte dnwell_uhvi dnwell_lv -lt 12.0 -abut -lt 90 -single_point -output region -exclude_false_notch
|
||||
}
|
||||
rule "dnwell.3c" {
|
||||
caption "Min spacing of dnwell in v20 to nwell outside v20: 9.5"
|
||||
exte dnwell_uhvi dnwell_lv -lt 9.5 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
rule dnwell.4 {
|
||||
caption "Dnwell can not overlap pnp"
|
||||
and dnwell pnp ;
|
||||
}
|
||||
|
||||
rule dnwell.5 {
|
||||
caption P+ Diff can not straddle dnwell"
|
||||
select -cut pdiff dnwell
|
||||
}
|
||||
|
||||
//rule dnwell.6 {
|
||||
// caption "RF NMOS must be enclosed by deep nwell"
|
||||
// caption "No RF devices in PDK
|
||||
// not rfnmos dnwell ;
|
||||
//}
|
||||
|
||||
rule dnwell.7 {
|
||||
caption "Dnwell can not straddle areaid:substratecut"
|
||||
select -cut dnwell localSub
|
||||
}
|
||||
|
||||
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// HV rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.45 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//rule hv.X.1 {
|
||||
// caption "High voltage source/drain regions must be tagged by diff:hv"
|
||||
//}
|
||||
|
||||
//rule hv.X.3 {
|
||||
// caption "High voltage poly can be drawn over multiple diff regions that are ALL reverse-biased by at least 300 mV"
|
||||
// caption "(existence of reverse-bias is not checked by the CAD flow). It can also be drawn over multiple diffs when"
|
||||
// caption "all sources and all drain are shorted together. In these case, the high voltage poly can be tagged with "
|
||||
// caption "the text:dg label with a value 'hv_bb'. Exceptions to this use of the hv_bb label must be approved by technology."
|
||||
// caption "Under certain bias conditions, high voltage poly tagged with hv_bb can cross an nwell boundary. "
|
||||
// caption "The poly of the drain extended device crosses nwell by construction and can be tagged with the 'hv_bb' label."
|
||||
// caption "Use of the hv_bb label on high voltage poly crossing an nwell boundary must be approved by technology. "
|
||||
// caption "All high voltage poly tagged with hv_bb will not be checked to hv.poly.1, hv.poly.2, hv.poly.3 and hv.poly.4."
|
||||
//}
|
||||
|
||||
//rule hv.X.4 {
|
||||
// caption "Any piece of layout that is shorted to hv_source/drain becomes a high voltage feature."
|
||||
//}
|
||||
|
||||
// Remaining hv rules are not coded as it is believed DRM is out-of-date
|
||||
// Will be revisited in a future release
|
||||
|
||||
+109
@@ -0,0 +1,109 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// hvdifftap rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.39 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// diff_fill has its own set of overlap, enclosure, spacing, and width rules
|
||||
// Although not explicitly stated in the DRM, I believe the hvdifftap rules
|
||||
// should not apply to diff_fill. [Same for difftap rules.]
|
||||
|
||||
rule hvdifftap.14 {
|
||||
caption "Min width of diff (not tap) inside hvi, except HV pdiff resistors (hvdifftap.14a): 0.29 um"
|
||||
and diff hvi -outputlayer hvdiff
|
||||
inte (select -interact -not hvdiff diff_res) -lt 0.290 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvdifftap.14a {
|
||||
caption "Min width of diff inside hvi, HV pdiff resistors only: 0.15 um"
|
||||
and (AND diff diff_res) hvi -outputlayer hvdiff
|
||||
inte hvdiff -lt 0.150 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvdifftap.15a {
|
||||
caption "Min space of diff inside hvi: 0.30 um"
|
||||
exte hdiff hdiff -lt 0.300 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvdifftap.15b {
|
||||
caption "Min space of ndiff to non-abutting ptap inside hvi: 0.37 um"
|
||||
and ptap hvi -outputlayer hvdifftap.15b_a
|
||||
and ndiff hvi -outputlayer hvdifftap.15b_b
|
||||
exte hvdifftap.15b_a hvdifftap.15b_b -lt 0.370 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvdifftap.16 {
|
||||
caption "Min width tap butting diff on one or two sides inside hvi: 0.70 um"
|
||||
caption " Rule exempted inside UHVI"
|
||||
select -touch htap hdiff -ltgt 0 3 -outputlayer hvdifftap.16_a
|
||||
not hvdifftap.16_a uhvi -outputlayer hvdifftap.16_b
|
||||
inte hvdifftap.16_b -lt 0.700 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvdifftap.17 {
|
||||
caption "Min enclosure of HV pdiff or pdiff inside areaid:hvnwell by HV nwell: 0.33 um"
|
||||
caption " Rule exempted inside UHVI "
|
||||
select -outside -not pdiff areaid.hl -outputlayer hvdifftap.17_a
|
||||
enc hvdifftap.17_a hv_nwell -lt 0.330 -output region
|
||||
}
|
||||
|
||||
rule hvdifftap.18 {
|
||||
caption "Min spacing of N+ diff to HV nwell (rule exempted inside UHVI): 0.43 um"
|
||||
not ndiff uhvi -outputlayer hvdifftap.18_a
|
||||
exte hvdifftap.18_a hv_nwell -lt 0.430 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvdifftap.19 {
|
||||
caption "Min enclosure of HV ntap by HV nwell: 0.33 um"
|
||||
caption " Rule exempted inside UHVI "
|
||||
not htap uhvi -outputlayer hvdifftap.19_a
|
||||
enc hvdifftap.19_a hv_nwell -lt 0.330 -output region
|
||||
}
|
||||
|
||||
rule hvdifftap.20 {
|
||||
caption "Spacing of P+ tap to HV nwell (Exempted for ptap butting pwell.rs, rule exempted inside UHVI): 0.43 um"
|
||||
not ptap uhvi -outputlayer hvdifftap.20_a
|
||||
exte hvdifftap.20_a hv_nwell -lt 0.430 -output region
|
||||
}
|
||||
|
||||
rule hvdifftap.21 {
|
||||
caption "Diff or tap cannot straddle hvi"
|
||||
select -cut diff hvi
|
||||
select -cut tap hvi
|
||||
}
|
||||
|
||||
rule hvdifftap.22 {
|
||||
caption "Min enclosure of Hdiff or Htap by hvi. Rule exempted inside UHVI: 0.18 um "
|
||||
not hdiff uhvi -outputlayer hvdifftap.22_a
|
||||
not htap uhvi -outputlayer hvdifftap.22_b
|
||||
enc hvdifftap.22_a hvi -lt 0.180 -output region
|
||||
enc hvdifftap.22_b hvi -lt 0.180 -output region
|
||||
}
|
||||
|
||||
|
||||
// This rule is obsolete and removed
|
||||
|
||||
// rule hvdifftap.23 {
|
||||
// caption "Space between diff or tap outside hvi and hvi: 0.18 um"
|
||||
// not diff hvi -outputlayer hvdifftap.23_a
|
||||
// not tap hvi -outputlayer hvdifftap.23_b
|
||||
// exte hvdifftap.23_a hvi -lt 0.180 -output region
|
||||
// exte hvdifftap.23_b hvi -lt 0.180 -output region }
|
||||
|
||||
rule hvdifftap.24 {
|
||||
caption "Min spacing of nwell to HV ndiff (rule exempted inside UHVI): 0.43 um"
|
||||
not nwell uhvi -outputlayer hvdifftap.24_a
|
||||
exte hvdifftap.24_a hdiff -lt 0.430 -output region
|
||||
}
|
||||
|
||||
rule CDR.hvdifftap.25 {
|
||||
caption "CDR: Min space of N+ Hdiff inside HVI across non-abutting P+_tap: 1.07 um"
|
||||
not hdiff hvi -outputlayer hvdifftap.25_a
|
||||
exte hvdifftap.25_a ptap -lt 0.107 -output region
|
||||
}
|
||||
|
||||
//rule hvdifftsp.26 {
|
||||
// caption "Min spacing between pwbm to difftap outside UHVI"
|
||||
// caption "No value provided"
|
||||
//}
|
||||
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// hvi rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.37 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// "hvi" is "v5 dg" in some Virtuoso libraries
|
||||
// layer_def hvi 1011
|
||||
// layer_map 75 -datatype 20 1011 //hvi,drawing,75:20
|
||||
// v5 drawing 75 20
|
||||
|
||||
// find edges of hvi over nwell,
|
||||
// easier to see / understand than outputing the entire hvi or nwell shape
|
||||
|
||||
rule hvi.nwell {
|
||||
caption "hvi must not straddle nwell"
|
||||
edge_boolean -inside hvi nwell
|
||||
}
|
||||
|
||||
rule hvi.1 {
|
||||
caption "Min width of Hvi: 0.02 um"
|
||||
inte hvi -lt 0.020 -single_point -output region
|
||||
}
|
||||
|
||||
// Rule hvi.5 is obsolete due to additions of nwell spacing rules nwell.2a.XXX and nwell.8.XXX
|
||||
//rule hvi.5 {
|
||||
// caption "Min space between hvi and nwell (exclude coincident edges): 0.70 um"
|
||||
// caption " NOTE: possible false errors due to out-of-date DRM information"
|
||||
// exte hvi nwell -lt 0.700 -single_point -output region
|
||||
//}
|
||||
|
||||
rule hvi.2 {
|
||||
caption "Min spacing of Hvi to Hvi: 0.70 um"
|
||||
caption "Manual merge if space is below minimum"
|
||||
exte hvi hvi -lt 0.700 -single_point -output region
|
||||
}
|
||||
|
||||
//rule hvi.2b {
|
||||
// caption "Manual merge if space is below minimum"
|
||||
// caption "Not Coded"
|
||||
//}
|
||||
|
||||
rule hvi.4 {
|
||||
caption "Hvi must not overlap tunm"
|
||||
and hvi tunm
|
||||
}
|
||||
|
||||
+70
@@ -0,0 +1,70 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// hvntm rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.41 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//rule hvntm.X.1 {
|
||||
// caption "Hvntm can be drawn inside HVI. Drawn layer will be OR-ed with the CL and rechecked for CLDRC"
|
||||
// not coded as hvntm outside of HVI is covered by rule hvntm.10
|
||||
//}
|
||||
|
||||
rule CDR.hvntm.1 {
|
||||
caption "CDR: Min width of hvntm: 0.70 um"
|
||||
inte hvntm -lt 0.700 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvntm.2 {
|
||||
caption "Spacing of hvntm to hvntm: 0.70 um"
|
||||
exte hvntm hvntm -lt 0.700 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvntm.3 {
|
||||
caption "Min enclosure of (ndiff inside hvi) but not overlapping areaid.ce by hvntm: 0.185 um"
|
||||
select -inside ndiff hvi -outputlayer hvntm.3_a
|
||||
NOT hvntm.3_a areaid.ce hvntm.3_b
|
||||
enc hvntm.3_b hvntm -lt 0.185 -output region
|
||||
}
|
||||
|
||||
rule hvntm.4 {
|
||||
caption "Min space between (ndiff outside hvi) and hvntm: 0.185 um"
|
||||
caption " No overlap allowed "
|
||||
select -outside ndiff hvi -outputlayer hvntm.4_a
|
||||
exte hvntm.4_a hvntm -lt 0.185 -single_point -output region
|
||||
AND (NOT ndiff hvi) hvntm ;
|
||||
}
|
||||
|
||||
rule hvntm.5 {
|
||||
caption "Min space between pdiff and hvntm: 0.185 um"
|
||||
caption " No overlap allowed "
|
||||
exte pdiff hvntm -lt 0.185 -overlap -single_point -output region
|
||||
}
|
||||
|
||||
rule hvntm.6a {
|
||||
caption "Min space between ptap and hvntm (except along the diff-butting edge): 0.185 um"
|
||||
caption " No overlap allowed "
|
||||
exte ptap hvntm -lt 0.185 -overlap -single_point -output region
|
||||
}
|
||||
|
||||
rule hvntm.6b {
|
||||
caption "Min space between ptap and hvntm along the diff-butting edge: 0.00 um"
|
||||
caption " No overlap allowed "
|
||||
select -touch ptap hvntm -outputlayer hvntm.6b_a
|
||||
exte hvntm.6b_a ptap -eq 0.000 -output region
|
||||
}
|
||||
|
||||
//rule hvntm.7 {
|
||||
// caption "Min enclosure of (ESD_nwell_tap inside hvi) by hvntm;"
|
||||
// caption "NO INFORMATION PROVIDED"
|
||||
//}
|
||||
|
||||
rule hvntm.9 {
|
||||
caption "hvntm must not overlap areaid.ce"
|
||||
and hvntm areaid.ce
|
||||
}
|
||||
|
||||
rule hvntm.10 {
|
||||
caption "hvntm must overlap hvi (v5)"
|
||||
NOT hvntm hvi ;
|
||||
}
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// hvnwell rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.38 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// hvi == v5 ; vhvi == v12 ; uhvi == v20
|
||||
|
||||
// multiple minimum spacings for nwell regions with different voltages
|
||||
|
||||
// derive nwell voltage layers
|
||||
|
||||
// nwell_lv -- 1.8v, low voltage nwell (not v5, v12, v20)
|
||||
// nwell_hv -- 5v, high voltage nwell (v5)
|
||||
// nwell_vhv -- 12v, very high voltage nwell (v12)
|
||||
// nwell_uhv -- 20v, ltra high voltage nwell (v20)
|
||||
|
||||
// all_hvi -- OR of all high voltage markers (hvi, vhvi, uhvi)
|
||||
|
||||
OR hvi vhvi uhvi -outputlayer all_hvi
|
||||
|
||||
select -interact nwell uhvi -outputlayer nwell_uhvi
|
||||
stamp nwell_uhvi nwell -outputlayer nwell_uhv
|
||||
|
||||
not nwell nwell_uhv -outputlayer nw_not_uvh
|
||||
select -interact nw_not_uvh vhvi -outputlayer nwell_vhvi
|
||||
stamp nwell_vhvi nwell -outputlayer nwell_vhv
|
||||
|
||||
not nwell ( or nwell_uhv nwell_vhv ) -outputlayer nw_not_vhv_or_uhv
|
||||
select -interact nw_not_vhv_or_uhv hvi -outputlayer nwell_hvi
|
||||
stamp nwell_hvi nwell -outputlayer nwell_hv
|
||||
|
||||
// areaid lv_net 81 66
|
||||
//layer_def lv_net 1299
|
||||
//layer_map 81 -datatype 66 1284 // areaid:lvnet
|
||||
// ** lv_net is NOT in the sky130_fd_pr_main library
|
||||
|
||||
select -interact -not nwell all_hvi -outputlayer nwell_lvi
|
||||
stamp nwell_lvi nwell -outputlayer nwell_lv
|
||||
|
||||
|
||||
//Obsolete
|
||||
//rule hvnwell.8 {
|
||||
// caption "Min space between HV_nwell and any nwell on different nets: 2.00 um"
|
||||
// caption " NOTE: possible false errors due to out-of-date DRM information"
|
||||
// exte nwell nwell -lt 2.000 -single_point -output region
|
||||
//}
|
||||
|
||||
|
||||
// spacing of 1.8v nwell found in nwell.drc.pvl
|
||||
// spacing of 1.8v nwell to other voltages found in nwell.drc.pvl
|
||||
|
||||
// NOTE: spacings with LV nwell are in nwell.drc.pvl
|
||||
|
||||
rule "hvnwell.8.hv" {
|
||||
caption "Min space/notch of HV_nwell: 1.27"
|
||||
exte nwell_hv -lt 1.27 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
rule "hvnwell.8.hv_vhv" {
|
||||
caption "Min space of HV_nwell to VHV_nwell: 2.0"
|
||||
exte nwell_hv nwell_vhv -lt 2.0 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
rule "hvnwell.8.hv_uhv" {
|
||||
caption "Min space of HV_nwell to UHV_nwell: 2.5"
|
||||
exte nwell_hv nwell_uhv -lt 2.5 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
rule "hvnwell.8.vhv" {
|
||||
caption "Min space/notch of VHV_nwell: 2.0"
|
||||
exte nwell_vhv -lt 2.0 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
rule "hvnwell.8.vhv_uhv" {
|
||||
caption "Min space of VHV_nwell to UHV_nwell: 2.5"
|
||||
exte nwell_vhv nwell_uhv -lt 2.5 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
rule "hvnwell.8.uvh" {
|
||||
caption "Min space/notch of UHV_nwell: 2.5"
|
||||
exte nwell_uhv -lt 2.5 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
|
||||
select -cut nwell hvi -outputlayer nwell_ovlp_hvi
|
||||
|
||||
rule hvnwell.9 {
|
||||
caption "(Nwell overlapping hvi) must be enclosed by hvi"
|
||||
NOT nwell_ovlp_hvi hvi ;
|
||||
}
|
||||
|
||||
//rule hvnwell.10 {
|
||||
// caption "LVnwell and HVnwell should not be on the same net (for the purposes of this check, short the connectivity through resistors);"
|
||||
// caption 'Exempt HnWell with li nets tagged "lv_net" using text.dg and Hnwell connected to nwell overlapping areaid.hl"
|
||||
// caption "Not Coded"
|
||||
//}
|
||||
|
||||
// Rule is possibly obsolete, need to check and update wording
|
||||
//rule hvnwell.11 {
|
||||
// caption "Nwell connected to the nets mentioned in the 'Power_Net_Hv' field of the latchup GUI must be enclosed by hvi"
|
||||
// caption "(exempt nwell inside areaid.hl). Also for the purposes of this check, short the connectivity through resistors."
|
||||
/// caption "Not Coded"
|
||||
//}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// hvpoly rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.40 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// hvpoly.13 should look for the width of poly where it crosses OVER diff
|
||||
// *not* the width of the (poly & diff & hvi) region
|
||||
// but don't consider the entire poly shape, that will give false results
|
||||
|
||||
// and poly hvi -outputlayer hvpoly.13_a
|
||||
// and hvpoly.13_a diff -outputlayer hvpoly.13_b
|
||||
// inte hvpoly.13_b -lt 0.500 -output region
|
||||
|
||||
select -inside poly hvi -outputlayer hvpoly.13_a
|
||||
select -cut hvpoly.13_a diff -outputlayer hvpoly.13_b
|
||||
|
||||
// find the edges of poly that are coincident with the gate region
|
||||
// (edges from the sides of poly crossing over diff)
|
||||
// defined earlier
|
||||
// and poly diff -outputlayer gate_a
|
||||
|
||||
edge_boolean -coincident_only hvpoly.13_b gate_a -outputlayer poly_edges
|
||||
|
||||
rule hvpoly.13 {
|
||||
caption "Min width of poly over diff inside hvi: 0.50 um"
|
||||
inte poly_edges -lt 0.5 -metric opposite -para ONLY -output region
|
||||
}
|
||||
|
||||
rule hvpoly.14 {
|
||||
caption "(poly and diff) cannot straddle hvi"
|
||||
select -cut gate hvi
|
||||
}
|
||||
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// hvtp rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.6 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
rule hvtp.1 {
|
||||
caption "CDR: Min width of hvtp: 0.38 um"
|
||||
inte hvtp -lt 0.380 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvtp.2 {
|
||||
caption "CDR: Min spacing of hvtp to hvtp: 0.38 um"
|
||||
exte hvtp -lt 0.380 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvtp.3 {
|
||||
caption "Min enclosure of pfet outside of areaid.ce by hvtp: 0.18 um"
|
||||
enc (select -outside pfet areaid.ce) hvtp -lt 0.180 -output region
|
||||
}
|
||||
|
||||
rule hvtp.4 {
|
||||
caption "Min spacing between pfet and hvtp: 0.18 um"
|
||||
exte pfet hvtp -lt 0.180 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvtp.5 {
|
||||
caption "Min area of hvtp: 0.265 sq um"
|
||||
area hvtp -lt 0.265
|
||||
}
|
||||
|
||||
rule hvtp.6 {
|
||||
caption "Min area of hvtp holes: 0.265 sq um"
|
||||
holes hvtp -outputlayer hvtp.6_a
|
||||
area hvtp.6_a -lt 0.265
|
||||
}
|
||||
|
||||
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// hvtr rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.7 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
rule hvtr.1 {
|
||||
caption "CDR: Min width of hvtr: 0.38 um"
|
||||
inte hvtr -lt 0.380 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvtr.2 {
|
||||
caption "CDR: Min spacing of hvtp to hvtr: 0.38 um"
|
||||
exte hvtp hvtr -lt 0.380 -single_point -output region
|
||||
}
|
||||
|
||||
rule hvtr.3 {
|
||||
caption "Min enclosure of pfet by hvtr: 0.18 um"
|
||||
enc pfet hvtr -lt 0.180 -output region
|
||||
}
|
||||
|
||||
+660
@@ -0,0 +1,660 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Input layer definitions //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// NOTES
|
||||
// met drawing layers are now (eg): m1_dg
|
||||
// met fill shapes read in (eg): m1_fill
|
||||
//
|
||||
// tap is no longer a separate layer from diff
|
||||
// layers here are now diff_dg and tap_dg
|
||||
|
||||
layer_def diff_dg 1001
|
||||
layer_map 65 -datatype 20 1001 //diff,drawing,65:20
|
||||
layer_def diff_txt 1002
|
||||
layer_map 65 -texttype 20 1002 //diff,text,65:20
|
||||
|
||||
// tap is no longer defined in S130 PDK
|
||||
// drawn tap is merged into diff on mask
|
||||
// will derive "tap" instead in derived layer file
|
||||
// tap remains in the Sky130 PDK, however.
|
||||
// "tap_dg" read in and processed to support legacy designs
|
||||
|
||||
layer_def tap_dg 1003
|
||||
layer_map 65 -datatype 44 1003 //tap,drawing,65:44
|
||||
|
||||
layer_def nwell 1004
|
||||
layer_map 64 -datatype 20 1004 //nwell,drawing,64:20
|
||||
layer_def dnwell 1005
|
||||
layer_map 64 -datatype 18 1005 //dnwell,drawing,64:18
|
||||
layer_def pwbm 1006
|
||||
layer_map 19 -datatype 44 1006 //pwbm,drawing,19:44
|
||||
layer_def pwde 1007
|
||||
layer_map 124 -datatype 20 1007 //pwde,drawing,124:20
|
||||
layer_def hvtr 1008
|
||||
layer_map 18 -datatype 20 1008 //hvtr,drawing,18:20
|
||||
layer_def hvtp 1009
|
||||
layer_map 78 -datatype 44 1009 //hvtp,drawing,78:44
|
||||
layer_def ldntm 1010
|
||||
layer_map 11 -datatype 44 1010 //ldntm,drawing,11:44
|
||||
layer_def hvi 1011
|
||||
layer_map 75 -datatype 20 1011 //hvi,drawing,75:20
|
||||
layer_def tunm 1012
|
||||
layer_map 80 -datatype 20 1012 //tunm,drawing,80:20
|
||||
layer_def lvtn 1013
|
||||
layer_map 125 -datatype 44 1013 //lvtn,drawing,125:44
|
||||
layer_def poly_dg 1014
|
||||
layer_map 66 -datatype 20 1014 //poly,drawing,66:20
|
||||
layer_def poly_txt 1015
|
||||
layer_map 66 -texttype 20 1015 //poly,text,66:20
|
||||
layer_def hvntm 1016
|
||||
layer_map 125 -datatype 20 1016 //hvntm,drawing,125:20
|
||||
layer_def nsdm 1017
|
||||
layer_map 93 -datatype 44 1017 //nsdm,drawing,93:44
|
||||
layer_def psdm 1018
|
||||
layer_map 94 -datatype 20 1018 //psdm,drawing,94:20
|
||||
layer_def rpm 1019
|
||||
layer_map 86 -datatype 20 1019 //rpm,drawing,86:20
|
||||
layer_def urpm 1020
|
||||
layer_map 79 -datatype 20 1020 //urpm,drawing,79:20
|
||||
layer_def npc 1021
|
||||
layer_map 95 -datatype 20 1021 //npc,drawing,95:20
|
||||
layer_def licon 1022
|
||||
layer_map 66 -datatype 44 1022 //licon,drawing,66:44
|
||||
layer_def li_dg 1023
|
||||
layer_map 67 -datatype 20 1023 //li1,drawing,67:20
|
||||
layer_def li1_text 1024
|
||||
layer_map 67 -texttype 20 1024 //li1,text,67:20
|
||||
layer_def mcon 1025
|
||||
layer_map 67 -datatype 44 1025 //mcon,drawing,67:44
|
||||
layer_def m1_dg 1026
|
||||
layer_map 68 -datatype 20 1026 //met1,drawing,68:20
|
||||
layer_def met1_text 1027
|
||||
layer_map 68 -texttype 20 1027 //met1,text,68:20
|
||||
layer_def via1 1028
|
||||
layer_map 68 -datatype 44 1028 //via1,drawing,68:44
|
||||
layer_def m2_dg 1029
|
||||
layer_map 69 -datatype 20 1029 //met2,drawing,69:20
|
||||
layer_def met2_text 1030
|
||||
layer_map 69 -texttype 20 1030 //met2,text,69:20
|
||||
layer_def via2 1031
|
||||
layer_map 69 -datatype 44 1031 //via2,drawing,69:44
|
||||
layer_def m3_dg 1032
|
||||
layer_map 70 -datatype 20 1032 //met3,drawing,70:20
|
||||
layer_def met3_text 1033
|
||||
layer_map 70 -texttype 20 1033 //met3,text,70:20
|
||||
layer_def via3 1034
|
||||
layer_map 70 -datatype 44 1034 //via3,drawing,70:44
|
||||
layer_def m4_dg 1035
|
||||
layer_map 71 -datatype 20 1035 //met4,drawing,71:20
|
||||
layer_def met4_text 1036
|
||||
layer_map 71 -texttype 20 1036 //met4,text,71:20
|
||||
layer_def via4 1037
|
||||
layer_map 71 -datatype 44 1037 //via4,drawing,71:44
|
||||
layer_def m5_dg 1038
|
||||
layer_map 72 -datatype 20 1038 //met5,drawing,72:20
|
||||
layer_def met5_text 1039
|
||||
layer_map 72 -texttype 20 1039 //met5,text,72:20
|
||||
layer_def pad 1040
|
||||
layer_map 76 -datatype 20 1040 //pad,drawing,76:20
|
||||
layer_def pad_text 1041
|
||||
layer_map 76 -texttype 20 1041 //pad,text,76:20
|
||||
layer_def nsm 1042
|
||||
layer_map 61 -datatype 20 1042 //nsm,drawing,61:20
|
||||
layer_def capm 1043
|
||||
layer_map 89 -datatype 44 1043 //capm,drawing,89:44
|
||||
layer_def cap2m 1044
|
||||
layer_map 97 -datatype 44 1044 //cap2m,drawing,97:44
|
||||
layer_def vhvi 1045
|
||||
layer_map 74 -datatype 21 1045 //vhvi,drawing,74:21
|
||||
layer_def uhvi 1046
|
||||
layer_map 74 -datatype 22 1046 //uhvi,drawing,74:22
|
||||
layer_def npn 1047
|
||||
layer_map 82 -datatype 20 1047 //npn,drawing,82:20
|
||||
layer_def inductor 1048
|
||||
layer_map 82 -datatype 24 1048 //inductor,drawing,82:24
|
||||
layer_def capacitor_in 1049
|
||||
layer_map 82 -datatype 64 1049 //capacitor,drawing,82:64
|
||||
layer_def pnp 1050
|
||||
layer_map 82 -datatype 44 1050 //pnp,drawing,82:44
|
||||
layer_def LVS_prune 1051
|
||||
layer_map 84 -datatype 44 1051 //LVS prune,drawing,84:44
|
||||
layer_def ncm 1052
|
||||
layer_map 92 -datatype 44 1052 //ncm,drawing,92:44
|
||||
layer_def padCenter 1053
|
||||
layer_map 81 -datatype 20 1053 //padCenter,drawing,81:20
|
||||
layer_def target 1054
|
||||
layer_map 76 -datatype 44 1054 //target,drawing,76:44
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// areaid layers
|
||||
|
||||
layer_def SEALID 1055 // Virtuoso:areaidseal
|
||||
layer_map 81 -datatype 1 1055 // SEALID,identifier,81:1
|
||||
// (81:7) does not exist in GDS layer map
|
||||
//layer_map 81 -datatype 7 1055 // SEALID,identifier,81:7
|
||||
layer_def areaid.ce 1056 // memory core id
|
||||
layer_map 81 -datatype 2 1056 //areaid.ce,identifier,81:2
|
||||
layer_def areaid.fe 1057
|
||||
layer_map 81 -datatype 3 1057 //areaid.fe,identifier,81:3
|
||||
layer_def areaid.sc 1058
|
||||
layer_map 81 -datatype 4 1058 //areaid.sc,identifier,81:4
|
||||
layer_def areaid.sf 1059
|
||||
layer_map 81 -datatype 6 1059 //areaid.sf,identifier,81:6
|
||||
layer_def areaid.sr 1061
|
||||
layer_map 81 -datatype 8 1061 //areaid.sr,identifier,81:8
|
||||
layer_def areaid.mt 1062
|
||||
layer_map 81 -datatype 10 1062 //areaid.mt,identifier,81:10
|
||||
layer_def areaid.dt 1063
|
||||
layer_map 81 -datatype 11 1063 //areaid.dt,identifier,81:11
|
||||
layer_def areaid.ft 1064
|
||||
layer_map 81 -datatype 12 1064 //areaid.ft,identifier,81:12
|
||||
layer_def areaid.ww 1065
|
||||
layer_map 81 -datatype 13 1065 //areaid.ww,identifier,81:13
|
||||
layer_def areaid.ld 1066
|
||||
layer_map 81 -datatype 14 1066 //areaid.ld,identifier,81:14
|
||||
layer_def areaid.ns 1067
|
||||
layer_map 81 -datatype 15 1067 //areaid.ns,identifier,81:15
|
||||
layer_def areaid.ij 1068
|
||||
layer_map 81 -datatype 17 1068 //areaid.ij,identifier,81:17
|
||||
layer_def areaid.zr 1069
|
||||
layer_map 81 -datatype 18 1069 //areaid.zr,identifier,81:18
|
||||
layer_def areaid.ed 1070 //ESD
|
||||
layer_map 81 -datatype 19 1070 //areaid.ed,identifier,81:19
|
||||
layer_def areaid.de 1071
|
||||
layer_map 81 -datatype 23 1071 //areaid.de,identifier,81:23
|
||||
layer_def areaid.rd 1072
|
||||
layer_map 81 -datatype 24 1072 //areaid.rd,identifier,81:24
|
||||
layer_def areaid.dn 1073
|
||||
layer_map 81 -datatype 50 1073 //areaid.dn,identifier,81:50
|
||||
layer_def areaid.cr 1074
|
||||
layer_map 81 -datatype 51 1074 //areaid.cr,identifier,81:51
|
||||
layer_def areaid.cd 1075
|
||||
layer_map 81 -datatype 52 1075 //areaid.cd,identifier,81:52
|
||||
layer_def localSub 1076 // carve out substrate regions
|
||||
layer_map 81 -datatype 53 1076 //areaid.st,identifier,81:53
|
||||
layer_def areaid.op 1077
|
||||
layer_map 81 -datatype 54 1077 //areaid.op,identifier,81:54
|
||||
layer_def areaid.en 1078
|
||||
layer_map 81 -datatype 57 1078 //areaid.en,identifier,81:57
|
||||
layer_def areaid.en20 1079
|
||||
layer_map 81 -datatype 58 1079 //areaid.en20,identifier,81:58
|
||||
layer_def areaid.le 1080
|
||||
layer_map 81 -datatype 60 1080 //areaid.le,identifier,81:60
|
||||
layer_def areaid.hl 1081
|
||||
layer_map 81 -datatype 63 1081 //areaid.hl,identifier,81:63
|
||||
layer_def lv_net 1299
|
||||
layer_map 81 -datatype 66 1299 // areaid:lvnet
|
||||
layer_def areaid.sd 1082
|
||||
layer_map 81 -datatype 70 1082 //areaid.sd,identifier,81:70
|
||||
layer_def areaid.po 1083
|
||||
layer_map 81 -datatype 81 1083 //areaid.po,identifier,81:81
|
||||
layer_def areaid.it 1084
|
||||
layer_map 81 -datatype 84 1084 //areaid.it,identifier,81:84
|
||||
layer_def areaid.et 1085
|
||||
layer_map 81 -datatype 101 1085 //areaid.et,identifier,81:101
|
||||
layer_def areaid.lvt 1086
|
||||
layer_map 81 -datatype 108 1086 //areaid.lvt,identifier,81:108
|
||||
layer_def areaid.re 1087
|
||||
layer_map 81 -datatype 125 1087 //areaid.re,identifier,81:125
|
||||
|
||||
layer_def fom 1088
|
||||
layer_map 22 -datatype 23 1088 //fom,dummy,22:23
|
||||
layer_def poly_gate 1089
|
||||
layer_map 66 -datatype 9 1089 //poly,gate,66:9
|
||||
layer_def poly_model 1090
|
||||
layer_map 66 -texttype 83 1090 //poly,model,66:83
|
||||
layer_def poly_res 1091
|
||||
layer_map 66 -datatype 13 1091 //poly,resistor,66:13
|
||||
layer_def diff_res 1092
|
||||
layer_map 65 -datatype 13 1092 //diff,resistor,65:13
|
||||
layer_def pwell_res 1093
|
||||
layer_map 64 -datatype 13 1093 //pwell,resistor,64:13
|
||||
layer_def li1_res 1094
|
||||
layer_map 67 -datatype 13 1094 //li1,resistor,67:13
|
||||
layer_def diff_hv 1095
|
||||
layer_map 65 -datatype 8 1095 //diff,high voltage,65:8
|
||||
layer_def met4_fuse 1096
|
||||
layer_map 71 -datatype 17 1096 //met4,fuse,71:17
|
||||
layer_def inductor_trm1 1097
|
||||
layer_map 82 -datatype 26 1097 //inductor,terminal1,82:26
|
||||
layer_def inductor_trm2 1098
|
||||
layer_map 82 -datatype 27 1098 //inductor,terminal2,82:27
|
||||
layer_def inductor_trm3 1099
|
||||
layer_map 82 -datatype 28 1099 //inductor,terminal3,82:28
|
||||
layer_def li1_block 1100
|
||||
layer_map 67 -datatype 10 1100 //li1,block,67:10
|
||||
layer_def met1_block 1101
|
||||
layer_map 68 -datatype 10 1101 //met1,block,68:10
|
||||
layer_def met2_block 1102
|
||||
layer_map 69 -datatype 10 1102 //met2,block,69:10
|
||||
layer_def met3_block 1103
|
||||
layer_map 70 -datatype 10 1103 //met3,block,70:10
|
||||
layer_def met4_block 1104
|
||||
layer_map 71 -datatype 10 1104 //met4,block,71:10
|
||||
layer_def met5_block 1105
|
||||
layer_map 72 -datatype 10 1105 //met5,block,72:10
|
||||
layer_def prBndry 1106
|
||||
layer_map 235 -datatype 4 1106 //prBndry,boundary,235:4
|
||||
layer_def diff_bnd 1107
|
||||
layer_map 65 -datatype 4 1107 //diff,boundary,65:4
|
||||
layer_def tap_bnd 1108
|
||||
layer_map 65 -datatype 60 1108 //tap,boundary,65:60
|
||||
layer_def mcon_bnd 1109
|
||||
layer_map 67 -datatype 60 1109 //mcon,boundary,67:60
|
||||
layer_def poly_bnd 1110
|
||||
layer_map 66 -datatype 4 1110 //poly,boundary,66:4
|
||||
layer_def via1_bnd 1111
|
||||
layer_map 68 -datatype 60 1111 //via1,boundary,68:60
|
||||
layer_def via2_bnd 1112
|
||||
layer_map 69 -datatype 60 1112 //via2,boundary,69:60
|
||||
layer_def via3_bnd 1113
|
||||
layer_map 70 -datatype 60 1113 //via3,boundary,70:60
|
||||
layer_def via4_bnd 1114
|
||||
layer_map 71 -datatype 60 1114 //via4,boundary,71:60
|
||||
layer_def li1_label 1115
|
||||
layer_map 67 -texttype 5 1115 //li1,label,67:5
|
||||
layer_def met1_label 1116
|
||||
layer_map 68 -texttype 5 1116 //met1,label,68:5
|
||||
layer_def met2_label 1117
|
||||
layer_map 69 -texttype 5 1117 //met2,label,69:5
|
||||
layer_def met3_label 1118
|
||||
layer_map 70 -texttype 5 1118 //met3,label,70:5
|
||||
layer_def met4_label 1119
|
||||
layer_map 71 -texttype 5 1119 //met4,label,71:5
|
||||
layer_def met5_label 1120
|
||||
layer_map 72 -texttype 5 1120 //met5,label,72:5
|
||||
layer_def poly_label 1121
|
||||
layer_map 66 -texttype 5 1121 //poly,label,66:5
|
||||
layer_def diff_label 1122
|
||||
layer_map 65 -texttype 6 1122 //diff,label,65:6
|
||||
layer_def pwell_in 1123
|
||||
layer_map 64 -datatype 59 1123 //pwell,drawing,64:59
|
||||
layer_def pwell_label 1124
|
||||
layer_map 64 -texttype 59 1124 //pwell,label,64:59
|
||||
layer_def pwelliso_label 1125
|
||||
layer_map 44 -datatype 5 1125 //pwelliso,label,44:5
|
||||
layer_def pad_label 1126
|
||||
layer_map 76 -texttype 5 1126 //pad,label,76:5
|
||||
layer_def tap_label 1127
|
||||
layer_map 65 -texttype 5 1127 //tap,label,65:5
|
||||
layer_def nwell_label 1128
|
||||
layer_map 64 -texttype 5 1128 //nwell,label,64:5
|
||||
layer_def inductor_label 1129
|
||||
layer_map 82 -texttype 25 1129 //inductor,label,82:25
|
||||
layer_def text 1130
|
||||
layer_map 83 -texttype 44 1130 //text,label,83:44
|
||||
layer_def li1_net 1131
|
||||
layer_map 67 -texttype 23 1131 //li1,net,67:23
|
||||
layer_def met1_net 1132
|
||||
layer_map 68 -texttype 23 1132 //met1,net,68:23
|
||||
layer_def met2_net 1133
|
||||
layer_map 69 -texttype 23 1133 //met2,net,69:23
|
||||
layer_def met3_net 1134
|
||||
layer_map 70 -texttype 23 1134 //met3,net,70:23
|
||||
layer_def met4_net 1135
|
||||
layer_map 71 -texttype 23 1135 //met4,net,71:23
|
||||
layer_def met5_net 1136
|
||||
layer_map 72 -texttype 23 1136 //met5,net,72:23
|
||||
layer_def poly_net 1137
|
||||
layer_map 66 -texttype 23 1137 //poly,net,66:23
|
||||
layer_def diff_net 1138
|
||||
layer_map 65 -texttype 23 1138 //diff,net,65:23
|
||||
layer_def li1_pin 1139
|
||||
layer_map 67 -texttype 0 1139 //li1,pin,67:0
|
||||
layer_map 67 -datatype 16 1139 //li1,pin,67:16
|
||||
layer_map 67 -texttype 16 1139 //li1,pin,67:16
|
||||
layer_def met1_pin 1141
|
||||
layer_map 68 -texttype 0 1141 //met1,pin,68:0
|
||||
layer_map 68 -datatype 16 1141 //met1,pin,68:16
|
||||
layer_map 68 -texttype 16 1141 //met1,pin,68:16
|
||||
layer_def met2_pin 1143
|
||||
layer_map 69 -texttype 0 1143 //met2,pin,69:0
|
||||
layer_map 69 -datatype 16 1143 //met2,pin,69:16
|
||||
layer_map 69 -texttype 16 1143 //met2,pin,69:16
|
||||
layer_def met3_pin 1145
|
||||
layer_map 70 -texttype 0 1145 //met3,pin,70:0
|
||||
layer_map 70 -datatype 16 1145 //met3,pin,70:16
|
||||
layer_map 70 -texttype 16 1145 //met3,pin,70:16
|
||||
layer_def met4_pin 1147
|
||||
layer_map 71 -texttype 0 1147 //met4,pin,71:0
|
||||
layer_map 71 -datatype 16 1147 //met4,pin,71:16
|
||||
layer_map 71 -texttype 16 1147 //met4,pin,71:16
|
||||
layer_def met5_pin 1149
|
||||
layer_map 72 -texttype 0 1149 //met5,pin,72:0
|
||||
layer_map 72 -datatype 16 1149 //met5,pin,72:16
|
||||
layer_map 72 -texttype 16 1149 //met5,pin,72:16
|
||||
layer_def poly_pin 1152
|
||||
layer_map 66 -texttype 0 1152 //poly,pin,66:0
|
||||
layer_map 66 -texttype 16 1152 //poly,pin,66:16
|
||||
layer_def diff_pin 1153
|
||||
layer_map 65 -texttype 16 1153 //diff,pin,65:16
|
||||
layer_def nwell_pin 1154
|
||||
layer_map 64 -datatype 16 1154 //nwell,pin,64:16
|
||||
layer_map 64 -texttype 0 1154 //nwell,pin,64:0
|
||||
layer_def pad_pin 1155
|
||||
layer_map 76 -texttype 0 1155 //pad,pin,76:0
|
||||
layer_map 76 -datatype 16 1155 //pad,pin,76:16
|
||||
layer_map 76 -texttype 16 1155 //pad,pin,76:16
|
||||
layer_def pwell_pin 1157
|
||||
layer_map 122 -datatype 16 1157 //pwell,pin,122:16
|
||||
layer_map 122 -texttype 16 1157 //pwell,pin,122:16
|
||||
layer_map 122 -texttype 0 1157 //pwell,pin,122:0
|
||||
layer_def pwelliso 1159
|
||||
layer_map 44 -datatype 16 1159 //pwelliso,pin,44:16
|
||||
layer_map 44 -texttype 16 1159 //pwelliso,pin,44:16
|
||||
layer_def diff_cut 1171
|
||||
layer_map 65 -datatype 14 1171 //diff,cut,65:14
|
||||
layer_def poly_cut 1172
|
||||
layer_map 66 -datatype 14 1172 //poly,cut,66:14
|
||||
layer_def li1_cut 1173
|
||||
layer_map 67 -datatype 14 1173 //li1,cut,67:14
|
||||
layer_def met1_cut 1174
|
||||
layer_map 68 -datatype 14 1174 //met1,cut,68:14
|
||||
layer_def met2_cut 1175
|
||||
layer_map 69 -datatype 14 1175 //met2,cut,69:14
|
||||
layer_def met3_cut 1176
|
||||
layer_map 70 -datatype 14 1176 //met3,cut,70:14
|
||||
layer_def met4_cut 1177
|
||||
layer_map 71 -datatype 14 1177 //met4,cut,71:14
|
||||
layer_def met5_cut 1178
|
||||
layer_map 72 -datatype 14 1178 //met5,cut,72:14
|
||||
layer_def pwell_cut 1179
|
||||
layer_map 64 -datatype 14 1179 //pwell,cut,64:14
|
||||
layer_def met5_probe 1180
|
||||
layer_map 72 -datatype 25 1180 //met5,probe,72:25
|
||||
layer_def met4_probe 1181
|
||||
layer_map 71 -datatype 25 1181 //met4,probe,71:25
|
||||
layer_def met3_probe 1182
|
||||
layer_map 70 -datatype 25 1182 //met3,probe,70:25
|
||||
layer_def met2_probe 1183
|
||||
layer_map 69 -datatype 25 1183 //met2,probe,69:25
|
||||
layer_def met1_probe 1184
|
||||
layer_map 68 -datatype 25 1184 //met1,probe,68:25
|
||||
layer_def li1_probe 1185
|
||||
layer_map 67 -datatype 25 1185 //li1,probe,67:25
|
||||
layer_def poly_probe 1186
|
||||
layer_map 66 -datatype 25 1186 //poly,probe,66:25
|
||||
layer_def poly_short 1187
|
||||
layer_map 66 -datatype 15 1187 //poly,short,66:15
|
||||
layer_def li1_short 1188
|
||||
layer_map 67 -datatype 15 1188 //li1,short,67:15
|
||||
layer_def met1_short 1189
|
||||
layer_map 68 -datatype 15 1189 //met1,short,68:15
|
||||
layer_def met2_short 1190
|
||||
layer_map 69 -datatype 15 1190 //met2,short,69:15
|
||||
layer_def met3_short 1191
|
||||
layer_map 70 -datatype 15 1191 //met3,short,70:15
|
||||
layer_def met4_short 1192
|
||||
layer_map 71 -datatype 15 1192 //met4,short,71:15
|
||||
layer_def met5_short 1193
|
||||
layer_map 72 -datatype 15 1193 //met5,short,72:15
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// mask layers
|
||||
|
||||
layer_def cncm_mk 1194
|
||||
layer_map 17 -datatype 0 1194 //cncm,mask,17:0
|
||||
layer_def crpm_mk 1195
|
||||
layer_map 96 -datatype 0 1195 //crpm,mask,96:0
|
||||
layer_def cpdm_mk 1196
|
||||
layer_map 37 -datatype 0 1196 //cpdm,mask,37:0
|
||||
layer_def cnsm_mk 1197
|
||||
layer_map 22 -datatype 0 1197 //cnsm,mask,22:0
|
||||
layer_def m5_mask 1198
|
||||
layer_map 59 -datatype 0 1198 //cmm5,mask,59:0
|
||||
layer_def cviam4_mk 1199
|
||||
layer_map 58 -datatype 0 1199 //cviam4,mask,58:0
|
||||
layer_def m4_mask 1200
|
||||
layer_map 51 -datatype 0 1200 //cmm4,mask,51:0
|
||||
layer_def cviam3_mk 1201
|
||||
layer_map 50 -datatype 0 1201 //cviam3,mask,50:0
|
||||
layer_def m3_mask 1202
|
||||
layer_map 34 -datatype 0 1202 //cmm3,mask,34:0
|
||||
layer_def cviam2_mk 1203
|
||||
layer_map 44 -datatype 0 1203 //cviam2,mask,44:0
|
||||
layer_def m2_mask 1204
|
||||
layer_map 41 -datatype 0 1204 //cmm2,mask,41:0
|
||||
layer_def cviam1_mk 1205
|
||||
layer_map 40 -datatype 0 1205 //cviam1,mask,40:0
|
||||
layer_def m1_mask 1206
|
||||
layer_map 36 -datatype 0 1206 //cmm1,mask,36:0
|
||||
layer_def ctm1_mk 1207
|
||||
layer_map 35 -datatype 0 1207 //ctm1,mask,35:0
|
||||
layer_def li_mask 1208
|
||||
layer_map 56 -datatype 0 1208 //cli1m,mask,56:0
|
||||
layer_def clicm1_mk 1209
|
||||
layer_map 43 -datatype 0 1209 //clicm1,mask,43:0
|
||||
layer_def cpsdm_mk 1210
|
||||
layer_map 32 -datatype 0 1210 //cpsdm,mask,32:0
|
||||
layer_def cnsdm_mk 1211
|
||||
layer_map 30 -datatype 0 1211 //cnsdm,mask,30:0
|
||||
layer_def cldntm_mk 1212
|
||||
layer_map 11 -datatype 0 1212 //cldntm,mask,11:0
|
||||
layer_def cnpc_mk 1213
|
||||
layer_map 49 -datatype 0 1213 //cnpc,mask,49:0
|
||||
layer_def chvntm_mk 1214
|
||||
layer_map 39 -datatype 0 1214 //chvntm,mask,39:0
|
||||
layer_def cntm_mk 1215
|
||||
layer_map 27 -datatype 0 1215 //cntm,mask,27:0
|
||||
layer_def poly_mask 1216
|
||||
layer_map 28 -datatype 0 1216 //cp1m,mask,28:0
|
||||
layer_def clvom_mk 1217
|
||||
layer_map 46 -datatype 0 1217 //clvom,mask,46:0
|
||||
layer_def conom_mk 1218
|
||||
layer_map 88 -datatype 0 1218 //conom,mask,88:0
|
||||
layer_def ctunm_mk 1219
|
||||
layer_map 20 -datatype 0 1219 //ctunm,mask,20:0
|
||||
layer_def chvtrm_mk 1220
|
||||
layer_map 98 -datatype 0 1220 //chvtrm,mask,98:0
|
||||
layer_def chvtpm_mk 1221
|
||||
layer_map 97 -datatype 0 1221 //chvtpm,mask,97:0
|
||||
layer_def clvtnm_mk 1222
|
||||
layer_map 25 -datatype 0 1222 //clvtnm,mask,25:0
|
||||
layer_def cnwm_mk 1223
|
||||
layer_map 21 -datatype 0 1223 //cnwm,mask,21:0
|
||||
layer_def cdnm_mk 1224
|
||||
layer_map 48 -datatype 0 1224 //cdnm,mask,48:0
|
||||
layer_def diff_mask 1225
|
||||
layer_map 23 -datatype 0 1225 //cfom,mask,23:0
|
||||
|
||||
layer_def cfom 1226
|
||||
layer_map 22 -datatype 20 1226 //cfom,drawing,22:20
|
||||
layer_def clvtnm 1227
|
||||
layer_map 25 -datatype 44 1227 //clvtnm,drawing,25:44
|
||||
layer_def chvtpm 1228
|
||||
layer_map 88 -datatype 44 1228 //chvtpm,drawing,88:44
|
||||
layer_def conom 1229
|
||||
layer_map 87 -datatype 44 1229 //conom,drawing,87:44
|
||||
layer_def clvom 1230
|
||||
layer_map 45 -datatype 20 1230 //clvom,drawing,45:20
|
||||
layer_def cntm 1231
|
||||
layer_map 26 -datatype 20 1231 //cntm,drawing,26:20
|
||||
layer_def chvntm 1232
|
||||
layer_map 38 -datatype 20 1232 //chvntm,drawing,38:20
|
||||
layer_def cnpc 1233
|
||||
layer_map 44 -datatype 20 1233 //cnpc,drawing,44:20
|
||||
layer_def cnsdm 1234
|
||||
layer_map 29 -datatype 20 1234 //cnsdm,drawing,29:20
|
||||
layer_def cpsdm 1235
|
||||
layer_map 31 -datatype 20 1235 //cpsdm,drawing,31:20
|
||||
layer_def cli1m 1236
|
||||
layer_map 115 -datatype 44 1236 //cli1m,drawing,115:44
|
||||
layer_def cviam3 1237
|
||||
layer_map 112 -datatype 20 1237 //cviam3,drawing,112:20
|
||||
layer_def cviam4 1238
|
||||
layer_map 117 -datatype 20 1238 //cviam4,drawing,117:20
|
||||
layer_def cncm 1239
|
||||
layer_map 96 -datatype 44 1239 //cncm,drawing,96:44
|
||||
layer_def cntm_mk_add 1240
|
||||
layer_map 26 -datatype 21 1240 //cntm,mask add,26:21
|
||||
layer_def clvtnm_mk_add 1241
|
||||
layer_map 25 -datatype 43 1241 //clvtnm,mask add,25:43
|
||||
layer_def chvtpm_mk_add 1242
|
||||
layer_map 97 -datatype 43 1242 //chvtpm,mask add,97:43
|
||||
layer_def li_mask_add 1243
|
||||
layer_map 115 -datatype 43 1243 //cli1m,mask add,115:43
|
||||
layer_def clicm1_mk_add 1244
|
||||
layer_map 106 -datatype 43 1244 //clicm1,mask add,106:43
|
||||
layer_def cpsdm_mk_add 1245
|
||||
layer_map 31 -datatype 21 1245 //cpsdm,mask add,31:21
|
||||
layer_def cnsdm_mk_add 1246
|
||||
layer_map 29 -datatype 21 1246 //cnsdm,mask add,29:21
|
||||
layer_def poly_mask_add 1247
|
||||
layer_map 33 -datatype 43 1247 //cp1m,mask add,33:43
|
||||
layer_def diff_mask_add 1248
|
||||
layer_map 22 -datatype 21 1248 //cfom,mask add,22:21
|
||||
layer_def cntm_mk_drop 1249
|
||||
layer_map 26 -datatype 22 1249 //cntm,mask drop,26:22
|
||||
layer_def clvtnm_mk_drop 1250
|
||||
layer_map 25 -datatype 42 1250 //clvtnm,mask drop,25:42
|
||||
layer_def chvtpm_mk_drop 1251
|
||||
layer_map 97 -datatype 42 1251 //chvtpm,mask drop,97:42
|
||||
layer_def li_mask_drop 1252
|
||||
layer_map 115 -datatype 42 1252 //cli1m,mask drop,115:42
|
||||
layer_def clicm1_mk_drop 1253
|
||||
layer_map 106 -datatype 42 1253 //clicm1,mask drop,106:42
|
||||
layer_def cpsdm_mk_drop 1254
|
||||
layer_map 31 -datatype 22 1254 //cpsdm,mask drop,31:22
|
||||
layer_def cnsdm_mk_drop 1255
|
||||
layer_map 29 -datatype 22 1255 //cnsdm,mask drop,29:22,
|
||||
layer_def poly_mask_drop 1256
|
||||
layer_map 33 -datatype 42 1256 //cp1m,mask drop,33:42,
|
||||
layer_def diff_mask_drop 1257
|
||||
layer_map 22 -datatype 22 1257 //cfom,mask drop,22:22,
|
||||
|
||||
layer_def cfom_waffle_drop 1258
|
||||
layer_map 22 -datatype 24 1258 //cfom,waffle drop,22:24
|
||||
layer_def cp1m_waffle_drop 1259
|
||||
layer_map 33 -datatype 24 1259 //cp1m,waffle drop,33:24
|
||||
|
||||
layer_def cmm1_waffle_drop 1260
|
||||
layer_map 62 -datatype 24 1260 //cmm1,waffle drop,62:24
|
||||
layer_def cmm2_waffle_drop 1261
|
||||
layer_map 105 -datatype 52 1261 //cmm2,waffle drop,105:52
|
||||
layer_def cmm3_waffle_drop 1262
|
||||
layer_map 107 -datatype 24 1262 //cmm3,waffle drop,107:24
|
||||
layer_def cmm4_waffle_drop 1263
|
||||
layer_map 112 -datatype 4 1263 //cmm4,waffle drop,112:4
|
||||
layer_def cmm5_waffle_drop 1264
|
||||
layer_map 117 -datatype 4 1264 //cmm5,waffle drop,117:4
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Metal res layers
|
||||
|
||||
layer_def met1_res 1291
|
||||
layer_map 68 -datatype 13 1291 // met1 res
|
||||
|
||||
layer_def met2_res 1292
|
||||
layer_map 69 -datatype 13 1292 // met2 res
|
||||
|
||||
layer_def met3_res 1293
|
||||
layer_map 70 -datatype 13 1293 // met3 res
|
||||
|
||||
layer_def met4_res 1294
|
||||
layer_map 71 -datatype 13 1294 // met4 res
|
||||
|
||||
layer_def met5_res 1295
|
||||
layer_map 72 -datatype 13 1295 // met5 res
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Fill & fill_block
|
||||
|
||||
// 1281 diff fill 65 99
|
||||
// 1282 poly fill 66 99
|
||||
// 1283 li1 fill 67 99
|
||||
// 1284 met1 fill 68 99
|
||||
// 1285 met2 fill 69 99
|
||||
// 1286 met3 fill 70 99
|
||||
// 1287 met4 fill 71 99
|
||||
// 1288 met5 fill 72 99
|
||||
|
||||
// fill
|
||||
layer_def diff_fill 1286
|
||||
layer_map 65 -datatype 99 1286 //diff,fill,65:99
|
||||
layer_def poly_fill 1287
|
||||
layer_map 66 -datatype 99 1287 //poly,fill,66:99
|
||||
layer_def li_fill 1288
|
||||
layer_map 67 -datatype 99 1288 //li,fill,67:99
|
||||
|
||||
layer_def m1_fill 1281
|
||||
layer_map 68 -datatype 99 1281 //met1,fill,68:99
|
||||
layer_def m2_fill 1282
|
||||
layer_map 69 -datatype 99 1282 //met2,fill,69:99
|
||||
layer_def m3_fill 1283
|
||||
layer_map 70 -datatype 99 1283 //met3,fill,70:99
|
||||
layer_def m4_fill 1284
|
||||
layer_map 71 -datatype 99 1284 //met4,fill,71:99
|
||||
layer_def m5_fill 1285
|
||||
layer_map 72 -datatype 99 1285 //met5,fill,72:99
|
||||
|
||||
// fill_block
|
||||
layer_def diff_fillblock 1296
|
||||
layer_map 65 -datatype 98 1296 //diff,fill_block,65:98
|
||||
layer_def poly_fillblock 1297
|
||||
layer_map 66 -datatype 98 1297 //poly,fill_block,66:98
|
||||
layer_def li_fillblock 1298
|
||||
layer_map 67 -datatype 98 1298 //li,fill_block,67:98
|
||||
|
||||
layer_def m1_fillblock 1291
|
||||
layer_map 68 -datatype 98 1291 //met1,fill_block,68:98
|
||||
layer_def m2_fillblock 1292
|
||||
layer_map 69 -datatype 98 1292 //met2,fill_block,69:98
|
||||
layer_def m3_fillblock 1293
|
||||
layer_map 70 -datatype 98 1293 //met3,fill_block,70:98
|
||||
layer_def m4_fillblock 1294
|
||||
layer_map 71 -datatype 98 1294 //met4,fill_block,71:98
|
||||
layer_def m5_fillblock 1295
|
||||
layer_map 72 -datatype 98 1295 //met5,fill_block,72:98
|
||||
|
||||
|
||||
// Add fill shapes to drawing layers
|
||||
|
||||
OR diff_dg diff_fill diff_all ;
|
||||
OR poly_dg poly_fill poly ;
|
||||
OR li_dg li_fill li1 ;
|
||||
OR m1_dg m1_fill met1 ;
|
||||
OR m2_dg m2_fill met2 ;
|
||||
OR m3_dg m3_fill met3 ;
|
||||
OR m4_dg m4_fill met4 ;
|
||||
OR m5_dg m5_fill met5 ;
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Adding RDL for future PDK usage
|
||||
// [RDL exists in the PDK library and GDS mapping file]
|
||||
// RDL put at the end for now for easier editing
|
||||
|
||||
layer_def rdl 1270
|
||||
layer_map 74 -datatype 20 1270 //rdl,drawing,74:20
|
||||
|
||||
layer_def rdl_text 1271
|
||||
layer_map 74 -texttype 20 1271 //rdl,text,74:20
|
||||
|
||||
layer_def rdl_block 1272
|
||||
layer_map 74 -datatype 10 1272 //rdl,block,74:10
|
||||
|
||||
layer_def rdl_label 1273
|
||||
layer_map 74 -texttype 5 1273 //rdl,label,74:5
|
||||
|
||||
// no RDL net in library
|
||||
// layer_def rdl_net 1273
|
||||
//layer_map 74 -texttype 23 1273 //rdl,net,74:23
|
||||
|
||||
layer_def rdl_pin 1274
|
||||
layer_map 74 -texttype 0 1274 //rdl,pin,74:0
|
||||
layer_map 74 -datatype 16 1274 //rdl,pin,74:16
|
||||
layer_map 74 -texttype 16 1274 //rdl,pin,74:16
|
||||
|
||||
layer_def rdl_cut 1275
|
||||
layer_map 74 -datatype 14 1275 //rdl,cut,74:14
|
||||
|
||||
layer_def rdl_probe 1276
|
||||
layer_map 74 -datatype 25 1276 //rdl,probe,74:25
|
||||
|
||||
layer_def rdl_short 1277
|
||||
layer_map 74 -datatype 15 1277 //rdl,short,74:15
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
+100
@@ -0,0 +1,100 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// li rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.19 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// v2.10: li fill rules added
|
||||
// li_fill removed here since li fill rules have larger minimum values
|
||||
|
||||
select -cut li_dg areaid.ce -outputlayer li_crossing_core
|
||||
select -inside li_dg areaid.ce -outputlayer li_inside_core
|
||||
select -outside li_dg areaid.ce -outputlayer li_outside_core
|
||||
|
||||
NOT li_dg areaid.ce -outputlayer li_notcore
|
||||
AND li_dg areaid.ce -outputlayer li_core
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// WIDTH
|
||||
|
||||
// li.1 rules should include LI that crosses CORE
|
||||
|
||||
rule CDR.li.1a {
|
||||
caption "CDR: Width of LI inside areaid.ce: 0.14 um"
|
||||
inte li_inside_core -lt 0.140 -output region
|
||||
}
|
||||
rule CDR.li.1b {
|
||||
caption "CDR: Width of LI outside areaid.ce: 0.17 um"
|
||||
inte li_outside_core -lt 0.170 -output region
|
||||
}
|
||||
rule CDR.li.1c {
|
||||
caption "CDR: Width of LI crossing areaid.ce border: 0.17 um"
|
||||
inte li_crossing_core -lt 0.170 -output region
|
||||
}
|
||||
|
||||
|
||||
//rule li.2 {
|
||||
// caption "GUIDELINE: Max ratio of length to width of LI without licon or mcon
|
||||
// caption "NOT CHECKED in DRC (Should review with dfm_property)"
|
||||
//}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// SPACING
|
||||
|
||||
// li.3 rules should include LI that crosses CORE
|
||||
|
||||
rule CDR.li.3a {
|
||||
caption "CDR: Spacing of LI to LI inside areaid.ce: 0.14 um"
|
||||
exte li_inside_core li1 -lt 0.140 -single_point -output region
|
||||
}
|
||||
rule CDR.li.3b {
|
||||
caption "CDR: Spacing of LI to LI outside areaid.ce: 0.17 um"
|
||||
exte li_outside_core li1 -lt 0.170 -single_point -output region
|
||||
}
|
||||
rule CDR.li.3c {
|
||||
caption "CDR: Spacing of LI to LI crossing areaid.ce border: 0.17 um"
|
||||
exte li_crossing_core li1 -lt 0.170 -single_point -output region
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// OTHER
|
||||
|
||||
rule CDR.li.5 {
|
||||
caption "CDR: Min enclosure of licon outside areaid.ce by one of two adjacent LI sides: 0.08 um"
|
||||
rect_enc licon_notcore li1 -good 0.000 0.080 0.000 0.080
|
||||
}
|
||||
|
||||
// Updating minimum LI area to match SW deck (
|
||||
// Change value to 0.0561 and no CORE specific rules
|
||||
|
||||
rule CDR.li.6 {
|
||||
caption "CDR: Min area of LI: 0.0561 sq um"
|
||||
area li_outside_core -lt 0.0561 ;
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// RES
|
||||
|
||||
// areaid.ed == areaid esd
|
||||
// this is needed for rule li.7
|
||||
|
||||
select -inside li1_res areaid.ed li1_res_esd
|
||||
NOT li1_res li1_res_esd li1_res_not_esd
|
||||
|
||||
rule CDR.li.7 {
|
||||
caption "CDR: Min LI resistor width 0.29 um"
|
||||
inte li1_res -lt 0.290 -output region
|
||||
}
|
||||
|
||||
// rule is obsolete
|
||||
|
||||
//rule li.7.esd {
|
||||
// caption "Min LI resistor width inside areaid.ed 0.17 um"
|
||||
// caption "Note: LI resistors inside cells with name s8rf2_xcmvpp_hd5_* NOT considered"
|
||||
// inte li1_res_esd -lt 0.170 -output region
|
||||
//}
|
||||
|
||||
+372
@@ -0,0 +1,372 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// licon rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.18 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// licon filtering
|
||||
|
||||
// filter licon by seal ring, precision resistor
|
||||
// Assuming seal ring takes precedence
|
||||
|
||||
// licon must be completely inside the corresponding layer
|
||||
// otherwise, apply the most stringent rule (0.17 x 0.17)
|
||||
|
||||
// Precision resistor is formed from poly, poly res, (or rpm urpm)
|
||||
|
||||
// licon in / not in seal ring
|
||||
// SEALID only applies to rule licon.3
|
||||
select -inside licon SEALID -outputlayer licon_insideSR
|
||||
NOT licon licon_insideSR licon_outsideSR ;
|
||||
|
||||
// licon from / not from precision resistor
|
||||
select -interact -not licon (OR rpm urpm) -outputlayer licon_not_precR // licon not precision resistor
|
||||
NOT licon licon_not_precR licon_precR // licon in precision resistor
|
||||
|
||||
// licon in / not in CORE
|
||||
select -interact licon areaid.ce -outputlayer licon_core
|
||||
NOT licon licon_core -outputlayer licon_notcore
|
||||
|
||||
rect_chk licon_outsideSR -aspect -eq 1 -outputlayer licon_square
|
||||
|
||||
|
||||
AND poly licon -outputlayer poly_licon
|
||||
AND poly licon_notcore -outputlayer poly_licon_notcore
|
||||
AND poly licon_core -outputlayer poly_licon_core
|
||||
|
||||
//rpm_urpm alread defined: OR rpm urpm
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// licon size rules
|
||||
|
||||
// update wording to use "bar licon" instead of prec_resistor
|
||||
|
||||
rule CDR.licon.1 {
|
||||
caption "CDR: Min and max L and W of licon, except for bar licon: 0.17 um"
|
||||
rect_chk -not licon_not_precR -eq 0.170 -by -eq 0.170 -orthogonal_only
|
||||
}
|
||||
|
||||
// licon_precR is found if licon is in (rpm OR urpm)
|
||||
// maybe update this such that if 0.17x0.17 is found in (rpm OR urpm), change the caption
|
||||
|
||||
rect_chk licon_precR -eq 0.17 -by -eq 0.17 -outputlayer licon_017_in_prec
|
||||
|
||||
rule licon.1a {
|
||||
caption "licon sized 0.17 um X 0.17 um found in precision resistor -- "
|
||||
caption "licon inside (rpm OR urpm) should be 0.19 um X 2.0 um bar licon "
|
||||
copy licon_017_in_prec ;
|
||||
}
|
||||
rule CDR.licon.1b {
|
||||
caption "CDR: Min and max width of bar licon == 0.19 um"
|
||||
rect_chk -not (not licon_precR licon_017_in_prec) -eq 0.19 ;
|
||||
}
|
||||
rule CDR.licon.1c {
|
||||
caption "CDR: Min and max length of bar licon == 2.00 um"
|
||||
rect_chk -not (not licon_precR licon_017_in_prec) -eq 2.0 ;
|
||||
}
|
||||
|
||||
rule licon.3 {
|
||||
caption "Only min. square licons are allowed except die seal ring where licons are (licon CD)*L: 0.17 um"
|
||||
caption " this seal ring licon does not have width = 0.17 um "
|
||||
rect_chk -not licon_insideSR -eq 0.17
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// licon to licon spacing rules
|
||||
|
||||
// need to exclude CORE licon
|
||||
rule CDR.licon.2 {
|
||||
caption "CDR: Min spacing of licon to licon: 0.17 um"
|
||||
caption " For non-bar licon outside of areaid.ce "
|
||||
exte licon_notcore -lt 0.170 -single_point -output region
|
||||
}
|
||||
rule CDR.licon.2a {
|
||||
caption "CDR: Min spacing of licon to licon: 0.165 um"
|
||||
caption " For non-bar licon inside of areaid.ce "
|
||||
exte licon_core -lt 0.165 -single_point -output region
|
||||
}
|
||||
|
||||
rect_chk licon -eq 0.19 -by -eq 2.0 -outputlayer licon_bar
|
||||
|
||||
rule CDR.licon.2b {
|
||||
caption "CDR: Min end-to-end space of bar licon: 0.35 um"
|
||||
edge_length licon_bar -lt 2.0 -outputlayer licon_end
|
||||
exte licon_end -lt 0.35 -abut -lt 90 -output region
|
||||
}
|
||||
rule "CDR.licon.2c" {
|
||||
caption "CDR: Min side-to-side spacing of bar licon: 0.51 um"
|
||||
edge_length licon_bar -gt 0.19 -outputlayer licon_side
|
||||
exte licon_side -lt 0.510 -abut -lt 90 -output region
|
||||
}
|
||||
rule "CDR.licon.2d" {
|
||||
caption "CDR: Min space from bar licon to square licon: 0.51 um"
|
||||
exte licon_square licon_bar -lt 0.510 -abut -lt 90 -output region -single_point
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Other licon spacing rules
|
||||
|
||||
// licon.5b has no CORE equivalent
|
||||
rule CDR.licon.5b {
|
||||
caption "CDR: Min space between tap_licon outside areaid.ce and diff-abutting tap edge: 0.06 um"
|
||||
and tap licon_notcore -outputlayer licon.5b
|
||||
exte licon.5b ( edge_boolean -coincident_only -outside diff tap ) -lt 0.06 -abut -lt 90 -output region
|
||||
}
|
||||
|
||||
// licon.9 has no CORE equivalent
|
||||
// No need to check bar-licon since these will fail bar-licon spacing rules
|
||||
rule CDR.licon.9 {
|
||||
caption "CDR: Min spacing, no overlap, between poly_licon outside areaid.ce and psdm: 0.11 um"
|
||||
select -outside poly_licon_notcore rpm_urpm -outputlayer licon.9_a
|
||||
exte licon.9_a psdm -lt 0.110 -overlap -output region
|
||||
and licon.9_a psdm ;
|
||||
}
|
||||
|
||||
rule licon.14a {
|
||||
caption "Min spacing of poly_licon outside areaid.ce to diff or tap: 0.19 um"
|
||||
or diff tap -outputlayer licon.14_2
|
||||
exte poly_licon_notcore licon.14_2 -lt 0.190 -output region
|
||||
}
|
||||
rule licon.14b {
|
||||
caption "Min spacing of poly_licon inside areaid.ce to diff or tap: 0.13 um"
|
||||
or diff tap -outputlayer licon.14a_2
|
||||
exte poly_licon_core licon.14a_2 -lt 0.190 -output region
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
//rule licon 2b {
|
||||
// caption "Min spacing between two slotted_licon (when the both the edges are 0.19um in length): 0.35 um"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule licon.2c {
|
||||
// caption "Min spacing between two slotted_licon (except for rule licon.2b): 0.51 um"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule licon.2d {
|
||||
// caption "Min spacing between a slotted_licon and 0.17um square licon: 0.51 um"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
|
||||
// split up rule licon.4 to make missing layer obvious
|
||||
// also, change to NOT as licon must be completely covered
|
||||
|
||||
// If SRAM is not defined, run the usual rules, else run the SRAM versions
|
||||
|
||||
#IFNDEF SRAM
|
||||
rule licon.4a {
|
||||
caption "licon must be inside li"
|
||||
not licon li1 ;
|
||||
|
||||
}
|
||||
rule licon.4b {
|
||||
caption "licon must be inside (poly or diff or tap)"
|
||||
not licon (or poly diff tap) ;
|
||||
}
|
||||
#ENDIF
|
||||
|
||||
#IFDEF SRAM
|
||||
rule licon.4a {
|
||||
caption "licon must be inside li"
|
||||
not licon_notcore li1 ;
|
||||
}
|
||||
rule licon.4b {
|
||||
caption "licon must be inside (poly or diff or tap)"
|
||||
not licon_notcore (or poly diff tap) ;
|
||||
}
|
||||
rule licon.4a_SRAM {
|
||||
caption "licon inside areaid.ce must overlap li"
|
||||
select -outside licon_core li1 ;
|
||||
}
|
||||
rule licon.4b_SRAM {
|
||||
caption "licon inside areaid.ce must overlap (poly or diff or tap)"
|
||||
select -outside licon_core (or poly diff tap) ;
|
||||
}
|
||||
rule licon.WARNING {
|
||||
caption "CORE WARNING: alternate licon.4a & licon.4b rules used in areaid.ce regions "
|
||||
caption "CORE WARNING: real licon.4a & licon.4b errors may be missed "
|
||||
extent_drawn areaid.ce ;
|
||||
}
|
||||
#ENDIF
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// licon ENC rules
|
||||
|
||||
rule licon.5a {
|
||||
caption "Min enclosure of licon outside areaid.ce by diff (not tap): 0.04 um"
|
||||
enc licon_notcore diff_all -lt 0.040 -output region
|
||||
edge_select licon_notcore diff ;
|
||||
}
|
||||
|
||||
rule licon.5c {
|
||||
caption "Min enclosure of licon outside areaid.ce by diff on one of two adjacent sides: 0.06 um"
|
||||
rect_enc licon_notcore diff_in -good 0.060 0.000 0.060 0.000
|
||||
}
|
||||
|
||||
select -with_edge tap ( edge_boolean -coincident_only -outside tap diff ) -outputlayer non_isolated_tap
|
||||
not tap non_isolated_tap -outputlayer isolated_tap
|
||||
|
||||
rule licon.7 {
|
||||
caption "Min enclosure of licon outside areaid.ce by one of two adjacent sides of isolated tap: 0.12 um"
|
||||
rect_enc licon_notcore isolated_tap -good 0.120 0.000 0.120 0.000
|
||||
}
|
||||
|
||||
rule licon.8 {
|
||||
caption "Min enclosure of poly_licon outside areaid.ce by poly: 0.05 um"
|
||||
enc poly_licon_notcore poly -lt 0.050 -output region
|
||||
edge_select poly_licon_notcore poly ;
|
||||
}
|
||||
|
||||
rule licon.8a {
|
||||
caption "Min enclosure of poly_licon outside areaid.ce by poly on one of two adjacent sides: 0.08 um"
|
||||
rect_enc poly_licon_notcore poly -good 0.080 0.000 0.080 0.000
|
||||
}
|
||||
|
||||
rule licon.15a {
|
||||
caption "Min enclosure of poly_licon outside areaid.ce by npc: 0.10 um"
|
||||
enc poly_licon_notcore npc -lt 0.100 -output region ;
|
||||
edge_select poly_licon_notcore npc ;
|
||||
}
|
||||
|
||||
rule CDR.licon.15b {
|
||||
caption "CDR: Min enclosure of poly_licon inside areaid.ce by npc: 0.045 um"
|
||||
enc poly_licon_core npc -lt 0.045 -output region ;
|
||||
edge_select poly_licon_core npc ;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
rule licon.6 {
|
||||
caption "licon cannot straddle tap"
|
||||
select -cut licon (or ptap_actual ntap_actual)
|
||||
}
|
||||
|
||||
|
||||
//rule licon.10 {
|
||||
// caption "Spacing of licon on (tap AND (nwell NOT hvi)) to Var_channel: 0.25 um"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
rule licon.11 {
|
||||
caption "Spacing of licon on diff or tap to poly on diff: 0.055 um"
|
||||
caption "(except for all FETs inside areaid.sc"
|
||||
caption "and except s8spf-10r flow for 0.5um phv inside cell names s8fs_gwdlvx4,"
|
||||
caption "s8fs_gwdlvx8, s8fs_hvrsw_x4, s8fs_hvrsw8, s8fs_hvrsw264,"
|
||||
caption "and s8fs_hvrsw520 and for 0.15um nshort inside cell names s8fs_rdecdrv,"
|
||||
caption "s8fs_rdec8, s8fs_rdec32, s8fs_rdec264, s8fs_rdec520)"
|
||||
caption "NOTE: exceptions have NOT been considered, there may be false errors"
|
||||
not gate areaid.sc -outputlayer licon.11_a
|
||||
or diff tap -outputlayer licon.11_b
|
||||
// and licon licon.11_b -outputlayer licon.11_c
|
||||
and licon_notcore licon.11_b -outputlayer licon.11_c
|
||||
exte licon.11_a licon.11_c -lt 0.055 -output region
|
||||
}
|
||||
|
||||
rule CDR.licon.11a {
|
||||
caption "CDR: Spacing of licon on diff or tap to poly on diff: 0.05 um"
|
||||
caption "(for all FETs inside areaid.sc except 0.15um phighvt)"
|
||||
caption "NOTE: exceptions have NOT been considered, there may be false errors"
|
||||
and gate areaid.sc -outputlayer licon.11a_a
|
||||
or diff tap -outputlayer licon.11a_b
|
||||
and licon_notcore licon.11a_b -outputlayer licon.11a_c
|
||||
and licon.11a_a diff -outputlayer licon.11a_d
|
||||
exte licon.11a_c licon.11a_d -lt 0.050 -output region
|
||||
}
|
||||
|
||||
// obsolete
|
||||
//rule licon.11b {
|
||||
// caption "Spacing of licon on diff or tap to poly on diff (for 0.15um phighvt inside areaid.sc): 0.05 um"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
// obsolete
|
||||
//rule licon.11c {
|
||||
// caption "Spacing of licon on diff or tap to poly on diff: 0.04 um"
|
||||
// caption "(for 0.5um phv inside cell names s8fs_gwdlvx4, s8fs_gwdlvx8,"
|
||||
// caption "s8fs_hvrsw_x4, s8fs_hvrsw8, s8fs_hvrsw264, and s8fs_hvrsw520)"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
// obsolete
|
||||
//rule licon.11d {
|
||||
// caption "Spacing of licon on diff or tap to poly on diff: 0.045 um"
|
||||
// caption "(for 0.15um nshort inside cell names s8fs_rdecdrv, s8fs_rdec8,"
|
||||
// caption "s8fs_rdec32, s8fs_rdec264, s8fs_rdec520)"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
#IFNDEF NOGLR
|
||||
not diff gate -outputlayer diff_not_gate
|
||||
select -enclose -not diff_not_gate licon -outputlayer diff_no_licon
|
||||
edge_select -coincident_only diff_no_licon gate -outputlayer diff_no_licon_edge
|
||||
edge_length diff_no_licon_edge -gt 5.7 -outputlayer diff_edge57_no_licon
|
||||
|
||||
// This rule is Guideline only (NC)
|
||||
rule licon.12 {
|
||||
caption "GUIDELINE: Max SD width without licon: 5.70 um"
|
||||
copy diff_edge57_no_licon ;
|
||||
}
|
||||
#ENDIF // ifndef NOGLR
|
||||
|
||||
rule CDR.licon.13 {
|
||||
caption "CDR: Spacing (no overlap) of NPC to licon on diff or tap: 0.09 um"
|
||||
or diff tap -outputlayer licon.13_a
|
||||
and licon licon.13_a -outputlayer licon.13_b
|
||||
exte npc licon.13_b -lt 0.090 -overlap -output region
|
||||
}
|
||||
|
||||
|
||||
//rule licon.16 {
|
||||
//Every source diff and tap must enclose at least one licon, including diff/tap straddling areaid.ce; rule exempted inside UHVI.
|
||||
//}
|
||||
|
||||
rule CDR.licon.17 {
|
||||
caption "CDR: licon may not overlap both poly and (diff or tap)"
|
||||
select -cut licon poly -outputlayer licon.17_a
|
||||
or diff tap -outputlayer licon.17_b
|
||||
select -cut licon.17_a licon.17_b ;
|
||||
AND licon (AND diff poly) ;
|
||||
}
|
||||
|
||||
rule licon.18 {
|
||||
caption "npc must enclose poly_licon"
|
||||
not poly_licon npc
|
||||
}
|
||||
|
||||
//rule licon.19 {
|
||||
// caption "poly of the HV varactor must not interact with licon"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
rule licon.20 {
|
||||
caption "Every tap must enclose at least 1 licon (except in uhvi)"
|
||||
not tap areaid.ce -outputlayer tap_not_core
|
||||
or tap_not_core ( select -cut tap areaid.ce ) -outputlayer npcon_tap
|
||||
not ( select -enclose -not ( not npcon_tap diff_fill ) licon ) uhvi
|
||||
}
|
||||
|
||||
rule licon.21 {
|
||||
caption "psdm overlapping (poly and licon) is prohibited inside areaid.ce"
|
||||
and (and poly_licon_core psdm) areaid.ce ;
|
||||
}
|
||||
|
||||
#IFNDEF NOWARN
|
||||
rule licon.core {
|
||||
caption "WARNING: licon straddling areaid.ce (CORE)"
|
||||
not (select -cut licon areaid.ce) areaid.ce
|
||||
}
|
||||
#ENDIF // ifndef NOWARN
|
||||
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// lvtn rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.8 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
rule CDR.lvtn.1a {
|
||||
caption "CDR: Min width of lvtn: 0.38 um"
|
||||
inte lvtn -lt 0.38 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDR.lvtn.2 {
|
||||
caption "CDR: Min spacing lvtn to lvtn: 0.38 um"
|
||||
exte lvtn -lt 0.38 -single_point -output region
|
||||
}
|
||||
|
||||
rule lvtn.3a {
|
||||
caption "Min spacing of lvtn to gate. Rule exempted inside UHVI: 0.18 um"
|
||||
not lvtn uhvi -outputlayer lvtn.3a_exempt
|
||||
exte lvtn.3a_exempt -lt 0.180 -single_point -output region
|
||||
}
|
||||
|
||||
rule lvtn.3b {
|
||||
caption "Min spacing of lvtn to pfet along the S/D direction: 0.19 um"
|
||||
edge_boolean -coincident_only -outside gate pdiff -outputlayer lvtn.3b_a
|
||||
exte lvtn lvtn.3b_a -lt 0.19 -single_point -output region
|
||||
}
|
||||
|
||||
rule lvtn.4b {
|
||||
caption "Min enclosure of gate by lvtn. Rule exempted inside UHVI: 0.18 um"
|
||||
not lvtn uhvi -outputlayer lvtn.3a_exempt
|
||||
enc gate lvtn -lt 0.180 -abut -lt 90 -output region
|
||||
}
|
||||
|
||||
rule lvtn.9 {
|
||||
caption "Min spacing, no overlap, between lvtn and hvtp: 0.38 um"
|
||||
exte lvtn hvtp -lt 0.380 -overlap -single_point -output region
|
||||
}
|
||||
|
||||
rule lvtn.10 {
|
||||
caption "Min enclosure of lvtn by (nwell not overlapping Var_channel) (exclude coincident edges): 0.38 um"
|
||||
select -cut -not nwell Var_channel -outputlayer lvtn.10_a
|
||||
enc lvtn lvtn.10_a -lt 0.380 -output region
|
||||
}
|
||||
|
||||
rule lvtn.12 {
|
||||
caption "Min spacing between lvtn and (nwell inside areaid.ce): 0.38 um"
|
||||
select -inside nwell areaid.ce -outputlayer lvtn.12_a
|
||||
exte lvtn lvtn.12_a -lt 0.380 -single_point -output region
|
||||
}
|
||||
|
||||
rule lvtn.13 {
|
||||
caption "Min area of lvtn: 0.265 sq um"
|
||||
area lvtn -lt 0.265
|
||||
}
|
||||
|
||||
rule lvtn.14 {
|
||||
caption "Min area of lvtn holes: 0.265 sq um"
|
||||
holes lvtn -outputlayer lvtn.14_a
|
||||
area lvtn.14_a -lt 0.265
|
||||
}
|
||||
|
||||
rule CDR.lvtn.15 {
|
||||
caption "CDR: lvtn cannot straddle nwell"
|
||||
select -cut lvtn nwell ;
|
||||
}
|
||||
+256
@@ -0,0 +1,256 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// m1 rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.23 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// v2.10: m1 fill rules added
|
||||
// m1_fill removed here since m1 fill rules have larger minimum value:
|
||||
// m1_fill minimum width is 0.3 um
|
||||
// m1_fill minimum spacing is 0.03 um
|
||||
// enclosure rules are not relevant since m1_fill cannot overlap mcon or via1
|
||||
// Also, removing the fill shapes from these checks will speed processing.
|
||||
|
||||
rule CDR.m1.1 {
|
||||
caption "CDR: Min width of met1: 0.14 um"
|
||||
inte m1_dg -lt 0.140 -output region
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// Spacing rules: Huge met1 and regular met1
|
||||
//
|
||||
// m1_fill is now part of met1
|
||||
// if fill shapes have different rules,
|
||||
// spacing checks could be broken out using m1_dg, m1_fill
|
||||
//
|
||||
// Need to find met1 features "attached to or extending from huge_met1" up to 0.28
|
||||
// huge_met1: met1 with width > 3.0
|
||||
//
|
||||
// min spacing (met1 attached to huge_met1) to met1: 0.28
|
||||
// min spacing HUGE to met1: 0.28
|
||||
// min spacing met1 to met1: 0.14
|
||||
|
||||
rule CDR.m1.2 {
|
||||
caption "CDR: Min spacing/notch of met1: 0.14 um"
|
||||
exte m1_dg -lt 0.140 -single_point -output region
|
||||
}
|
||||
|
||||
// To find met1 that is attached / extending up to 0.28 um:
|
||||
// [1] Remove (NOT) huge_met1 from met1
|
||||
// [2] Size huge_met1 by 0.28 um
|
||||
// [3] AND [1] [2] to get the extending features; but:
|
||||
// [4] Keep only those [3] shapes that touch huge_met1
|
||||
// (to avoid getting met1 shapes that are nearby but not attached)
|
||||
|
||||
NOT m1_dg huge_met1 met1_not_huge ;
|
||||
size huge_met1 -by 0.28 -inside_of m1_dg -outputlayer huge_met1_028
|
||||
AND met1_not_huge huge_met1_028 met1_huge_and ;
|
||||
select -touch met1_huge_and huge_met1 -outputlayer met1_touching_huge
|
||||
|
||||
rule CDRW.m1.3a {
|
||||
caption "CDRW: Min spacing of huge met1 (width > 3.0 um) to narrow met1,"
|
||||
caption "including features extending 0.28 um into narrow met1: 0.28 um"
|
||||
exte met1_touching_huge m1_dg -lt 0.280 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDRW.m1.3b {
|
||||
caption "CDRW: Min spacing of huge_met1 to met1 excluding features checked by m1.3a: 0.28 um"
|
||||
exte huge_met1 m1_dg -lt 0.280 -single_point -output region
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// *****************************************************************************************
|
||||
// ********************************************
|
||||
// M1 enclosure of MCON
|
||||
// rules m1.4: minimum M1 enclosure of MCON is 0.03 um
|
||||
// rules m1.4a: For certain cells, minimum M1 enclosure of MCON is 0.005 um
|
||||
//
|
||||
// These cells allow met1 enclosure of mcon to be 0.005 um:
|
||||
// s8cell_ee_plus_sseln_a s8cell_ee_plus_sseln_b s8cell_ee_plus_sselp_a s8cell_ee_plus_sselp_b s8fpls_pl8 s8fs_cmux4_fm
|
||||
//
|
||||
// NOTE: there is a limitation with using GDS out and Pegasus
|
||||
// The same cellname from two different libraries will cause one of the cells to renamed,
|
||||
// as the cells in the GDS file must have unique names
|
||||
// By default, one of the cells will be renamed with a suffix; here is an example from the PIPO log file:
|
||||
//
|
||||
// INFO (XSTRM-223): 3. Translating cellView QA_S130_DRC/s8fs_cmux4_fm/layout as STRUCTURE s8fs_cmux4_fm.
|
||||
// INFO (XSTRM-223): 5. Translating cellView QA_S130_DRC_alt/s8fs_cmux4_fm/layout as STRUCTURE s8fs_cmux4_fm_2.
|
||||
// ^^
|
||||
// Because of this, "inside_cell" will find "s8fs_cmux4_fm" but not "s8fs_cmux4_fm_2"
|
||||
// Wildcards could be used -- "s8fs_cmux4_fm_2" for example,
|
||||
// but then "s8fpls_pl8_*" will cause Pegasus to incorrectly find: "s8fpls_pl8_mr_no_m1"
|
||||
|
||||
inside_cell mcon
|
||||
s8cell_ee_plus_sseln_a s8cell_ee_plus_sseln_b s8cell_ee_plus_sselp_a
|
||||
s8cell_ee_plus_sselp_b s8fpls_pl8 s8fs_cmux4_fm -outputlayer mcon_m1.4a ;
|
||||
|
||||
NOT mcon mcon_m1.4a mcon_m1.4
|
||||
|
||||
// edge_select added to find enclosure of 0.0
|
||||
// this gives cleaner results than using the abut option.
|
||||
|
||||
|
||||
NOT mcon areaid.ce mcon_notcore
|
||||
AND mcon areaid.ce mcon_core
|
||||
|
||||
rule CDR.m1.4 {
|
||||
caption "CDR: Mcon outside areaid.ce must be enclosed by met1 by at least: 0.03 um"
|
||||
enc mcon_notcore m1_dg -lt 0.030 -output region
|
||||
edge_select mcon_notcore met1 ;
|
||||
}
|
||||
|
||||
// "-abut" will find enclosure of 0.0 (not found by default by the enc command)
|
||||
|
||||
rule CDR.m1.4a {
|
||||
caption "CDR: Mcon inside areaid.ce must be enclosed by met1 by at least: 0.005"
|
||||
enc mcon_core m1_dg -lt 0.005 -output region
|
||||
edge_select mcon_core m1_dg ;
|
||||
}
|
||||
|
||||
rule CDR.m1.5 {
|
||||
caption "CDR: mcon outside areaid.ce must be enclosed by met1 on one of two adjacent sides by at least: 0.06 um"
|
||||
rect_enc mcon_notcore m1_dg -good 0.060 0.000 0.060 0.000
|
||||
}
|
||||
|
||||
// ********************************************
|
||||
// *****************************************************************************************
|
||||
|
||||
rule CDR.m1.6 {
|
||||
caption "CDR: min met1 area: 0.083 sq um"
|
||||
area m1_dg -lt 0.083
|
||||
}
|
||||
|
||||
rule CDR.m1.7 {
|
||||
caption "CDR: min area of met1 holes: 0.140 sq um"
|
||||
holes m1_dg -outputlayer m1.7_a
|
||||
area m1.7_a -lt 0.140
|
||||
}
|
||||
|
||||
// rules m1.pd.1, m1.pd.2a, m1.pd.2b -- SEE BELOW
|
||||
// see below
|
||||
|
||||
|
||||
//rule m1.11 {
|
||||
// caption "Max width of met1 after slotting: 4.00 um"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
|
||||
// NOTE: rule m1.pd.1 moved to density file and renamed m1.local.min
|
||||
|
||||
|
||||
// *****************************************************************************************
|
||||
// *****************************************************************************************
|
||||
// CU Rules
|
||||
// ********************************************
|
||||
|
||||
#IFDEF CU
|
||||
rule m1.11 {
|
||||
caption "Max width of met1 (CU) after slotting: 4.00 um"
|
||||
caption "Guideline only"
|
||||
with_width m1_dg -gt 4.00 ;
|
||||
}
|
||||
|
||||
rule m1.12 {
|
||||
caption "Cu Flow - Add slots and remove vias and contacts if met1 (CU) wider than > 3.20 um"
|
||||
with_width m1_dg -gt 3.20 ;
|
||||
}
|
||||
|
||||
rule m1.15 {
|
||||
caption "Cu Flow - Mcon must be enclosed by met1 on one of two adjacent sides by at least: 0.03 um"
|
||||
rect_enc mcon m1_dg -good 0.030 0.000 0.030 0.000
|
||||
}
|
||||
|
||||
// CU met1 Density
|
||||
|
||||
// rules m1.13, m1.14, m1.14a
|
||||
// "Max pattern density (PD) of met1: 0.77"
|
||||
// "met1 PD window size == 50.0 um"
|
||||
// "met1 PD window step == 25.0 um"
|
||||
|
||||
rule m1.13 {
|
||||
caption "m1.13: Max pattern density (PD) of met1 (CU): 0.77"
|
||||
caption "m1.14: met1 PD window size 5 um"
|
||||
caption "m1.14a: met1 PD window step 25 um"
|
||||
caption " rdb file: m1.13.rdb"
|
||||
density met1 -gt 0.77 -window 50 -step 25 -rdb "m1.13.rdb"
|
||||
}
|
||||
|
||||
#ENDIF // ifndef CU
|
||||
|
||||
|
||||
// Rules m1.RC.pd# are obsolete and removed
|
||||
// Notes kept here (only for met1) for reference (removed for met2, met3, met4)
|
||||
|
||||
// *****************************************************************************************
|
||||
// met1 Recommended Chip-Level Density rules
|
||||
|
||||
// Algorithm should flag errors, for met1, if ANY of the following is true:
|
||||
// An entire 700x700 window is covered by cmm1 waffleDrop, and met1 < 70% for same window
|
||||
// 80-100% of 700x700 window is covered by cmm1 waffleDrop, and met1 < 65% for same window
|
||||
// 60-80% of 700x700 window is covered by cmm1 waffleDrop, and met1 < 60% for same window
|
||||
// 50-60% of 700x700 window is covered by cmm1 waffleDrop, and met1 < 50% for same window
|
||||
// 40-60% of 700x700 window is covered by cmm1 waffleDrop, and met1 < 40% for same window
|
||||
// 30-40% of 700x700 window is covered by cmm1 waffleDrop, and met1 < 30% for same window
|
||||
// Exclude cells whose are is below 40Kum**2.
|
||||
// NOTE: Required for IP, Recommended for Chip-level.
|
||||
// *****************************************************************************************
|
||||
|
||||
// My notes / implementation
|
||||
//
|
||||
// [1] Caption will only include the actual range that creates a violation
|
||||
// [2] For now, I am NOT excluding cells below area of 40,000um**2
|
||||
// [3] Unclear if a step should be used; maybe 350um ?
|
||||
// [4] Rule names "m1.den#"
|
||||
// [5] For range:
|
||||
// "entire 700x700 window" is 100%
|
||||
// So for "80-100%", since 100% is already covered, I use 80% <= density < 100%
|
||||
// Similarly, for the other ranges, I use:
|
||||
// 60% <= density < 80%
|
||||
// 50% <= density < 60%
|
||||
// 40% <= density < 50%
|
||||
// 30% <= density < 40%
|
||||
// DRM refers to "cmm1 waffleDrop"
|
||||
//
|
||||
// Here it is in layer_def file:
|
||||
//
|
||||
// layer_def cmm1_waffle_drop 1261
|
||||
// layer_map 62 -datatype 24 1261 //cmm1,waffle drop,62:24
|
||||
//
|
||||
// Here it is in the GDS map file:
|
||||
//
|
||||
// cmm1 fill_block 62 24
|
||||
|
||||
// density cmm1_waffle_drop -eq 1.00 -window 700 -outputlayer cmm1_pd1 -rdb "cmm1.pd1.rdb"
|
||||
// rule m1.RC.pd1 {
|
||||
// caption "An entire 700x700 window is covered by cmm1 waffleDrop, and met1 < 70% for same window"
|
||||
// density met1 -lt 0.70 -inside_of layer cmm1_pd1 -window 700 -rdb "m1.RC.pd1.rdb" ; }
|
||||
|
||||
// density cmm1_waffle_drop -ltge 0.80 1.00 -window 700 -outputlayer cmm1_pd2 -rdb "cmm1.pd2.rdb"
|
||||
// rule m1.RC.pd2 {
|
||||
// caption "80-100% of 700x700 window is covered by cmm1 waffleDrop, and met1 < 65% for same window"
|
||||
// density met1 -lt 0.65 -inside_of layer cmm1_pd2 -window 700 -rdb "m1.RC.pd2.rdb" ; }
|
||||
|
||||
// density cmm1_waffle_drop -ltge 0.60 0.80 -window 700 -outputlayer cmm1_pd3 -rdb "cmm1.pd3.rdb"
|
||||
// rule m1.RC.pd3 {
|
||||
// caption "60-80% of 700x700 window is covered by cmm1 waffleDrop, and met1 < 60% for same window"
|
||||
// density met1 -lt 0.60 -inside_of layer cmm1_pd3 -window 700 -rdb "m1.RC.pd3.rdb" ; }
|
||||
|
||||
// density cmm1_waffle_drop -ltge 0.50 0.60 -window 700 -outputlayer cmm1_pd4 -rdb "cmm1.pd4.rdb"
|
||||
// rule m1.RC.pd4 {
|
||||
// caption "50-60% of 700x700 window is covered by cmm1 waffleDrop, and met1 < 50% for same window"
|
||||
// density met1 -lt 0.50 -inside_of layer cmm1_pd4 -window 700 -rdb "m1.RC.pd4.rdb" ; }
|
||||
|
||||
// density cmm1_waffle_drop -ltge 0.40 0.50 -window 700 -outputlayer cmm1_pd5 -rdb "cmm1.pd5.rdb"
|
||||
// rule m1.RC.pd5 {
|
||||
// caption "40-50% of 700x700 window is covered by cmm1 waffleDrop, and met1 < 40% for same window"
|
||||
// density met1 -lt 0.40 -inside_of layer cmm1_pd5 -window 700 -rdb "m1.RC.pd5.rdb" ; }
|
||||
|
||||
// density cmm1_waffle_drop -ltge 0.30 0.40 -window 700 -step 350 -outputlayer cmm1_pd6 -rdb "cmm1.pd6.rdb"
|
||||
// rule m1.RC.pd6 {
|
||||
// caption "30-40% of 700x700 window is covered by cmm1 waffleDrop, and met1 < 30% for same window"
|
||||
// density met1 -lt 0.30 -inside_of layer cmm1_pd6 -window 700 -rdb "m1.RC.pd6.rdb" ; }
|
||||
|
||||
|
||||
+143
@@ -0,0 +1,143 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// m2 rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.25 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// v2.10: m2 fill rules added
|
||||
// m2_fill removed here since m2 fill rules have larger minimum value:
|
||||
// m2_fill minimum width is 0.3 um
|
||||
// m2_fill minimum spacing is 0.03 um
|
||||
// enclosure rules are not relevant since m2_fill cannot overlap via1 or via2
|
||||
// Also, removing the fill shapes from these checks will speed processing.
|
||||
|
||||
rule CDR.m2.1 {
|
||||
caption "CDR: Min width of met2: 0.14 um"
|
||||
inte m2_dg -lt 0.140 -output region
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// Spacing rules: Huge met2 and regular met2
|
||||
// huge_met2: met2 with width > 3.0
|
||||
//
|
||||
// See m1 rules for methodology description
|
||||
//
|
||||
// min spacing (met2 attached to huge_met2) to met2: 0.28
|
||||
// min spacing HUGE to met2: 0.28
|
||||
// min spacing met2 to met2: 0.14
|
||||
|
||||
rule CDR.m2.2 {
|
||||
caption "CDR: Min spacing/notch of met2: 0.14 um"
|
||||
exte m2_dg -lt 0.140 -single_point -output region
|
||||
}
|
||||
|
||||
NOT m2_dg huge_met2 met2_not_huge ;
|
||||
size huge_met2 -by 0.28 -inside_of m2_dg -outputlayer huge_met2_028
|
||||
AND met2_not_huge huge_met2_028 met2_huge_and ;
|
||||
select -touch met2_huge_and huge_met2 -outputlayer met2_touching_huge
|
||||
|
||||
rule CDRW.m2.3a {
|
||||
caption "CDRW: Min spacing of huge met2 (width > 3.0 um) to narrow met2,"
|
||||
caption "including features extending 0.28 um into narrow met2: 0.28 um"
|
||||
exte met2_touching_huge m2_dg -lt 0.280 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDRW.m2.3b {
|
||||
caption "CDRW: Min spacing of huge_met2 to met2 excluding features checked by m2.3a: 0.28 um"
|
||||
exte huge_met2 m2_dg -lt 0.280 -single_point -output region
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Rule is obsolete and removed
|
||||
//rule m2.3c {
|
||||
// caption "Min spacing between floating_met2 with AR_met2_A: 0.05 and AR_met2_B: 0.032"
|
||||
// caption "outside areaid.sc must be greater than: 0.145 um"
|
||||
//}
|
||||
|
||||
|
||||
#IFNDEF CU
|
||||
rule CDR.m2.4a {
|
||||
caption "CDR: via1 outside areaid.ce must be enclosed by met2 by at least: 0.055 um"
|
||||
enc (NOT via1 areaid.ce) m2_dg -lt 0.055 -output region
|
||||
edge_select (NOT via1 areaid.ce) m2_dg ; // finds 0.0 enc
|
||||
}
|
||||
rule CDR.m2.4b {
|
||||
caption "CDR: via1 inside areaid.ce must be enclosed by met2 by at least: 0.045 um"
|
||||
enc (AND via1 areaid.ce) met2 -lt 0.045 -output region
|
||||
edge_select (AND via1 areaid.ce) m2_dg ; // finds 0.0 enc
|
||||
}
|
||||
|
||||
rule CDR.m2.5 {
|
||||
caption "CDR: via1 outside areaid.ce must be enclosed by met2 on one of two adjacent sides by at least: 0.085 um"
|
||||
rect_enc (NOT via1 areaid.ce) m2_dg -good 0.085 0.000 0.085 0.000
|
||||
}
|
||||
#ENDIF // ifndef CU
|
||||
|
||||
rule CDR.m2.6 {
|
||||
caption "CDR: min met2 area: 0.067 sq um"
|
||||
area m2_dg -lt 0.067
|
||||
}
|
||||
|
||||
rule CDR.m2.7 {
|
||||
caption "CDR: min area of met2 holes: 0.140 sq um"
|
||||
holes m2_dg -outputlayer m2.7_a
|
||||
area m2.7_a -lt 0.140
|
||||
}
|
||||
|
||||
|
||||
// NOTE: rule m2.pd.1 moved to density file and renamed m2.local.min
|
||||
|
||||
|
||||
// rules m2.13, m2.14, m2.14a -- SEE BELOW
|
||||
|
||||
#IFDEF CU
|
||||
rule m2.11 {
|
||||
caption "Cu Flow - Max width of met2: 4.00 um"
|
||||
with_width m2_dg -gt 4.000
|
||||
}
|
||||
|
||||
rule m2.12 {
|
||||
caption "Cu Flow - Add slots and remove vias and contacts if met2 wider than > 3.200"
|
||||
with_width m2_dg -gt 3.200 ;
|
||||
}
|
||||
|
||||
rule m2.15 {
|
||||
caption "Cu Flow - via1 must be enclosed by met2 on one of two adjacent sides by at least: 0.04 um"
|
||||
rect_enc via1 m2_dg -good 0.040 0.000 0.040 0.000
|
||||
}
|
||||
|
||||
// CU met2 Density
|
||||
|
||||
// rules m2.13, m2.14, m2.14a
|
||||
// "Max pattern density (PD) of met2: 0.77"
|
||||
// "met2 PD window size == 50.0 um"
|
||||
// "met2 PD window step == 25.0 um"
|
||||
|
||||
// These rules specify "met2" and not met2 oxide, so do not use the sized met2
|
||||
|
||||
rule m2.13 {
|
||||
caption "m2.13: Max pattern density (PD) of met2 (CU): 0.77"
|
||||
caption "m2.14: met2 PD window size 5 um"
|
||||
caption "m2.14a: met2 PD window step 25 um"
|
||||
caption " rdb file: m2.13.rdb"
|
||||
density met2 -gt 0.77 -window 50 -step 25 -rdb "m2.13.rdb"
|
||||
}
|
||||
#ENDIF // ifndef CU
|
||||
|
||||
|
||||
// *****************************************************************************************
|
||||
// met2 Recommended Chip-Level Density rules - OBSOLETE and removed
|
||||
|
||||
// Algorithm should flag errors, for met2, if ANY of the following is true:
|
||||
// An entire 700x700 window is covered by cmm2 waffleDrop, and met2 < 70% for same window
|
||||
// 80-100% of 700x700 window is covered by cmm2 waffleDrop, and met2 < 65% for same window
|
||||
// 60-80% of 700x700 window is covered by cmm2 waffleDrop, and met2 < 60% for same window
|
||||
// 50-60% of 700x700 window is covered by cmm2 waffleDrop, and met2 < 50% for same window
|
||||
// 40-60% of 700x700 window is covered by cmm2 waffleDrop, and met2 < 40% for same window
|
||||
// 30-40% of 700x700 window is covered by cmm2 waffleDrop, and met2 < 30% for same window
|
||||
// Exclude cells whose are is below 40Kum**2.
|
||||
// NOTE: Required for IP, Recommended for Chip-level.
|
||||
// *****************************************************************************************
|
||||
+145
@@ -0,0 +1,145 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// m3 rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.27 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// v2.10: m3 fill rules added
|
||||
// m3_fill removed here since m3 fill rules have larger minimum value:
|
||||
// m3_fill minimum width is 0.3 um
|
||||
// m3_fill minimum spacing is 0.03 um
|
||||
// enclosure rules are not relevant since m3_fill cannot overlap via2 or via3
|
||||
// Also, removing the fill shapes from these checks will speed processing.
|
||||
|
||||
rule m3.1 {
|
||||
caption "CDR: Min width of met3: 0.30 um"
|
||||
inte m3_dg -lt 0.300 -output region
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// Spacing rules: Huge met3 and regular met3
|
||||
// huge_met3: met3 with width > 3.0
|
||||
//
|
||||
// See m1 rules for methodology description
|
||||
//
|
||||
// min spacing (met3 attached to huge_met3) to met3: 0.40
|
||||
// min spacing HUGE to met3: 0.40
|
||||
// min spacing met3 to met3: 0.30
|
||||
|
||||
rule CDR.m3.2 {
|
||||
caption "CDR: Min spacing/notch of met3: 0.30 um"
|
||||
exte m3_dg -lt 0.300 -single_point -output region
|
||||
}
|
||||
|
||||
//rule m3.3a {
|
||||
// caption "Min spacing of features attached to or extending from huge_met3"
|
||||
// caption "for a distance of up to 0.48 um to met3 "
|
||||
// caption "(rule not checked over non-huge met3 features)"
|
||||
// caption " DRM has not values; not coded "
|
||||
//}
|
||||
|
||||
//rule m3.3b {
|
||||
// caption "Min spacing of huge_met3 to met3 excluding features checked by m3.3a "
|
||||
// caption " DRM has not values; not coded "
|
||||
//}
|
||||
|
||||
NOT m3_dg huge_met3 met3_not_huge ;
|
||||
size huge_met3 -by 0.28 -inside_of m3_dg -outputlayer huge_met3_040
|
||||
AND met3_not_huge huge_met3_040 met3_huge_and ;
|
||||
select -touch met3_huge_and huge_met3 -outputlayer met3_touching_huge
|
||||
|
||||
rule CDRW.m3.3c {
|
||||
caption "CDRW: Min spacing of huge met3 (width > 3.0 um) to narrow met3,"
|
||||
caption "including features extending 0.28 um into narrow met3: 0.40 um"
|
||||
exte met3_touching_huge m3_dg -lt 0.40 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDRW.m3.3d {
|
||||
caption "CDRW: Min spacing of huge_met3 to met3 excluding features checked by m3.3c: 0.40 um"
|
||||
exte huge_met3 m3_dg -lt 0.400 -single_point -output region
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
rule CDR.m3.4 {
|
||||
caption "CDR: Min enclosure of via2 by met3: 0.065 um"
|
||||
enc via2 m3_dg -lt 0.065 -output region
|
||||
edge_select -inside via2 m3_dg ; // finds 0.0 enc
|
||||
}
|
||||
|
||||
//rule m3.5 {
|
||||
// caption "via2 must be enclosed by met3 on one of two adjacent sides by at least "
|
||||
// caption " N/A "
|
||||
//}
|
||||
|
||||
//rule m3.5a {
|
||||
// caption "Via2 must be enclosed by met3 on all sides by at least"
|
||||
// caption "(Rule not checked on a layout when it satisfies both rules m3.4 and m3.5)"
|
||||
// caption " N/A "
|
||||
//}
|
||||
|
||||
rule CDR.m3.6 {
|
||||
caption "CDR: min met3 area: 0.240 sq um"
|
||||
area m3_dg -lt 0.240
|
||||
}
|
||||
|
||||
rule CDR.m3.7 {
|
||||
caption "CDR: min area of met3 holes: 0.200 sq um"
|
||||
holes m3_dg -outputlayer m3.7_a
|
||||
area m3.7_a -lt 0.200
|
||||
}
|
||||
|
||||
|
||||
// NOTE: rule m3.pd.1 moved to density file and renamed m3.local.min
|
||||
|
||||
|
||||
#IFDEF CU
|
||||
rule m3.11 {
|
||||
caption "Cu Flow - Max width of met3: 4.00 um"
|
||||
with_width m3_dg -gt 4.000
|
||||
}
|
||||
|
||||
rule m3.12 {
|
||||
caption "Cu Flow - Add slots and remove vias and contacts if met3 wider than > 3.200"
|
||||
with_width m3_dg -gt 3.200 ;
|
||||
}
|
||||
|
||||
rule m3.15 {
|
||||
caption "Cu Flow - via1 must be enclosed by met3 on one of two adjacent sides by at least: 0.06 um"
|
||||
rect_enc via1 m3_dg -good 0.060 0.000 0.060 0.000
|
||||
}
|
||||
|
||||
// CU met3 Density
|
||||
|
||||
// rules m3.13, m3.14, m3.14a
|
||||
// "Max pattern density (PD) of met3: 0.77"
|
||||
// "met3 PD window size == 50.0 um"
|
||||
// "met3 PD window step == 25.0 um"
|
||||
|
||||
// These rules specify "met3" and not met3 oxide, so do not use the sized met3
|
||||
|
||||
rule m3.13 {
|
||||
caption "m3.13: Max pattern density (PD) of met3 (CU): 0.77"
|
||||
caption "m3.14: met3 PD window size 5 um"
|
||||
caption "m3.14a: met3 PD window step 25 um"
|
||||
caption " rdb file: m3.13.rdb"
|
||||
density met3 -gt 0.77 -window 50 -step 25 -rdb "m3.13.rdb"
|
||||
}
|
||||
#ENDIF // ifndef CU
|
||||
|
||||
|
||||
// *****************************************************************************************
|
||||
// met3 Recommended Chip-Level Density rules - OBSOLETE and removed
|
||||
|
||||
// Algorithm should flag errors, for met3, if ANY of the following is true:
|
||||
// An entire 700x700 window is covered by cmm3 waffleDrop, and met3 < 70% for same window
|
||||
// 80-100% of 700x700 window is covered by cmm3 waffleDrop, and met3 < 65% for same window
|
||||
// 60-80% of 700x700 window is covered by cmm3 waffleDrop, and met3 < 60% for same window
|
||||
// 50-60% of 700x700 window is covered by cmm3 waffleDrop, and met3 < 50% for same window
|
||||
// 40-60% of 700x700 window is covered by cmm3 waffleDrop, and met3 < 40% for same window
|
||||
// 30-40% of 700x700 window is covered by cmm3 waffleDrop, and met3 < 30% for same window
|
||||
// Exclude cells whose are is below 40Kum**2.
|
||||
// NOTE: Required for IP, Recommended for Chip-level.
|
||||
// *****************************************************************************************
|
||||
|
||||
+127
@@ -0,0 +1,127 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// m4 rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.31 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// v2.10: m4 fill rules added
|
||||
// m4_fill removed here since m4 fill rules have larger minimum value:
|
||||
// m4_fill minimum width is 0.3 um
|
||||
// m4_fill minimum spacing is 0.03 um
|
||||
// enclosure rules are not relevant since m4_fill cannot overlap via3 or via4
|
||||
// Also, removing the fill shapes from these checks will speed processing.
|
||||
|
||||
rule CDR.m4.1 {
|
||||
caption "CDR: Min width of met4: 0.30 um"
|
||||
inte m4_dg -lt 0.300 -output region
|
||||
}
|
||||
|
||||
rule CDR.m4.2 {
|
||||
caption "CDR: Min spacing/notch of met4: 0.30 um"
|
||||
exte m4_dg -lt 0.300 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDR.m4.3 {
|
||||
caption "CDR: Min enclosure of via3 by met4: 0.065 um"
|
||||
enc via3 m4_dg -lt 0.065 -output region
|
||||
edge_select -inside via3 m4_dg ; // finds 0.0 enc
|
||||
}
|
||||
|
||||
rule CDR.m4.4a {
|
||||
caption "CDR: Min met4 area: 0.240 sq um"
|
||||
area m4_dg -lt 0.240
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
// Spacing rules: Huge met4 and regular met4
|
||||
// huge_met4: met4 with width > 3.0
|
||||
//
|
||||
// See m1 rules for methodology description
|
||||
//
|
||||
// min spacing (met4 attached to huge_met4): 0.40
|
||||
// min spacing HUGE to met4: 0.40
|
||||
// min spacing met4 to met4: 0.30
|
||||
|
||||
NOT m4_dg huge_met4 met4_not_huge ;
|
||||
size huge_met4 -by 0.28 -inside_of m4_dg -outputlayer huge_met4_040
|
||||
AND met4_not_huge huge_met4_040 met4_huge_and ;
|
||||
select -touch met4_huge_and huge_met4 -outputlayer met4_touching_huge
|
||||
|
||||
rule CDRW.m4.5a {
|
||||
caption "CDRW: Min spacing of huge met4 (width > 3.0 um) to narrow met4,"
|
||||
caption "including features extending 0.28 um into narrow met4: 0.40 um"
|
||||
caption "(rule not checked over non-huge m4_dg features)"
|
||||
exte met4_touching_huge m4_dg -lt 0.40 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDRW.m4.5b {
|
||||
caption "CDRW: Min spacing of huge_met4 to met4 excluding features checked by m4.3c: 0.40 um"
|
||||
exte huge_met4 m4_dg -lt 0.40 -single_point -output region
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
rule CDR.m4.7 {
|
||||
caption "CDR: Min area of met4 holes: 0.200 sq um"
|
||||
holes met4 -outputlayer m4.7_a
|
||||
area m4.7_a -lt 0.200
|
||||
}
|
||||
|
||||
// NOTE: rule m4.pd.1 moved to density file and renamed m4.local.min
|
||||
|
||||
|
||||
#IFDEF CU
|
||||
rule m4.11 {
|
||||
caption "CU Flow - Max width of met4: 10.0 um"
|
||||
with_width m4_dg -gt 10.0
|
||||
}
|
||||
|
||||
rule m4.12 {
|
||||
caption "CU Flow - Add slots and remove vias and contacts if met4 wider than > 10.00"
|
||||
with_width m4_dg -gt 10.00 ;
|
||||
}
|
||||
|
||||
rule m4.15 {
|
||||
caption "CU Flow - Min enclosure of via3 by met4: 0.06 um"
|
||||
enc via3 m4_dg -lt 0.060 -output region
|
||||
edge_select via3 m4_dg ; // finds 0.0 enc
|
||||
}
|
||||
|
||||
rule m4.16 {
|
||||
caption "CU Flow - Min enclosure of pad by met4: 0.85 um"
|
||||
enc pad m4_dg -lt 0.850 -output region
|
||||
}
|
||||
|
||||
// CU met4 Density
|
||||
|
||||
// rules m4.13, m4.14, m4.14a
|
||||
// "Max pattern density (PD) of met4: 0.77"
|
||||
// "met4 PD window size == 50.0 um"
|
||||
// "met4 PD window step == 25.0 um"
|
||||
|
||||
// These rules specify "met4" and not met4 oxide, so do not use the sized met4
|
||||
|
||||
rule m4.13 {
|
||||
caption "m4.13: Max pattern density (PD) of met4 (CU): 0.77"
|
||||
caption "m4.14: met4 PD window size 5 um"
|
||||
caption "m4.14a: met4 PD window step 25 um"
|
||||
caption " rdb file: m4.13.rdb"
|
||||
density met4 -gt 0.77 -window 50 -step 25 -rdb "m4.13.rdb"
|
||||
}
|
||||
|
||||
#ENDIF // ifndef CU
|
||||
|
||||
|
||||
// *****************************************************************************************
|
||||
// met4 Recommended Chip-Level Density rules - Obsolete and Removed
|
||||
|
||||
// Algorithm should flag errors, for met4, if ANY of the following is true:
|
||||
// An entire 700x700 window is covered by cmm4 waffleDrop, and met4 < 70% for same window
|
||||
// 80-100% of 700x700 window is covered by cmm4 waffleDrop, and met4 < 65% for same window
|
||||
// 60-80% of 700x700 window is covered by cmm4 waffleDrop, and met4 < 60% for same window
|
||||
// 50-60% of 700x700 window is covered by cmm4 waffleDrop, and met4 < 50% for same window
|
||||
// 40-60% of 700x700 window is covered by cmm4 waffleDrop, and met4 < 40% for same window
|
||||
// 30-40% of 700x700 window is covered by cmm4 waffleDrop, and met4 < 30% for same window
|
||||
// Exclude cells whose are is below 40Kum**2.
|
||||
// NOTE: Required for IP, Recommended for Chip-level.
|
||||
// *****************************************************************************************
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// m5 rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.33 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// v2.10: m5 fill rules added
|
||||
// m5_fill removed here since m5 fill rules have larger minimum value:
|
||||
// m5_fill minimum width is 0.3 um
|
||||
// m5_fill minimum spacing is 0.3 um
|
||||
// enclosure rules are not relevant since m5_fill cannot overlap via4
|
||||
// Also, removing the fill shapes from these checks will speed processing.
|
||||
|
||||
rule CDR.m5.1 {
|
||||
caption "CDR: Min width of met5: 1.60 um"
|
||||
inte m5_dg -lt 1.60 -output region
|
||||
}
|
||||
|
||||
rule CDR.m5.2 {
|
||||
caption "CDR: Min spacing/notch of met5: 1.60 um"
|
||||
exte m5_dg -lt 1.60 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDR.m5.3 {
|
||||
caption "CDR: Min enclosure of via4 by met5: 0.31 um"
|
||||
enc via4 m5_dg -lt 0.31 -output region
|
||||
edge_select -inside via4 m5_dg ; // finds 0.0 enc
|
||||
}
|
||||
|
||||
rule CDR.m5.4 {
|
||||
caption "CDR: Min area of met5: 4.0 sq um"
|
||||
area m5_dg -lt 4.000
|
||||
}
|
||||
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// mcon rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.20 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
rule CDR.mcon.1 {
|
||||
caption "CDR: Min and max L and W of mcon: 0.17 um"
|
||||
rect_chk mcon -ne 0.170 -orthogonal_only
|
||||
}
|
||||
|
||||
rule CDR.mcon.2 {
|
||||
caption "CDR: Min spacing of mcon: 0.19 um"
|
||||
exte mcon -lt 0.190 -single_point -output region
|
||||
}
|
||||
|
||||
// rule mcon.1 is sufficient since the size of mcon in the seal ring is the same (0.17)
|
||||
|
||||
//rule mcon.3 {
|
||||
// caption "Only min. square mcons are allowed except die seal ring where mcons are 0.17 um"
|
||||
//}
|
||||
|
||||
// since min enclosure is 0.0, and mcon uncovered by LI is an error, rule mcon.4 is unecessary
|
||||
|
||||
//rule mcon.4 {
|
||||
// caption "Mcon must be enclosed by LI by at least 0. um"
|
||||
//}
|
||||
|
||||
|
||||
//rule mcon.irdrop.1 {
|
||||
// caption "For 1 <= n <= 10 contacts on the same connector,"
|
||||
// caption "mcon area pre- and post- Cu conversion must differ by no more than 0.2 um"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule mcon.irdrop.2 {
|
||||
// caption "For 11 <= n <= 100 contacts on the same connector,"
|
||||
// caption "mcon area pre- and post- Cu conversion must differ by no more than 0.3 um"
|
||||
// caption " TBA "
|
||||
|
||||
//rule mcon.ipdrop.3 {
|
||||
// caption "For n > 100 contacts on the same connector,"
|
||||
// caption "mcon area pre- and post- Cu conversion must differ by no more than 0.7 um"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
#IFNDEF NOWARN
|
||||
rule mcon.core {
|
||||
caption "WARNING: mcon straddling areaid.ce (CORE)"
|
||||
not (select -cut mcon areaid.ce) areaid.ce
|
||||
}
|
||||
#ENDIF // ifndef NOWARN
|
||||
|
||||
+110
@@ -0,0 +1,110 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// n/psd rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.17 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
AND nsdm areaid.ce nsdm.core
|
||||
NOT nsdm areaid.ce nsdm.ncore
|
||||
AND psdm areaid.ce psdm.core
|
||||
NOT psdm areaid.ce psdm.ncore
|
||||
|
||||
rule CDR.psd.1a {
|
||||
caption "CDR: Min width of nsdm / psdm outside areaid.ce: 0.38 um"
|
||||
inte nsdm.ncore -lt 0.38 -output region
|
||||
inte psdm.ncore -lt 0.38 -output region
|
||||
}
|
||||
|
||||
rule CDR.psd.1b {
|
||||
caption "CDR: Min width of nsdm / psdm inside areaid.ce: 0.29 um"
|
||||
inte nsdm.core -lt 0.29 -output region
|
||||
inte psdm.core -lt 0.29 -output region
|
||||
}
|
||||
|
||||
rule CDR.psd.2 {
|
||||
caption "CDR: Min spacing of nsdm(psdm) to nsdm(psdm): 0.38 um"
|
||||
caption "psd.3 - Manual merge if less than minimum"
|
||||
exte nsdm -lt 0.38 -single_point -output region
|
||||
exte psdm -lt 0.38 -single_point -output region
|
||||
}
|
||||
|
||||
|
||||
//rule psd.3 {
|
||||
// caption "Manual merge if less than minimum"
|
||||
//}
|
||||
|
||||
or nsdm psdm -outputlayer psd.5
|
||||
|
||||
rule psd.5a {
|
||||
caption "Min enclosure of diff by nsdm(psdm), except for butting edge: 0.125 um"
|
||||
enc diff psd.5 -lt 0.125 -output region
|
||||
}
|
||||
|
||||
// keep this in case drawn tap exists
|
||||
rule psd.5b {
|
||||
caption "Min enclosure of tap by nsdm(psdm), except for butting edge: 0.125 um"
|
||||
enc tap_dg psd.5 -lt 0.125 -output region
|
||||
}
|
||||
|
||||
|
||||
// We don't need to check for 0.0 enclosure
|
||||
// psd.9 checks that diff & tap are enclosed by nsdm or psdm
|
||||
// butting edges excluded from psd.5a & psd.5b
|
||||
// also diff & tap are the same layer anyway...
|
||||
//
|
||||
// rule psd.6 {
|
||||
// caption "Enclosure of diff/tap butting edge by nsdm (psdm) == 0.00 um"
|
||||
// select -donut poly -outputlayer psd.6_a
|
||||
// select -interact diff psd.6_a -outputlayer psd.6_b
|
||||
// edge_boolean -coincident_only psd.6_b tap -outputlayer psd.6_c
|
||||
// edge_boolean -coincident_only nsdm psdm -outputlayer psd.6_d
|
||||
// edge_select -coincident_only -not psd.6_c psd.6_d
|
||||
// }
|
||||
|
||||
|
||||
// psd.7 does not need to check for overlap, that's found by psd.8
|
||||
rule psd.7 {
|
||||
caption "Spacing of nsdm/psdm opposite implant diff or tap -lt 0.130"
|
||||
caption "(for non-abutting diff/tap edges)"
|
||||
exte nsdm pdiff_actual -ltgt 0.0 0.130 -output region
|
||||
exte psdm ndiff_actual -ltgt 0.0 0.130 -output region
|
||||
}
|
||||
|
||||
rule psd.8 {
|
||||
caption "Nsdm and psdm cannot overlap diff/tap regions of opposite doping"
|
||||
AND nsdm psdm ;
|
||||
}
|
||||
|
||||
// psd.9 does not apply to fill shapes
|
||||
#IFNDEF NOWARN
|
||||
rule psd.9 {
|
||||
caption "WARNING: Ddiff and tap must be enclosed by their corresponding implant layers."
|
||||
caption "Rule exempted for diff rings around the die"
|
||||
caption "Rule exempted for gated_npn & areaid.zr"
|
||||
// caption "Note: exemption for diff rings not considered" // remove SEALID regions
|
||||
or npn areaid.zr SEALID -outputlayer psd.9_exempt
|
||||
not (or nsdm psdm) psd.9_exempt -outputlayer psd.9_a
|
||||
not (select -outside diff_dg psd.9_exempt) psd.9_a
|
||||
not (select -outside tap_dg psd.9_exempt) psd.9_a
|
||||
}
|
||||
#ENDIF // ifndef NOWARN
|
||||
|
||||
rule psd.10a {
|
||||
caption "Min area of nsdm: 0.265 sq um"
|
||||
area nsdm -lt 0.265
|
||||
}
|
||||
|
||||
rule psd.10b {
|
||||
caption "Min area of psdm: 0.255 sq um"
|
||||
area psdm -lt 0.255
|
||||
}
|
||||
|
||||
rule psd.11 {
|
||||
caption "Min area of nsdm/psdm Holes: 0.265 sq um"
|
||||
holes nsdm -outputlayer psd.11_a
|
||||
area psd.11_a -lt 0.265
|
||||
holes psdm -outputlayer psd.11_b
|
||||
area psd.11_b -lt 0.265
|
||||
}
|
||||
|
||||
+75
@@ -0,0 +1,75 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// ncm rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.9 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
rule CDR.ncm.1 {
|
||||
caption "CDR: Min width of ncm: 0.38 um"
|
||||
inte ncm -lt 0.380 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDR.ncm.2 {
|
||||
caption "CDR: Min spacing of ncm: 0.38 um"
|
||||
caption "Manual merge ncm if space is below minimum"
|
||||
exte ncm -lt 0.380 -single_point -output region
|
||||
}
|
||||
|
||||
//rule ncm.2b {
|
||||
// caption "Manual merge ncm if space is below minimum"
|
||||
// }
|
||||
|
||||
|
||||
rule ncm.3 {
|
||||
caption "Min enclosure of P+diff by Ncm: 0.18 um"
|
||||
enc pdiff Ncm -lt 0.180 -output region
|
||||
}
|
||||
|
||||
// areaid.de == diode
|
||||
// areaid.ed == esd
|
||||
|
||||
and pdiff ( NOT areaid.ed areaid.de ) -outputlayer pdiff_edde
|
||||
|
||||
// Could lump ncm.3 & ncm.4 together since the value is the same
|
||||
// keeping separate to explicitly show ncm.4 results
|
||||
// also this will make future edits easier
|
||||
|
||||
rule ncm.4 {
|
||||
caption "Min enclosure of P+diff within (areaid:esd AndNot areaid:diode) by Ncm: 0.18 um"
|
||||
enc pdiff_edde Ncm -lt 0.180 -output region
|
||||
}
|
||||
|
||||
// I interpret the ncm.5 and ncm.6 spacing rules to imply that touching (space = 0.0) is a violation
|
||||
|
||||
rule ncm.5 {
|
||||
caption "Min space, no overlap, between ncm and (LVTN_gate) OR (diff containing lvtn): 0.23 um
|
||||
select -enclose diff lvtn -outputlayer ncm.5_a
|
||||
or LVTN_gate ncm.5_a -outputlayer ncm.5_b
|
||||
// this will find space < 0.23 and overlap cases
|
||||
exte ncm ncm.5_b -lt 0.230 -overlap -single_point -output region -outputlayer ncm.5_c
|
||||
// find touching cases
|
||||
select -touch ncm ncm.5_b -outputlayer ncm.5_touch
|
||||
or ncm.5_c ncm.5_touch
|
||||
|
||||
}
|
||||
|
||||
rule ncm.6 {
|
||||
caption "Min space, no overlap, between ncm and nfet: 0.20 um"
|
||||
// this will find space < 0.20 and overlap cases
|
||||
exte ncm nfet -lt 0.200 -overlap -single_point -output region -outputlayer ncm.6_a
|
||||
// find touching cases
|
||||
select -touch ncm nfet -outputlayer ncm.6_touch
|
||||
or ncm.6_a ncm.6_touch
|
||||
}
|
||||
|
||||
rule ncm.7 {
|
||||
caption "Min area of ncm: 0.265 sq um"
|
||||
area ncm -lt 0.265
|
||||
}
|
||||
|
||||
rule ncm.8 {
|
||||
caption "Min area of ncm Holes: 0.265 sq um"
|
||||
holes ncm -outputlayer ncm.8_a
|
||||
area ncm.8_a -lt 0.265
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// npc rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.16 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
rule CDR.npc.1 {
|
||||
caption "CDR: Min width of npc: 0.27 um"
|
||||
inte npc -lt 0.270 -output region
|
||||
}
|
||||
|
||||
rule CDR.npc.2 {
|
||||
caption "CDR: Min spacing/notch of npc: 0.27 um"
|
||||
caption "Rule npc.3 Manual merge if less than minimum"
|
||||
exte npc -lt 0.270 -single_point -output region
|
||||
}
|
||||
|
||||
//rule npc.3 {
|
||||
// caption "Manual merge if less than minimum"
|
||||
//}
|
||||
|
||||
rule npc.4 {
|
||||
caption "Spacing (no overlap) of NPC to Gate: 0.09 um"
|
||||
exte npc gate -lt 0.090 -single_point -overlap -output region
|
||||
}
|
||||
|
||||
//rule npc.5 {
|
||||
// caption "Max enclosure of poly overlapping slotted_licon by npcm: 0.095 um"
|
||||
// caption "(merge between adjacent short edges of the slotted_licons if space < min)"
|
||||
// caption " TBA "
|
||||
// select -cut poly slotted_licon -outputlayer npc.5_a
|
||||
// enc npc.5_a npcm -lt 0.095 -output region
|
||||
//}
|
||||
|
||||
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// nsm rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.29 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
rule CDR.nsm.1 {
|
||||
caption "CDR: Min width of nsm: 3.00 um"
|
||||
inte nsm -lt 3.000 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDR.nsm.2 {
|
||||
caption "CDR: Min spacing of nsm: 4.00 um"
|
||||
exte nsm nsm -lt 4.000 -single_point -output region
|
||||
}
|
||||
|
||||
// AL only
|
||||
//rule nsm.3 {
|
||||
// caption "Min spacing, no overlap, between NSM_keepout to diff.dg, tap.dg, fom.dy, cfom.dg, cfom.mk,"
|
||||
// caption "poly.dg, p1m.mk, li1.dg, cli1m.mk, metX.dg (X=1 to 5) and cmmX.mk (X=1 to 5)."
|
||||
// caption "Exempt the following from the check: (a) cell name nikon and (b) diff ring inside areaid.sl: 1.00 um"
|
||||
//}
|
||||
|
||||
//rule nsm.3a {
|
||||
// caption "Min enclosure of diff.dg, tap.dg, fom.dy, cfom.dg, cfom.mk, poly.dg, p1m.mk, li1.dg, cli1m.mk, "
|
||||
// caption "metX.dg (X=1 to 5) and cmmX.mk (X=1 to 5) by areaid.ft. Exempt the following from the check: "
|
||||
// caption "(a) cell name s8Fab_crntic (b) blankings in the frame (rule uses areaid.dt for exemption): 3.00 um"
|
||||
//}
|
||||
|
||||
//rule nsm.3b {
|
||||
// caption "Min spacing between areaid.dt to diff.dg, tap.dg, fom.dy, cfom.dg, cfom.mk, poly.dg, p1m.mk, li1.dg, "
|
||||
// caption "cli1m.mk, metX.dg (X=1 to 5) and cmmX.mk (X=1 to 5). Exempt the following from the check: "
|
||||
// caption "(a) blankings in the frame (rule uses areaid.dt for exemption): 3.00 um "
|
||||
//}
|
||||
|
||||
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// nwell rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.3 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
rule nwell.1 {
|
||||
caption "Width of nwell: 0.84 um"
|
||||
inte nwell -lt 0.840 -output region
|
||||
}
|
||||
|
||||
rule CDR.nwell.2a.lv {
|
||||
caption "CDR: Min space/notch between two LV n-wells: 1.27 um"
|
||||
caption " Manual merge wells if less than minimum "
|
||||
exte nwell_lv -lt 1.270 -notch also -single_point -output region
|
||||
}
|
||||
rule "nwell.2a.lv_hv" {
|
||||
caption "Min space of LV_nwell to HV_nwell: 1.27"
|
||||
exte nwell_lv nwell_hv -lt 1.27 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
rule "nwell.2a.lv_vhv" {
|
||||
caption "Min space of LV_nwell to VHV_nwell: 2.0"
|
||||
exte nwell_lv nwell_vhv -lt 2.0 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
rule "nwell.2a.lv_uhv" {
|
||||
caption "Min space of LV_nwell to UHV_nwell: 2.5"
|
||||
exte nwell_lv nwell_uhv -lt 2.5 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
|
||||
rule nwell.4 {
|
||||
caption "All n-wells will contain metal-contacted tap"
|
||||
caption "(rule checks only for licon on tap)."
|
||||
caption "Rule exempted from high voltage cells inside UHVI"
|
||||
caption "NOTE: exceptions have NOT been considered, there may be false errors"
|
||||
select -enclose -not nwell tap_licon
|
||||
}
|
||||
|
||||
rule nwell.5 {
|
||||
caption "Deep nwell must be enclosed by nwell by atleast: 0.40 um"
|
||||
caption "Exempted inside UHVI (layer v20) or areaid.lw"
|
||||
caption "Nwells can merge over deep nwell if spacing too small"
|
||||
caption "NOTE: exceptions have NOT been considered, there may be false errors"
|
||||
// caption "areaid.lw exemption not coded, areaid.lw not in PDK or DRM"
|
||||
inside_cell -not nwell "*_tech_CD_top" -outputlayer nwell.5_notCD
|
||||
not dnwell uhvi -outputlayer dnwell.5
|
||||
enc dnwell.5 nwell.5_notCD -lt 0.400 -output region
|
||||
}
|
||||
|
||||
//rule nwell.5a {
|
||||
// caption "min enclosure of nwell by dnwell inside UHVI"
|
||||
// caption "No value in DRM, not coded"
|
||||
//}
|
||||
|
||||
//rule nwell.5b {
|
||||
// caption "nwell inside UHVI must not be on the same net as nwell outside UHVI"
|
||||
//}
|
||||
|
||||
rule nwell.6 {
|
||||
caption "Min enclosure of nwell hole by deep nwell outside UHVI: 1.03 um"
|
||||
caption "shapes in cell "*_tech_CD_top" exempted"
|
||||
inside_cell -not nwell "*_tech_CD_top" -outputlayer nwell.6_a
|
||||
select -outside nwell.6_a uhvi -outputlayer nwell.6_b
|
||||
holes nwell.6_b -outputlayer nwell.6_c
|
||||
enc nwell.6_c dnwell -lt 1.030 -output region
|
||||
}
|
||||
|
||||
//rule nwell.7 {
|
||||
// caption "Min spacing between nwell and deep nwell on separate nets: 4.500"
|
||||
// caption "Spacing between nwell and deep nwell on the same net is set"
|
||||
// caption "by the sum of the rules nwell.2 and nwell.5"
|
||||
// caption "By default, DRC run on a cell checks for the separate-net spacing,"
|
||||
// caption "when nwell and deep nwell nets are separate within the cell hierarchy"
|
||||
// caption "and are joined in the upper hierarchy."
|
||||
// caption "To allow net names to be joined and make the same-net rule applicable"
|
||||
// caption "in this case, the joinNets switch should be turned on. waffle_chip"
|
||||
// caption "shapes in cell "*_tech_CD_top" exempted"
|
||||
// caption " TBA "
|
||||
// inside_cell -not nwell "*_tech_CD_top" -outputlayer nwell.7_a
|
||||
// exte nwell.7_a dnwell -lt 4.500 -not_connected -output region
|
||||
//}
|
||||
|
||||
|
||||
rule nwell.ntap {
|
||||
caption "nwell must have at least one ntap"
|
||||
select -enclose -not nwell ntap
|
||||
}
|
||||
|
||||
// both layers 1st / 2nd so that both shapes are output
|
||||
// this will show nwell shapes connected to another nwell with a different voltage marker,
|
||||
// but it doesn't show the path ! RDB file doesn't help
|
||||
// leaving these checks out for now until a better methodology can be implemented
|
||||
// LVS should report these as stamping conflicts since the nwells will be connected to diferent pinss
|
||||
|
||||
#IFNDEF NOWARN
|
||||
|
||||
// rule nwell.sameNet.1 {
|
||||
// caption "WARNING: Different voltage nwell (LV, hvi) found on the same net"
|
||||
// antenna nwell_lv nwell_hv -gt 0 // -rdb "nwell.sameNet1.rdb" -by_layer nwell_lv nwell_hv ; }
|
||||
// rule nwell.sameNet.2{
|
||||
// caption "WARNING: Different voltage nwell (LV, vhvi) found on the same net"
|
||||
// antenna nwell_lv nwell_vhv -gt 0 }
|
||||
// rule nwell.sameNet.3{
|
||||
// caption "WARNING: Different voltage nwell (LV, uhvi) found on the same net"
|
||||
// antenna nwell_lv nwell_uhv -gt 0 }
|
||||
// rule nwell.sameNet.4 {
|
||||
// caption "WARNING: Different voltage nwell (hvi, vhvi) found on the same net"
|
||||
// antenna nwell_hv nwell_vhv -gt 0 }
|
||||
// rule nwell.sameNet.5 {
|
||||
// caption "WARNING: Different voltage nwell (hvi, uhvi) found on the same net"
|
||||
// antenna nwell_hv nwell_uhv -gt 0 }
|
||||
// rule nwell.sameNet.6 {
|
||||
// caption "WARNING: Different voltage nwell (vhvi, uhvi) found on the same net"
|
||||
// antenna nwell_vhv nwell_uhv -gt 0 }
|
||||
|
||||
#ENDIF // ifndef NOWARN
|
||||
+349
@@ -0,0 +1,349 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Other Rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Other rules:
|
||||
// contacts and vias must be covered by metals
|
||||
// res layers must fit exactly inside drawing layers
|
||||
// metals cannot be drawn over blockage layers
|
||||
//
|
||||
// These are generally rules that apply to multiple layers
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Contacts and Vias
|
||||
|
||||
// licon inside LI and (poly or diff or tap) covered by rules licon.4a & licon.4b
|
||||
// poly licon inside npc is covered by rule licon.18
|
||||
|
||||
|
||||
// v2.10 - updating coverage checks to usg DG layers only
|
||||
// - fill shapes
|
||||
|
||||
#IFNDEF SRAM
|
||||
rule CDR.mcon.cover.1 {
|
||||
caption "CDR: mcon must be inside li"
|
||||
NOT mcon li_dg ;
|
||||
}
|
||||
#ENDIF
|
||||
|
||||
#IFDEF SRAM
|
||||
rule CDR.mcon.cover.1 {
|
||||
caption "CDR: mcon must be inside li"
|
||||
NOT mcon_notcore li_dg ;
|
||||
}
|
||||
rule CDR.mcon.cover.1_SRAM {
|
||||
caption "CORE WARNING: alternate mcon.cover.1 rule used in areaid.ce regions "
|
||||
caption "mcon insice areaid.ce must overlap li"
|
||||
select -outside mcon_core li_dg ;
|
||||
|
||||
}
|
||||
rule mcon.WARNING {
|
||||
caption "CORE WARNING: alternate mcon.cover.1 rule used in areaid.ce regions "
|
||||
caption "CORE WARNING: real mcon.cover.1 errors may be missed "
|
||||
extent_drawn areaid.ce ; ;
|
||||
}
|
||||
#ENDIF
|
||||
|
||||
|
||||
rule mcon.cover.2 {
|
||||
caption "mcon must be inside met1"
|
||||
NOT mcon m1_dg ;
|
||||
}
|
||||
rule via1.cover.1 {
|
||||
caption "via1 must be inside met1"
|
||||
NOT via1 m1_dg ;
|
||||
}
|
||||
rule via1.cover.2 {
|
||||
caption "via1 must be inside met2"
|
||||
NOT via1 m2_dg ;
|
||||
}
|
||||
rule via2.cover.1 {
|
||||
caption "via2 must be inside met2"
|
||||
NOT via2 m2_dg ;
|
||||
}
|
||||
rule via2.cover.2 {
|
||||
caption "via2 must be inside met3"
|
||||
NOT via2 m3_dg ;
|
||||
}
|
||||
rule via3.cover.1 {
|
||||
caption "via3 must be inside met3"
|
||||
NOT via3 m3_dg ;
|
||||
}
|
||||
rule via3.cover.2 {
|
||||
caption "via3 must be inside met4"
|
||||
NOT via3 m3_dg ;
|
||||
}
|
||||
rule via4.cover.1 {
|
||||
caption "via4 must be inside met4"
|
||||
NOT via4 m4_dg ;
|
||||
}
|
||||
rule via4.cover.2 {
|
||||
caption "via4 must be inside met5"
|
||||
NOT via4 m4_dg ;
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Res layers
|
||||
|
||||
#IFNDEF NOWARN
|
||||
|
||||
select -cut -not diff_res li1 -outputlayer diffres_maybe
|
||||
NOT diff_dg diffres_maybe diff_dg_not_res ;
|
||||
|
||||
//select -touch -not diffres_maybe diff_dg_not_res -eq 2 -outputlayer diffres_not_touch_2
|
||||
|
||||
rule difftap.res {
|
||||
caption "WARNING: diff res must fit exactly inside diff drawing"
|
||||
select -touch -not diffres_maybe diff_dg_not_res -eq 2 ;
|
||||
select -cut diff_res diff ;
|
||||
}
|
||||
|
||||
select -cut -not li1_res li_dg -outputlayer lires_maybe
|
||||
NOT li_dg lires_maybe li_dg_not_res
|
||||
|
||||
//select -touch -not lires_maybe li_dg_not_res -eq 2 -outputlayer lires_not_touch_2
|
||||
|
||||
rule li.res {
|
||||
caption "WARNING: li res must fit exactly inside li drawing"
|
||||
select -touch -not lires_maybe li_dg_not_res -eq 2 ;
|
||||
select -cut li1_res li_dg ;
|
||||
}
|
||||
|
||||
select -cut -not met1_res m1_dg -outputlayer met1res_maybe
|
||||
NOT m1_dg met1res_maybe m1_dg_not_res ;
|
||||
|
||||
rule m1.res {
|
||||
caption "WARNING: met1 res must fit exactly inside met1 drawing"
|
||||
select -touch -not met1res_maybe m1_dg_not_res -eq 2 ;
|
||||
select -cut met1_res m1_dg ;
|
||||
}
|
||||
|
||||
select -cut -not met2_res m2_dg -outputlayer met2res_maybe
|
||||
NOT m2_dg met2res_maybe m2_dg_not_res ;
|
||||
|
||||
rule m2.res {
|
||||
caption "WARNING: met2 res must fit exactly inside met2 drawing"
|
||||
select -touch -not met2res_maybe m2_dg_not_res -eq 2 ;
|
||||
select -cut met2_res m2_dg ;
|
||||
}
|
||||
|
||||
select -cut -not met3_res m3_dg -outputlayer met3res_maybe
|
||||
NOT m3_dg met3res_maybe m3_dg_not_res ;
|
||||
|
||||
rule m3.res {
|
||||
caption "WARNING: met3 res must fit exactly inside met3 drawing"
|
||||
select -touch -not met3res_maybe m3_dg_not_res -eq 2 ;
|
||||
select -cut met3_res m3_dg ;
|
||||
}
|
||||
|
||||
select -cut -not met4_res m4_dg -outputlayer met4res_maybe
|
||||
NOT m4_dg met4res_maybe m4_dg_not_res ;
|
||||
|
||||
rule m4.res {
|
||||
caption "WARNING: met4 res must fit exactly inside met4 drawing"
|
||||
select -touch -not met4res_maybe m4_dg_not_res -eq 2 ;
|
||||
select -cut met4_res m4_dg ;
|
||||
}
|
||||
|
||||
select -cut -not met5_res m5_dg -outputlayer met5res_maybe
|
||||
NOT m5_dg met5res_maybe m5_dg_not_res ;
|
||||
|
||||
rule m5.res {
|
||||
caption "WARNING: met5 res must fit exactly inside met5 drawing"
|
||||
select -touch -not met5res_maybe m5_dg_not_res -eq 2 ;
|
||||
select -cut met5_res m4_dg ;
|
||||
}
|
||||
|
||||
#ENDIF // #ifndef NOWARN
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Blocking layers
|
||||
|
||||
rule li.block.1 {
|
||||
caption "li cannot overlap li blockage"
|
||||
AND li1 li1_block ;
|
||||
}
|
||||
rule m1.block.1 {
|
||||
caption "met1 cannot overlap met1 blockage"
|
||||
AND met1 met1_block ;
|
||||
}
|
||||
rule m2.block.1 {
|
||||
caption "met2 cannot overlap met2 blockage"
|
||||
AND met2 met2_block ;
|
||||
}
|
||||
rule m3.block.1 {
|
||||
caption "met3 cannot overlap met3 blockage"
|
||||
AND met3 met3_block ;
|
||||
}
|
||||
rule m4.block.1 {
|
||||
caption "met4 cannot overlap met4 blockage"
|
||||
AND met4 met4_block ;
|
||||
}
|
||||
rule m5.block.1 {
|
||||
caption "met5 cannot overlap met5 blockage"
|
||||
AND met5 met5_block ;
|
||||
}
|
||||
|
||||
rule li.block.2 {
|
||||
caption "Min spacing of li to li blockage: 0.17 um"
|
||||
exte li1 li1_block -lt 0.17 -single_point -output region
|
||||
}
|
||||
rule m1.block.2 {
|
||||
caption "Min spacing of met1 to met1 blockage: 0.14 um"
|
||||
exte met1 met1_block -lt 0.14 -single_point -output region
|
||||
}
|
||||
rule m2.block.2 {
|
||||
caption "Min spacing of met2 to met2 blockage: 0.14 um"
|
||||
exte met2 met2_block -lt 0.14 -single_point -output region
|
||||
}
|
||||
rule m3.block.2 {
|
||||
caption "Min spacing of met3 to met3 blockage: 0.3 um"
|
||||
exte met3 met3_block -lt 0.30 -single_point -output region
|
||||
}
|
||||
rule m4.block.2 {
|
||||
caption "Min spacing of met4 to met4 blockage: 0.3 um"
|
||||
exte met4 met4_block -lt 0.30 -single_point -output region
|
||||
}
|
||||
rule m5.block.2 {
|
||||
caption "Min spacing of met5 to met5 blockage: 1.6 um"
|
||||
exte met5 met5_block -lt 1.60 -single_point -output region
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Old fill layers
|
||||
|
||||
// Here are all the old "waffle_drop" layers (fill block) from layer_defs
|
||||
// Old LI fill block layer was mistakenly omitted
|
||||
|
||||
// layer_def cfom_waffle_drop 1263 // diff
|
||||
// layer_map 22 -datatype 24 1263 //cfom,waffle drop,22:24
|
||||
|
||||
// layer_def cp1m_waffle_drop 1262 // poly
|
||||
// layer_map 33 -datatype 24 1262 //cp1m,waffle drop,33:24
|
||||
|
||||
// layer_def cmm1_waffle_drop 1261
|
||||
// layer_map 62 -datatype 24 1261 //cmm1,waffle drop,62:24
|
||||
|
||||
// layer_def cmm2_waffle_drop 1260
|
||||
// layer_map 105 -datatype 52 1260 //cmm2,waffle drop,105:52
|
||||
|
||||
// layer_def cmm3_waffle_drop 1259
|
||||
// layer_map 107 -datatype 24 1259 //cmm3,waffle drop,107:24
|
||||
|
||||
// layer_def cmm4_waffle_drop 1258
|
||||
// layer_map 112 -datatype 4 1258 //cmm4,waffle drop,112:4
|
||||
|
||||
// layer_def cmm5_waffle_drop 1264
|
||||
// layer_map 117 -datatype 4 1264 //cmm5,waffle drop,117:4
|
||||
|
||||
#IFNDEF NOWARN
|
||||
|
||||
// diff
|
||||
layer_def cfom_fill 9001
|
||||
layer_map 22 -datatype 99 9001 // old cfom fill
|
||||
|
||||
|
||||
rule "diff.oldfill.1" {
|
||||
caption "WARNING: cfom/fill (GDS 22:99) is not supported. Use diff/fill (GDS 65:99)"
|
||||
copy cfom_fill ;
|
||||
}
|
||||
rule "diff.oldfill.2" {
|
||||
caption "WARNING: cfom/waffleDrop (GDS 22:24) is not supported. Use diff/fill_block (GDS 65:98)"
|
||||
copy cfom_waffle_drop ;
|
||||
}
|
||||
|
||||
// poly
|
||||
layer_def cp1m_fill 9091
|
||||
layer_map 28 -datatype 28 9091 // old poly fill
|
||||
|
||||
rule "poly.oldfill.1" {
|
||||
caption "WARNING: cp1m/fill (GDS 28:28) is not supported. Use poly/fill (GDS 66:99)"
|
||||
copy cp1m_fill ;
|
||||
}
|
||||
|
||||
rule "poly.oldfill.2" {
|
||||
caption "WARNING: cp1m/waffleDrop (GDS 33:24) is not supported. Use poly/fill_block (GDS 66:98)"
|
||||
copy cp1m_waffle_drop ;
|
||||
}
|
||||
|
||||
layer_def cli1m_fill 9111
|
||||
layer_map 56 -datatype 28 9111 // old li fill
|
||||
|
||||
rule "li.oldfill.1" {
|
||||
caption "WARNING: cli1m/fill (GDS 56:28) is not supported. Use li/fill (GDS 67:99)"
|
||||
copy cli1m_fill
|
||||
}
|
||||
|
||||
layer_def cmm1_fill 9002
|
||||
layer_map 36 -datatype 28 9002 // old cmm1 fill
|
||||
|
||||
rule "m1.oldfill.1" {
|
||||
caption "WARNING: cmm1/fill (GDS 36:28) is not supported. Use met1/fill (GDS 68:99)"
|
||||
copy cmm1_fill
|
||||
}
|
||||
|
||||
rule "m1.oldfill.2" {
|
||||
caption "WARNING: cmm1/waffleDrop (GDS 62:24) is not supported. Use met1/fill_block (GDS 68:98)"
|
||||
copy cmm1_waffle_drop
|
||||
}
|
||||
|
||||
layer_def cmm2_fill 9003
|
||||
layer_map 41 -datatype 28 9003 // old cmm2 fill
|
||||
|
||||
rule "m2.oldfill.1" {
|
||||
caption "WARNING: cmm2/fill (GDS 41:28) is not supported. Use met2/fill (GDS 69:99)"
|
||||
copy cmm2_fill
|
||||
}
|
||||
|
||||
rule "m2.oldfill.2" {
|
||||
caption "WARNING: cmm2/waffleDrop (GDS 105:52) is not supported. Use met2/fill_block (GDS 69:98)"
|
||||
copy cmm2_waffle_drop
|
||||
}
|
||||
|
||||
|
||||
layer_def cmm3_fill 9004
|
||||
layer_map 34 -datatype 28 9004 // old cmm3 fill
|
||||
|
||||
rule "m3.oldfill.1" {
|
||||
caption "WARNING: cmm3/fill (GDS 34:28) is not supported. Use met3/fill (GDS 70:99)"
|
||||
copy cmm3_fill
|
||||
}
|
||||
|
||||
rule "m3.oldfill.2" {
|
||||
caption "WARNING: cmm3/waffleDrop (GDS 107:52) is not supported. Use met3/fill_block (GDS 70:98)"
|
||||
copy cmm3_waffle_drop
|
||||
}
|
||||
|
||||
layer_def cmm4_fill 9005
|
||||
layer_map 51 -datatype 28 9005 // old cmm4 fill
|
||||
|
||||
rule "m4.oldfill.1" {
|
||||
caption "WARNING: cmm4/fill (GDS 51:28) is not supported. Use met4/fill (GDS 71:99)"
|
||||
copy cmm4_fill
|
||||
}
|
||||
|
||||
rule "m4.oldfill.2" {
|
||||
caption "WARNING: cmm4/waffleDrop (GDS 112:4) is not supported. Use met4/fill_block (GDS 71:98)"
|
||||
copy cmm4_waffle_drop
|
||||
}
|
||||
|
||||
layer_def cmm5_fill 9006
|
||||
layer_map 59 -datatype 28 9006 // old cmm5 fill
|
||||
|
||||
rule "m5.oldfill.1" {
|
||||
caption "WARNING: cmm5/fill (GDS 59:28)) is not supported. Use met5/fill (GDS 72:99)"
|
||||
copy cmm5_fill
|
||||
}
|
||||
|
||||
rule "m5.oldfill.2" {
|
||||
caption "WARNING: cmm5/waffleDrop (GDS 117:4) is not supported. Use met5/fill_block (GDS 72:98)"
|
||||
copy cmm5_waffle_drop
|
||||
}
|
||||
|
||||
#ENDIF // ifndef NOWARN
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// pad rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.34 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
rule CDR.pad.2 {
|
||||
caption "CDR: Min spacing of pad: 1.27 um"
|
||||
exte pad -lt 1.270 -single_point -output region
|
||||
}
|
||||
|
||||
rule pad.3 {
|
||||
caption "Min area of hugePad NOT top_metal: 30000 sq um"
|
||||
caption " Adjust top_metal based on final process type"
|
||||
not hugePad met5 -outputlayer pad.3a
|
||||
area pad.3a -lt 30000
|
||||
}
|
||||
|
||||
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// photo rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.15 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// photo layer is: areaid.po
|
||||
|
||||
select -enclose (AND areaid.po dnwell) nwell -outputlayer photo
|
||||
|
||||
//rule photo.1 {
|
||||
// caption "rules dnwell.3 and nwell.5 are exempted for photoDiode"
|
||||
//}
|
||||
|
||||
rule photo.2 {
|
||||
caption "Min/Max width of photoDiode: 3.0 um "
|
||||
inte photo -lt 3.0 -output region
|
||||
}
|
||||
|
||||
rule photo.3 {
|
||||
caption "Min spacing between photoDiode: 5.0 um "
|
||||
exte photo -lt 5.0 -output region
|
||||
}
|
||||
|
||||
// rule photo.4 {
|
||||
// caption "Min spacing between photoDiode and deep nwell "
|
||||
|
||||
// rule photo.5 {
|
||||
// caption "photoDiode edges must be coincident with areaid.po "
|
||||
|
||||
// rule photo.6 {
|
||||
// caption "photoDiode must be enclosed by dnwell ring "
|
||||
|
||||
// rule photo.7 {
|
||||
// caption "photoDiode must be enclosed by p+ tap ring "
|
||||
|
||||
// rule photo.8 {
|
||||
// caption "Min/Max width of nwell inside photoDiode "
|
||||
|
||||
// rule photo.9 {
|
||||
// caption "Min/Max enclosure of nwell by photoDiode"
|
||||
|
||||
// rule photo.10 {
|
||||
// caption "Min/Max width of tap inside photoDiode"
|
||||
|
||||
// rule photo.11 {
|
||||
// caption "Min/Max enclosure of tap by nwell inside photoDiode"
|
||||
|
||||
+228
@@ -0,0 +1,228 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// poly rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.12 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// Some rules apply to periphery only (outside areaid.ce). A corresponding core rule may or may not exist
|
||||
// "on field" below means the same as periphery (outside areaid.ce)
|
||||
|
||||
// v2.10: poly_fill checks added, remove from poly checks
|
||||
|
||||
AND poly_dg areaid.ce -outputlayer poly_core
|
||||
NOT poly_dg areaid.ce -outputlayer poly_notcore
|
||||
|
||||
//rule poly.X.1 {
|
||||
// caption "All FETs would be checked for W/Ls as documented in spec 001-02735"
|
||||
// caption "Exempt FETs that are pruned exempt for W/Ls inside areaid.sc"
|
||||
// caption "and inside cell name scs8*decap* and listed in the MRGA as a decap only W/L"
|
||||
// caption " NOT CHECKED Informational Only
|
||||
//}
|
||||
|
||||
//rule poly.X.1a {
|
||||
// caption "Min & max dummy_poly L is equal to min L allowed for corresponding device type"
|
||||
// caption "(exempt rule for dummy_poly in cells listed on Table H3)"
|
||||
// caption " NOT CHECKED Informational Only"
|
||||
//}
|
||||
|
||||
rule CDR.poly.1a {
|
||||
caption "CDR: Min width of poly: 0.15 um"
|
||||
inte poly_dg -lt 0.150 -output region
|
||||
}
|
||||
|
||||
rule poly.1b {
|
||||
caption "Min channel length (poly width) for pfet overlapping lvtn: 0.35 um"
|
||||
caption "(exempt rule for dummy_poly in cells listed on Table H3)"
|
||||
select -interact pfet lvtn -outputlayer poly.1b_a
|
||||
inte poly.1b_a -lt 0.350 -output region
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Poly Spacing
|
||||
|
||||
rule CDR.poly.2 {
|
||||
caption "CDR: Min spacing of poly to poly outside of areaid.ce: 0.21 um"
|
||||
exte poly_notcore -lt 0.210 -output region ;
|
||||
}
|
||||
|
||||
edge_length poly_core -le 0.15 -outputlayer poly_gap_edge
|
||||
edge_length poly_core -gt 0.20 -outputlayer poly_not_gap_edge
|
||||
|
||||
rule CDR.poly.2a {
|
||||
exte poly_gap_edge -lt 0.16 -para only -output region ;
|
||||
caption "CDR: Min spacing of poly core gap: 0.16 um"
|
||||
caption " (end-to-end spacing of poly in areaid.ce) "
|
||||
}
|
||||
rule CDR.poly.2b {
|
||||
exte poly_not_gap_edge -lt 0.175 -para only -output region ;
|
||||
caption "CDR: Min spacing of poly inside areaid.ce: 0.175 um"
|
||||
caption " (except for end-to-end spacing of poly in areaid.ce) "
|
||||
}
|
||||
|
||||
rule poly.4a {
|
||||
caption "Min spacing of poly on field (outside areaid.ce) to diff (parallel edges only): 0.075 um"
|
||||
exte poly_notcore diff -lt 0.075 -abut -eq 0 -para only -output region
|
||||
}
|
||||
rule poly.4b {
|
||||
caption "Min spacing of poly in core (inside areaid.ce) to diff: 0.03 um"
|
||||
exte poly_core diff -lt 0.03 -para only -output region
|
||||
}
|
||||
|
||||
rule poly.5a {
|
||||
caption "Min spacing of poly on field (outside areaid.ce) to tap: 0.055 um"
|
||||
exte poly_notcore tap -lt 0.055 -single_point -output region
|
||||
}
|
||||
rule poly.5b {
|
||||
caption "Min spacing of poly in core (inside areaid.ce) to tap: 0.03 um"
|
||||
exte poly_core tap -lt 0.03 -single_point -output region
|
||||
}
|
||||
|
||||
//select -touch tap diff -outputlayer poly.6_a
|
||||
|
||||
AND ptap psdm ptap_actual ;
|
||||
AND ntap nsdm ntap_actual ;
|
||||
|
||||
AND pdiff psdm pdiff_actual ;
|
||||
AND ndiff nsdm ndiff_actual ;
|
||||
|
||||
select -touch ptap_actual ndiff_actual -outputlayer tap_ndiff
|
||||
select -touch ntap_actual pdiff_actual -outputlayer tap_pdiff
|
||||
|
||||
|
||||
// poly.6 is obsolete
|
||||
//rule poly.6 {
|
||||
// caption "Min spacing of poly on diff to abutting tap (min source): 0.30 um"
|
||||
// exte gate tap_ndiff -lt 0.300 -output region
|
||||
// exte gate tap_pdiff -lt 0.300 -output region
|
||||
//}
|
||||
|
||||
// poly.9 replaced with 9a & 9b
|
||||
//rule poly.9 {
|
||||
// caption "Poly resistor spacing to poly or spacing (no overlap) to diff/tap: 0.48 um"
|
||||
|
||||
rule poly.9a {
|
||||
caption "Min poly resistor spacing to diff/tap: 0.48 um"
|
||||
exte poly_res diff_in -lt 0.48 -abut -lt 90 -single_point -output region
|
||||
}
|
||||
rule poly.9b {
|
||||
caption "Min poly resistor spacing to poly: 0.21" um
|
||||
exte poly_res poly_dg -lt 0.21 -abut -ltgt 0 90 -single_point -output region
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
AND poly poly_res -outputlayer poly_res_body
|
||||
|
||||
rule CDR.poly.3 {
|
||||
caption "CDR: Min poly resistor width: 0.33 um"
|
||||
inte poly_res_body -lt 0.330 -output region
|
||||
}
|
||||
|
||||
rule poly.3a {
|
||||
caption "Poly resistor must be covered by poly"
|
||||
not poly_res poly
|
||||
}
|
||||
|
||||
|
||||
// rpm_urpm: OR rpm urpm
|
||||
edge_boolean -coincident_only -inside (and poly_res rpm_urpm) poly -outputlayer poly_prec_len
|
||||
edge_boolean -coincident_only -inside (not poly_res rpm_urpm) poly -outputlayer poly_res_len
|
||||
|
||||
rule CDR.poly.3b {
|
||||
caption "CDR: Min length of precision poly resistor: 0.66 um"
|
||||
path_length poly_prec_len -lt 0.66
|
||||
}
|
||||
|
||||
rule CDRW.poly.3c {
|
||||
caption "CDRW: Min length of non-precision poly resistor: 0.47 um"
|
||||
path_length poly_res_len -lt 0.47
|
||||
}
|
||||
|
||||
|
||||
// original implementation creating false errors since the 0.25 um enclosure minimum
|
||||
// is larger than the width of some diff shapes; enc region must be inside diff
|
||||
|
||||
enc poly_notcore diff_in -lt 0.250 -output region -outputlayer poly_dif_enc
|
||||
select -inside poly_dif_enc diff_in -outputlayer poly.7
|
||||
|
||||
rule poly.7 {
|
||||
caption "Min extension of diff beyond poly in periphery (outside areaid.ce): 0.25 um"
|
||||
copy poly.7 ;
|
||||
}
|
||||
|
||||
// poly.8 applies only to "endcap" (gate "ends") not all gate edges
|
||||
|
||||
edge_boolean -coincident_only -inside (select -interact -not gate tap) diff -outputlayer gate_endcap
|
||||
edge_boolean -outside gate_endcap areaid.ce -outputlayer gate_peri_endcap
|
||||
|
||||
rule poly.8 {
|
||||
caption "Min extension of poly outside areaid.ce beyond gate end (endcap): 0.13 um"
|
||||
enc gate_peri_endcap poly -lt 0.130 -output region
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// poly.10
|
||||
// poly.11
|
||||
|
||||
//rule poly.10 "Poly cannot overlap inner corners of diff"
|
||||
//rule poly.11 "No 90 deg turns of poly on diff"
|
||||
|
||||
// poly.10: inner corners of diff include vertices from 45 degree bends
|
||||
// poly.11: only 90 degree bends of poly are violations (45 degree OK)
|
||||
|
||||
// Angles that are not multiples of 45 are not considered,
|
||||
// as these poly and diff shapes are illegal.
|
||||
|
||||
AND poly_dg diff_in polydiff ;
|
||||
vertex polydiff -gt 4 -outputlayer polydiff_gt4
|
||||
|
||||
bbox polydiff_gt4 -outputlayer polydiff_bbox ;
|
||||
select polydiff_bbox -inside diff -outputlayer poly_has_bend
|
||||
select polydiff_bbox -inside poly -outputlayer diff_has_bend
|
||||
|
||||
rule poly.10 {
|
||||
caption "Poly cannot overlap inner corners of diff"
|
||||
copy diff_has_bend ;
|
||||
}
|
||||
|
||||
// Remove 45 degree bends from errors
|
||||
// Need to consider poly shapes might have both 45 & 90 errors
|
||||
// Show only the 90 degree corner
|
||||
|
||||
// select only the possible error regions from poly:
|
||||
select polydiff_gt4 -inside poly_has_bend -outputlayer poly_11_maybe
|
||||
|
||||
// NOT gives the regions outside the edges, remove 45 degree regions
|
||||
NOT poly_has_bend poly_11_maybe poly_11_not ;
|
||||
rect_chk poly_11_not -orthogonal_only -outputlayer poly_11
|
||||
|
||||
rule poly.11 {
|
||||
caption "No 90 deg turns of poly on diff"
|
||||
copy poly_11 ;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
not nwell hvi -outputlayer poly.12_a
|
||||
select -interact -not poly_dg poly.12_a -outputlayer poly.12_b
|
||||
select -donut -not poly.12_b -outputlayer poly.12_c
|
||||
|
||||
rule poly.12 {
|
||||
caption "(Poly NOT (nwell NOT hvi)) may not overlap tap"
|
||||
caption "Rule exempted for gated_npn and inside UHVI."
|
||||
and poly.12_c (AND tap psdm) ;
|
||||
}
|
||||
|
||||
rule poly.15 {
|
||||
caption "Poly must not overlap diff:rs (diff res)"
|
||||
and poly diff_res
|
||||
}
|
||||
|
||||
//rule poly.16 {
|
||||
// caption "Inside RF FETs defined in Table H5, poly cannot overlap poly across multiple adjacent instances"
|
||||
// caption "Not Yet Coded"
|
||||
//}
|
||||
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// pwbm rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.4 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// No information provided
|
||||
|
||||
//pwbm.1 Min width of pwbm NV
|
||||
//pwbm.2 Min spacing between pwbm inside UHVI NV
|
||||
//pwbm.3 Min enclosure of dnwell by pwbm inside UHVI (exempt pwbm hole inside dnwell) NV
|
||||
//pwbm.4 dnwell inside UHVI must be enclosed by pwbm (exempt pwbm hole inside dnwell) NV
|
||||
//pwbm.5 Min Space between pwbm holes inside UHVI NV
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// pwdem rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.5 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// No information provided
|
||||
|
||||
//pwdem.1 Min width of pwdem NV
|
||||
//pwdem.2 Min spacing between pwdem inside UHVI on same net NV
|
||||
//pwdem.3 Min enclosure of pdwem by pwbm inside UHVI NV
|
||||
//pwdem.4 pwdem must be enclosed by UHVI
|
||||
//pwdem.5 pwdem inside UHVI must be enclosed by deep nwell
|
||||
//pwdem.6 Min enclosure of pwdem by deep nwell inside UHVI
|
||||
|
||||
+75
@@ -0,0 +1,75 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// pwres rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.49 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
//rule pwres.1 {
|
||||
// caption "GUIDELINE: Pwell resistor has to be enclosed by the res layer"
|
||||
//}
|
||||
|
||||
//rule pwres.2 {
|
||||
// caption "Min/Max width of pwell resistor == 2.65 um"
|
||||
// inte pwell_res -eq 2.650 -single_point -output region
|
||||
// caption "Checked in pwres.3"
|
||||
//}
|
||||
|
||||
rule pwres.3 {
|
||||
caption "Min length of pwell resistor: 26.50 um"
|
||||
rect_chk -not pwell_res -eq 2.650 -by -lege 26.500 265.00
|
||||
}
|
||||
|
||||
//rule pwres.4 {
|
||||
// caption "Max length of pwell resistor == 265.0 um"
|
||||
// caption "Checked in pwres.3"
|
||||
//}
|
||||
|
||||
rule pwres.5 {
|
||||
caption "Min/Max spacing of tap inside the pwell resistor to nwell == 0.22 um"
|
||||
select -inside tap pwell_res -outputlayer pwres.5_a //djb
|
||||
exte pwres.5_a nwell -lt 0.220 -single_point -output region
|
||||
}
|
||||
|
||||
rule pwres.6 {
|
||||
caption "Min/Max width of tap inside the pwell resistor == 0.53 um"
|
||||
select -inside tap pwell_res -outputlayer pwres.6_a //djb
|
||||
with_width pwres.6_a -ne 0.530
|
||||
}
|
||||
|
||||
rule pwres.7a {
|
||||
caption "Every pwres_terminal must enclose 12 licon"
|
||||
select -enclose -not pwell_terminal licon -eq 12 //djb
|
||||
}
|
||||
|
||||
rule pwres.7b {
|
||||
caption "Every pwres_terminal must enclose 12 mcons if routed through metal1"
|
||||
select -inside licon pwell_terminal -outputlayer licon_in_term
|
||||
select -enclose li1 licon_in_term -outputlayer li1_with_licon_in_term
|
||||
select -enclose li1_with_licon_in_term mcon -outputlayer li1_con_met1_in_term
|
||||
select -inside li1_con_met1_in_term met1 -outputlayer term_con_met1
|
||||
select -enclose -not pwell_terminal mcon -eq 12
|
||||
}
|
||||
|
||||
rule pwres.8 {
|
||||
caption "Diff or poly is not allowed in the pwell resistor."
|
||||
and diff pwell_res
|
||||
and poly pwell_res
|
||||
}
|
||||
|
||||
//rule pwres.9 {
|
||||
// caption "Nwell surrounding the pwell resistor must have a full ring of contacted tap strapped with metal."
|
||||
// caption "Not Yet Coded"
|
||||
//}
|
||||
|
||||
//rule pwres.10 {
|
||||
// caption "The res layer must abut pwres_terminal on opposite and parallel edges"
|
||||
// caption "Not Yet Coded"
|
||||
//}
|
||||
|
||||
//rule pwres.11 {
|
||||
// caption "The res layer must abut nwell on opposite and parallel edges not checked in Rule pwres.10"
|
||||
// caption "Not Yet Coded"
|
||||
//}
|
||||
|
||||
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// RDL rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.35 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// Use of RDL not implemented in this PDK, file kept for reference
|
||||
|
||||
//rule rdl.1 {
|
||||
// caption "Min width of rdl: 1 um"
|
||||
// inte rdl -lt 10 -single_point -output region
|
||||
//}
|
||||
|
||||
//rule rdl.2 {
|
||||
// caption "Min spacing between two rdl: 1 um"
|
||||
// exte rdl -lt 10 -single_point -output region
|
||||
//}
|
||||
|
||||
//rule rdl.3 {
|
||||
// caption "Min enclosure of pad by rdl, except rdl interacting with bump: 10.75 um"
|
||||
// enc pad by rdl -lt 10.750 -output region
|
||||
//}
|
||||
|
||||
//rule rdl.4 {
|
||||
// caption "Min spacing between rdl and outer edge of the seal ring: 15.00 um"
|
||||
//}
|
||||
|
||||
//rule rdl.5 {
|
||||
// caption "(rdl OR ccu1m.mk) must not overlap areaid.ft. Exempt the following from the check: (a) blankings in the frame (rule uses areaid.dt for exemption)"
|
||||
//}
|
||||
|
||||
//rule rdl.6 {
|
||||
// caption "Min spacing of rdl to pad, except rdl interacting with bump: 19.66 um"
|
||||
// caption "Had a confusion between rdl3 and this rule"
|
||||
// enc rdl by pad -lt 19.660 -output region
|
||||
//}
|
||||
|
||||
+116
@@ -0,0 +1,116 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// rpm / urpm rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.13 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
rule CDR.rpm.1a {
|
||||
caption "CDR: Min width of rpm: 1.27 um"
|
||||
inte rpm -lt 1.270 -single_point -output region
|
||||
}
|
||||
|
||||
//rule rpm.1b {
|
||||
// caption "Min/Max prec_resistor width xhrpoly_0p35: 0.35 um"
|
||||
// rect_chk xhrpoly_0p35 -eq 0.350
|
||||
//}
|
||||
|
||||
//rule rpm.1c {
|
||||
// caption "Min/Max prec_resistor width xhrpoly_0p69: 0.69 um"
|
||||
// rect_chk xhrpoly_0p69 -eq 0.690
|
||||
//}
|
||||
|
||||
//rule rpm.1d {
|
||||
// caption "Min/Max prec_resistor width xhrpoly_1p41: 1.41 um"
|
||||
// rect_chk xhrpoly_1p41 -eq 1.410
|
||||
//}
|
||||
|
||||
//rule rpm.1e {
|
||||
// caption "Min/Max prec_resistor width xhrpoly_2p85: 2.85 um"
|
||||
// rect_chk xhrpoly_2p85 -eq 2.850
|
||||
//}
|
||||
|
||||
//rule rpm.1f {
|
||||
// caption "Min/Max prec_resistor width xhrpoly_5p73: 5.73 um"
|
||||
// rect_chk xhrpoly_5p73 -eq 5.730
|
||||
//}
|
||||
|
||||
//rule rpm.1g {
|
||||
// caption "Only 1 licon is allowed in xhrpoly_0p35 prec_resistor_terminal"
|
||||
// }
|
||||
|
||||
//rule rpm.1h {
|
||||
// caption "Only 1 licon is allowed in xhrpoly_0p69 prec_resistor_terminal"
|
||||
// }
|
||||
|
||||
//rule rpm.1i {
|
||||
// caption "Only 2 licon is allowed in xhrpoly_1p41 prec_resistor_terminal"
|
||||
// }
|
||||
|
||||
//rule rpm.1j {
|
||||
// caption "Only 4 licon is allowed in xhrpoly_2p85 prec_resistor_terminal"
|
||||
// }
|
||||
|
||||
|
||||
//rule rpm.1k {
|
||||
// caption "Only 8 licon is allowed in xhrpoly_5p73 prec_resistor_terminal"
|
||||
// }
|
||||
|
||||
rule CDR.rpm.2 {
|
||||
caption "CDR: Min spacing of rpm: 0.84 um"
|
||||
exte rpm -lt 0.840 -single_point -output region
|
||||
}
|
||||
|
||||
rule rpm.3 {
|
||||
caption "Min enclosure of prec_resistor by rpm: 0.20 um"
|
||||
enc rpm prec_resistor -lt 0.200 -output region
|
||||
}
|
||||
|
||||
rule rpm.4 {
|
||||
caption "Min enclosure of prec_resistor by psdm: 0.11 um"
|
||||
enc prec_resistor psdm -lt 0.110 -output region
|
||||
}
|
||||
|
||||
rule rpm.5 {
|
||||
caption "Min enclosure of prec_resistor by npc: 0.095 um"
|
||||
enc prec_resistor npc -lt 0.095 -output region
|
||||
}
|
||||
|
||||
rule rpm.6 {
|
||||
caption "Min spacing, no overlap, of rpm and nsdm: 0.20 um"
|
||||
exte rpm nsdm -lt 0.200 -overlap -single_point -output region
|
||||
}
|
||||
|
||||
rule rpm.7 {
|
||||
caption "Min spacing between rpm and poly: 0.20 um"
|
||||
exte rpm poly -lt 0.200 -single_point -output region
|
||||
}
|
||||
|
||||
rule rpm.8 {
|
||||
caption "poly must not straddle rpm"
|
||||
select -cut poly rpm
|
||||
}
|
||||
|
||||
rule rpm.9 {
|
||||
caption "Min space, no overlap, between prec_resistor and hvntm: 0.185 um"
|
||||
exte prec_resistor hvntm -lt 0.185 -overlap -single_point -output region
|
||||
}
|
||||
|
||||
//rule rpm.10 {
|
||||
// caption "Min spacing of rpm to pwbm"
|
||||
// caption "NO VALUE IN DRM"
|
||||
//}
|
||||
|
||||
rule rpm.11 {
|
||||
caption "rpm should not overlap or straddle pwbm"
|
||||
select -interact rpm pwbm
|
||||
}
|
||||
|
||||
rule CDR.urpm.1a {
|
||||
caption "CDR: Min width of urpm: 1.27 um"
|
||||
inte urpm -lt 1.270 -single_point -output region
|
||||
}
|
||||
rule CDR.urpm.2 {
|
||||
caption "CDR: Min spacing of urpm: 0.84 um"
|
||||
exte urpm -lt 0.840 -single_point -output region
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// tunm rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.11 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
rule CDR.tunm.1 {
|
||||
caption "CDR: Min width of tunm: 0.41 um"
|
||||
inte tunm -lt 0.410 -single_point -output region
|
||||
}
|
||||
|
||||
rule CDR.tunm.2 {
|
||||
caption "CDR: Min spacing/notch of tunm: 0.50 um"
|
||||
exte tunm -lt 0.500 -single_point -output region
|
||||
}
|
||||
|
||||
rule tunm.3 {
|
||||
caption "Extension of tunm beyond (poly and diff): 0.095 um"
|
||||
enc tunm gate -lt 0.095 -single_point -output region
|
||||
}
|
||||
|
||||
rule tunm.4 {
|
||||
caption "Min spacing of tunm to (poly and diff) outside tunm: 0.095 um"
|
||||
select -outside gate tunm -outputlayer tunm.4_a
|
||||
exte tunm tunm.4_a -lt 0.095 -single_point -output region
|
||||
}
|
||||
|
||||
rule tunm.5 {
|
||||
caption "(poly and diff) may not straddle tunm"
|
||||
select -cut gate tunm
|
||||
}
|
||||
|
||||
rule tunm.6a {
|
||||
caption "Tunm outside deep n-well is not allowed"
|
||||
not tunm dnwell
|
||||
}
|
||||
|
||||
rule tunm.7 {
|
||||
caption "Min tunm area: 0.672 sq um"
|
||||
area tunm -lt 0.672
|
||||
}
|
||||
|
||||
rule tunm.8 {
|
||||
caption "tunm must be enclosed by areaid.ce"
|
||||
not tunm areaid.ce
|
||||
}
|
||||
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// uhvi rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.47 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// "uhvi" is "v20 dg" in Virtuoso
|
||||
|
||||
rule uhvi.1 {
|
||||
caption "diff/tap cannot straddle UHVI"
|
||||
select -cut diff uhvi ;
|
||||
}
|
||||
|
||||
rule uhvi.2 {
|
||||
caption "poly cannot straddle UHVI"
|
||||
select -cut poly uhvi ;
|
||||
}
|
||||
|
||||
NOT pwbm lv_net pwbm_not_LV
|
||||
|
||||
rule uhvi.3 {
|
||||
caption "pwbm must be enclosed by UHVI (exempt inside areaid:lvnet)"
|
||||
select -inside -not pwbm_not_LV uhvi ;
|
||||
}
|
||||
|
||||
rule uhvi.4 {
|
||||
caption "dnwell cannot straddle UHVI"
|
||||
select -cut dnwell uhvi ;
|
||||
}
|
||||
|
||||
//rule uhvi.5 {
|
||||
// caption "UHVI must enclose areaid.ext"
|
||||
// caption "omitted; areaid.ext is not used anymore"
|
||||
//}
|
||||
|
||||
// the wording of this rule implies that all dnwell must be enclosed by UHVI
|
||||
// but appears that is not the case, areas simply cannot straddle
|
||||
// this is covered by rule uhvi.4
|
||||
|
||||
//rule uhvi.6 {
|
||||
// caption "UHVI must enclose dnwell"
|
||||
// NOT dnwell UHVI ;
|
||||
//}
|
||||
|
||||
// rules 7-9 do not have numbers in the DRM
|
||||
// "natfet.dg" does not seem to exist anymore
|
||||
//rule uhvi.7 "natfet.dg must be enclosed by UHVI layer by at least N/A"
|
||||
//rule uhvi.8 "Minimum width of natfet.dg: N/A"
|
||||
//rule uhvi.9 "Minimum spacing of natfet.dg N/A"
|
||||
|
||||
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// varac rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.14 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
rule varac.1 {
|
||||
caption "Min channel length (poly width) of Var_channel: 0.18 um"
|
||||
and poly Var_channel -outputlayer varac.1_a
|
||||
inte varac.1_a -lt 0.180 -output region
|
||||
}
|
||||
|
||||
rule varac.2 {
|
||||
caption "Min channel width (tap width) of Var_channel: 1.00 um"
|
||||
and tap Var_channel -outputlayer varac.2_a
|
||||
inte varac.2_a -lt 1.000 -output region
|
||||
}
|
||||
|
||||
rule varac.3 {
|
||||
caption "Min spacing between hvtp to Var_channel: 0.18 um"
|
||||
exte hvtp Var_channel -lt 0.180 -single_point -output region
|
||||
}
|
||||
|
||||
//rule varac.4 {
|
||||
// caption "Min spacing of licon on tap to Var_channel: 0.25 um"
|
||||
// exte licon Var_channel -lt 0.250 -single_point -output region
|
||||
//}
|
||||
|
||||
rule varac.5 {
|
||||
caption "Min enclosure of poly overlapping Var_channel by nwell: 0.15 um"
|
||||
select -cut poly Var_channel -outputlayer varac.5_a
|
||||
enc varac.5_a nwell -lt 0.150 -output region
|
||||
}
|
||||
|
||||
//rule varac.6 {
|
||||
// caption "Min spacing between VaracTap and difftap: 0.27 um"
|
||||
// exte VaracTap difftap -lt 0.270 -single_point -output region
|
||||
//}
|
||||
|
||||
rule varac.7 {
|
||||
caption "Nwell overlapping Var_channel must not overlap P+ diff"
|
||||
select -cut nwell Var_channel -outputlayer varac.7_a
|
||||
and varac.7_a pdiff
|
||||
}
|
||||
|
||||
rule varac.8 {
|
||||
caption "Min enclosure of Var_channel by hvtp: 0.255"
|
||||
enc Var_channel hvtp -lt 0.255 -output region
|
||||
}
|
||||
|
||||
|
||||
+90
@@ -0,0 +1,90 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// vhvi rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.46 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// "vhvi" is "v12 dg" in Virtuoso
|
||||
// layer_def vhvi 1045
|
||||
// layer_map 74 -datatype 21 1045 //vhvi,drawing,74:21
|
||||
// v12 drawing 74 21
|
||||
|
||||
|
||||
rule "vhvi.uhvi" {
|
||||
caption "vhvi must not overlap uhvi"
|
||||
and vhvi uhvi ;
|
||||
}
|
||||
|
||||
|
||||
// rules vhivi.vhv.# are NC (Guideline only)
|
||||
|
||||
//rule vhvi.vhv.1 {
|
||||
// caption "GUIDELINE: Terminals operating at nominal 12V (maximum 16V) bias must be tagged as Very-High-Voltage (VHV) using vhvi:dg layer"
|
||||
//}
|
||||
|
||||
//rule vhvi.vhv.2 {
|
||||
// caption "GUIDELINE: A source or drain of a drain-extended device can be tagged by vhvi:dg."
|
||||
// caption " A device with either source or drain (not both) tagged with vhvi:dg serves as a VHV propagation stopper"
|
||||
//}
|
||||
|
||||
//rule vhvi.vhv.3 {
|
||||
// caption "GUIDELINE: Any feature connected to VHVSourceDrain becomes a very-high-voltage feature"
|
||||
//}
|
||||
|
||||
//rule vhvi.vhv.4 {
|
||||
// caption "GUIDELINE: Any feature connected to VHVPoly becomes a very-high-voltage feature"
|
||||
//}
|
||||
|
||||
//rule vhvi.vhv.5 {
|
||||
// caption "GUIDELINE: Diffusion that is not a part of a drain-extended device (i.e., diff not areaid:en) "
|
||||
// caption " must not be on the same net as VHVourceDrain. Only diffusion inside areaid.ed "
|
||||
// caption " and LV diffusion tagged with vhvi:dg are exempted."
|
||||
//}
|
||||
|
||||
//rule vhvi.vhv.6 {
|
||||
// caption "GUIDELINE: Poly resistor can act as a VHV propagation stopper. For this, it should be tagged with text 'vhv_block'"
|
||||
//}
|
||||
|
||||
// DRM shows rules as "vhvi.1.-"
|
||||
// Removing trailing ".-" as it's superfluous
|
||||
|
||||
rule vhvi.1 {
|
||||
caption "Min width of vhvi:dg: 0.02 um"
|
||||
inte vhvi -lt 0.020 -single_point -output region
|
||||
}
|
||||
|
||||
rule vhvi.2 {
|
||||
caption "Vhvi:dg cannot overlap areaid:ce"
|
||||
and vhvi areaid.ce
|
||||
}
|
||||
|
||||
rule vhvi.3 {
|
||||
caption "VHVGate must overlap hvi:dg"
|
||||
select -interact -not VHVGate hvi
|
||||
}
|
||||
|
||||
//rule vhvi.4 {
|
||||
// caption "Poly connected to the same net as a VHVSourceDrain must be tagged with vhvi:dg layer"
|
||||
// caption "Not Yet Coded"
|
||||
//}
|
||||
|
||||
rule vhvi.5 {
|
||||
caption "Vhvi:dg cannot straddle VHVSourceDrain"
|
||||
select -cut vhvi VHVSourceDrain
|
||||
}
|
||||
|
||||
rule vhvi.6 {
|
||||
caption "Vhvi:dg overlapping VHVSourceDrain must not overlap poly"
|
||||
select -interact -not vhvi VHVSourceDrain -outputlayer vhvi.6_a
|
||||
and vhvi.6_a poly
|
||||
}
|
||||
|
||||
rule vhvi.7 {
|
||||
caption "Vhvi:dg cannot straddle VHVPoly"
|
||||
select -cut vhvi VHVPoly
|
||||
}
|
||||
|
||||
//rule vhvi.8 {
|
||||
// caption "Min space between nwell tagged with vhvi:dg and deep nwell, nwell, or n+diff on a separate net (except for n+diff overlapping nwell tagged with vhvi:dg): 11.24 um"
|
||||
// exte vhvi nwell -lt 11.240 -single_point -output region
|
||||
//}
|
||||
+217
@@ -0,0 +1,217 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// via1 rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.24 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// NOTE:
|
||||
// I have changed "via" to "via1"
|
||||
// This is consistent with the PDK; the layers are all called "via1"
|
||||
// Also, it makes searching much easier since "via1" is unique
|
||||
|
||||
// ********************************************
|
||||
// These two rules are valid for AL and CU
|
||||
|
||||
// rule via1.3
|
||||
// Not specifically for AL or CU
|
||||
// Each metal has its own sizing requirements
|
||||
// Simply check to make sure vias are square
|
||||
//
|
||||
// die seal ring is: SEALID
|
||||
|
||||
// define via1 inside seal ring as being *completely* inside SEALID
|
||||
// if it straddles SEALID, it needs to be treated as usual
|
||||
|
||||
select -inside via1 SEALID -outputlayer via1.insideSR
|
||||
NOT via1 via1.insideSR via1.outsideSR ;
|
||||
|
||||
select -inside via1 areaid.mt -outputlayer via1_mt
|
||||
NOT via1 via1_mt via1_not_mt
|
||||
|
||||
NOT via1_not_mt via1.insideSR via1_neither ;
|
||||
|
||||
|
||||
// areaid seal 81 1
|
||||
//layer_map 81 -datatype 1 1055 //SEALID,identifier,81:1
|
||||
|
||||
|
||||
// subtle differences with "rect_chk"
|
||||
|
||||
// rect_chk LAYER -eq 0.20 -- rectangles with *either* or both widths = 0.20 (0.20 X anything OR anything X 0.20)
|
||||
// rect_chk -not LAYER -eq 0.20 -- cannot be 0.2 X 0.2
|
||||
// rect_chk LAYER -ne 0.20 -- rectangles with *either or both widths != 0.20 ( not 0.20 X anything OR anything X not 0.20 )
|
||||
// rect_chk -not LAYER -ne 0.20 -- cannot be (not 0.2 X not 0.2)
|
||||
|
||||
|
||||
rule via1.3 {
|
||||
caption "Only min. square vias are allowed except die seal ring where vias are (via1 CD)*L == 0.20 * L"
|
||||
caption " this seal ring via1 does not have W = 0.2 um "
|
||||
rect_chk -not via1.insideSR -eq 0.20 ;
|
||||
}
|
||||
|
||||
// Original code uses "-outside_also" modifier to the "enc" command,
|
||||
// this flags edges of via1 that are outside met1.
|
||||
// enc via1.4a_a met1 -lt 0.055 -outside_also
|
||||
// This generates multiple error flags for via1 areas not covered by met1.
|
||||
// Instead, flag only the uncovered area.
|
||||
|
||||
// edge_select added to find 0.0 enclosure
|
||||
|
||||
// Rules via1.cover.1 & via1.cover.2 are added to find via1 regions not inside met1 & met2
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// AL via1 rules
|
||||
|
||||
#IFNDEF CU
|
||||
|
||||
// rect_chk needs "-by" option to check all edges;
|
||||
// This gives rectangles with *any* side equal to 0.15;
|
||||
// rect_chk via1.mt -eq 0.150 -orthogonal_only
|
||||
|
||||
rule via1.1a {
|
||||
caption "CDR: Min and max L and W of via1 outside areaid.mt == 0.15 um"
|
||||
rect_chk -not via1_neither -eq 0.150 -by -eq 0.150 -orthogonal_only
|
||||
}
|
||||
|
||||
rule via1.1b {
|
||||
caption "AL Flow - Three sizes of square Vias allowed inside areaid.mt: 0.15 um, 0.23 um and 0.28 um"
|
||||
rect_chk -not via1_mt -eq 0.150 -by -eq 0.150 -orthogonal_only -outputlayer via1.not15
|
||||
rect_chk -not via1.not15 -eq 0.230 -by -eq 0.230 -orthogonal_only -outputlayer via1.not15_23
|
||||
rect_chk -not via1.not15_23 -eq 0.280 -by -eq 0.280 -orthogonal_only
|
||||
}
|
||||
|
||||
rule CDR.via1.2 {
|
||||
caption "CDR: Min spacing of via1: 0.17 um"
|
||||
exte via1 -lt 0.170 -single_point -output region
|
||||
}
|
||||
|
||||
|
||||
// ********************************************
|
||||
// via1 ENC rules
|
||||
// grouped together to make the coding simpler to follow
|
||||
// I have copied via1.4a to via1.4a_CU below so I don't have to switch it out separately
|
||||
|
||||
// Note that via1 shapes that are NOT 0.15 x 0.15 are only allowed inside areaid.mt
|
||||
|
||||
// via.4a is updated to apply to all via1 shapes outside of areaid.mt (Module Cut)
|
||||
|
||||
rule CDR.via1.4a {
|
||||
caption "CDR: via1 outside of areaid.mt must be enclosed by met1 by at least: 0.055 um"
|
||||
enc via1_not_mt met1 -lt 0.055 -output region
|
||||
edge_select via1_not_mt met1 ;
|
||||
}
|
||||
|
||||
rule via1.4b {
|
||||
caption "Inside areaid.mt, 0.23 um via1 must be enclosed by met1 by at least: 0.03 um"
|
||||
rect_chk via1_mt -eq 0.230 -orthogonal_only -outputlayer via1.4b_a
|
||||
enc via1.4b_a met1 -lt 0.030 -outside_also -output region
|
||||
}
|
||||
|
||||
// rule via1.4c is unnecessary as the minimum enclosure is 0.0;
|
||||
// 0.28 um via1 shapes that are not covered by met1 are flagged by rule via1.cover.1
|
||||
// rule via1.4c {
|
||||
// caption "AL Flow - Inside areaid.mt, 0.28 um via1 must be enclosed by met1 by at least: 0. um"
|
||||
// }
|
||||
|
||||
rule CDR.via1.5a {
|
||||
caption "CDR: Min enclosure of 0.15 um via1 by met1 on one of two adjacent sides: 0.085 um"
|
||||
rect_chk via1 -eq 0.150 -orthogonal_only -outputlayer via1.5a_a
|
||||
rect_enc via1.5a_a met1 -good 0.085 0.000 0.085 0.000
|
||||
}
|
||||
|
||||
rule via1.5b {
|
||||
caption "Min enclosure of 0.23 um via1 by met1 on one of two adjacent sides: 0.085 um"
|
||||
rect_chk via1 -eq 0.230 -orthogonal_only -outputlayer via1.5b_a
|
||||
rect_enc via1.5b_a met1 -good 0.085 0.000 0.085 0.000
|
||||
}
|
||||
|
||||
// rule via1.5c is unnecessary since the enclosure is 0.0s
|
||||
// rule via1.5c {
|
||||
// caption "AL Flow - Inside areaid.mt, 0.28 um via1 must be enclosed by met1 on one of two adjacent sides by at least: 0.00 um"
|
||||
// }
|
||||
|
||||
|
||||
// END of via1 ENC rules
|
||||
// ********************************************
|
||||
|
||||
#ENDIF // ifndef CU
|
||||
|
||||
|
||||
// CU via1 rules
|
||||
|
||||
#IFDEF CU
|
||||
|
||||
// Grouping all of the via1 ENC checks together above to make the coding easier to follow
|
||||
// Copying rule via1.4a here so that I can keep it above inside the "IFNDEF CU" switch
|
||||
|
||||
rule via1.4a_CU {
|
||||
caption "0.15 um via1 must be enclosed by met1 by at least: 0.055 um"
|
||||
rect_chk via1 -eq 0.150 -orthogonal_only -outputlayer via1.4a_a
|
||||
enc via1.4a_a met1 -lt 0.055 -output region
|
||||
edge_select via1 met1 ;
|
||||
}
|
||||
|
||||
rule via1.11 {
|
||||
caption "Cu FLow - Min and max L and W of via1 outside areaid.mt == 0.18 um"
|
||||
not via1 areaid.mt -outputlayer via1.1a_a
|
||||
rect_chk -not via1.1a_a -eq 0.180 -orthogonal_only
|
||||
}
|
||||
|
||||
rule via1.12 {
|
||||
caption "Cu Flow - Spacing of via1 to via1: 0.13 um"
|
||||
exte via1 -lt 0.130 -single_point -output region
|
||||
}
|
||||
|
||||
|
||||
// smallest center is 2 dbu (0.002 um)
|
||||
// area is 0.000004 um^2
|
||||
|
||||
bbox via1 -centers 0.002 -outputlayer via1_center
|
||||
|
||||
// 5 vias gives area of 0.00002 um^2, density is 1.633e-6
|
||||
// 6 vias gives area of 0.000204 um^2, density is 1.959e-6
|
||||
|
||||
// this density command works, but overlapping regions are merged
|
||||
// rule via1.13 { density via1_center -gt 1.95e-6 -window 3.5 -step 0.5 -backup -rdb "via1.13.deubg.rdb" }
|
||||
|
||||
// I like this command better for reporting & viewing the errors:
|
||||
// -centers will output a 0.5um box at the center of the window
|
||||
|
||||
rule via1.13 {
|
||||
caption "Cu Flow - Max of 5 vias within 0.35 um"
|
||||
caption " error box is at approximate center of the offending vias "
|
||||
density via1_center -gt 1.95e-6 -window 3.5 -step 0.7 -backup -centers 0.5 -rdb "via1.13.rdb"
|
||||
}
|
||||
|
||||
rule via1.14 {
|
||||
caption "Cu Flow - 0.18 um via1 must be enclosed by parallel edges of met1 by at least: 0.04 um"
|
||||
rect_chk via1 -eq 0.18 -orthogonal_only -outputlayer via1.14_a
|
||||
rect_enc via1.14_a met1 -good 0.040 0.040 0.040 0.040
|
||||
}
|
||||
|
||||
//rule via1.irdrc.1 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule via1.irdrc.2 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule via1.irdrc.3 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule via1.irdrc.4 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
rule via1.14a {
|
||||
caption "Cu Flow - Min enclosure of 0.180 um via1 by 45 deg edges of met1: 0.037 um"
|
||||
angle met1 -ltgt 44 46 -outputlayer via1.14a_a
|
||||
enc via1 via1.14a_a -lt 0.037 -output region
|
||||
}
|
||||
|
||||
#ENDIF // ifdef CU
|
||||
|
||||
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// via2 rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.26 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
select -inside via2 SEALID -outputlayer via2.insideSR
|
||||
NOT via2 via2.insideSR via2.outsideSR ;
|
||||
|
||||
select -inside via2 areaid.mt -outputlayer via2.areaid.mt
|
||||
NOT via2 via2.areaid.mt -outputlayer via2.not_areaid.mt
|
||||
|
||||
NOT via2.not_areaid.mt via2.insideSR via2_neither ;
|
||||
|
||||
#IFNDEF CU
|
||||
|
||||
// rule via2.1x
|
||||
// via2 must be 0.2 um X 0.2 um, except inside areaid.mt (moduleCut),
|
||||
// where it can be these square sizes: 0.2 um, 0.28 um, 1.2 um, 1.5 um
|
||||
// DRM appears to have conflicting & wrong information;
|
||||
// rules via2.1b, via2.1c, via2.1e, via2.1f are removed
|
||||
|
||||
rule CDR.via2.1a {
|
||||
caption "CDR: Min and max L and W of via2 outside areaid.mt: 0.20 um"
|
||||
rect_chk -not via2_neither -eq 0.20 -by -eq 0.20 -orthogonal_only
|
||||
}
|
||||
|
||||
// rules via2.1b / via2.1c / via2.1d / via2.1e have conflicting information
|
||||
// keeping via2.1d as correct
|
||||
// rule via2.1b { Three sizes of square Via2s allowed inside areaid.mt: 0.280, 1.200um and 1.500um }
|
||||
// rule via2.1c { Two sizes of square Via2s allowed inside areaid.mt: 1.200um and 1.500um }
|
||||
// rule via2.1e { Three sizes of square Via2s allowed inside areaid.mt: 0.800um, 1.200um and 1.500um }
|
||||
// rule via2.1f is wrong; via2 must be 0.2 um X 0.2 um
|
||||
// rule via2.1f { AL Flow - Two sizes of square Via2s allowed outside areaid.mt: 0.800um and 1.200um }
|
||||
|
||||
rule via2.1d {
|
||||
caption "Four sizes of square Via2s allowed inside areaid.mt: 0.200um, 0.280um, 1.200um and 1.500um"
|
||||
rect_chk -not via2.areaid.mt -eq 0.200 -by -eq 0.200 -orthogonal_only -outputlayer via2.1d_b
|
||||
rect_chk -not via2.1d_b -eq 0.280 -by -eq 0.280 -orthogonal_only -outputlayer via2.1d_c
|
||||
rect_chk -not via2.1d_c -eq 1.200 -by -eq 1.200 -orthogonal_only -outputlayer via2.1d_d
|
||||
rect_chk -not via2.1d_d -eq 1.500 -by -eq 1.500 -orthogonal_only
|
||||
}
|
||||
|
||||
rule CDR.via2.2 {
|
||||
caption "CDR: Min spacing of via2: 0.20 um"
|
||||
exte via2 -lt 0.200 -single_point -output region
|
||||
}
|
||||
|
||||
rule via2.3 {
|
||||
caption "Only min. square via2s are allowed except die seal ring where vias are (via2 CD)*L == 0.20 * L"
|
||||
caption " this seal ring via2 does not have W = 0.2 um"
|
||||
rect_chk -not via2.insideSR -eq 0.20 ;
|
||||
}
|
||||
|
||||
// remove "-outside_also" modifier which finds via2 edges outside of met2 ;
|
||||
// Rules via2.cover.1 & via2.cover.2 are added to find via2 regions not inside met2 & met3
|
||||
// edge_select added to find 0.0 enclosure
|
||||
|
||||
rule CDR.via2.4 {
|
||||
caption "CDR: Min enclosure of via2 by met2: 0.04 um"
|
||||
enc via2 met2 -lt 0.040 -output region
|
||||
edge_select via2 met2 ;
|
||||
}
|
||||
|
||||
rule via2.4a {
|
||||
caption "Inside areaid.mt, Min enclosure of 1.5 um via2 by met2: 0.14 um"
|
||||
rect_chk via2.areaid.mt -eq 1.50 -orthogonal_only -outputlayer via2.4b_a
|
||||
enc via2.4b_a met2 -lt 0.140 -output region
|
||||
edge_select via2.4b_a met2 ;
|
||||
}
|
||||
|
||||
rule CDR.via2.5 {
|
||||
caption "CDR: Min enclosure of via2 by met2 on one of two adjacent sides: 0.085 um"
|
||||
rect_enc via2 met2 -good 0.085 0.000 0.085 0.000
|
||||
}
|
||||
#ENDIF // ifndef CU
|
||||
|
||||
#IFDEF CU
|
||||
|
||||
rule via2.11 {
|
||||
caption "Cu FLow - Min and max L and W of via2 == 0.21 um"
|
||||
rect_chk -not via2 -eq 0.210 -by -eq 0.210 -orthogonal_only
|
||||
}
|
||||
|
||||
rule via2.12 {
|
||||
caption "Cu Flow - Spacing of via2 to via2: 0.18 um"
|
||||
exte via2 -lt 0.180 -single_point -output region
|
||||
}
|
||||
|
||||
//rule via2.13 {
|
||||
// caption "Cu Flow - Min Spacing betweeb via2 rows: 0.20 um"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
rule via2.14 {
|
||||
caption "Cu Flow - Via2 must be enclosed by met2 by at least: 0.035 um"
|
||||
enc via2 met2 -lt 0.035 -output region
|
||||
edge_select via2 met2
|
||||
}
|
||||
|
||||
//rule via2.irdrc.1 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule via2.irdrc.2 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule via2.irdrc.3 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
#ENDIF // ifdef CU
|
||||
|
||||
|
||||
+102
@@ -0,0 +1,102 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// via3 rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.28 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// For vias3s inside of seal ring (SEALID) or areaid.mt:
|
||||
// via3s must be *completely* inside to satisfy the condition
|
||||
|
||||
select -inside via3 SEALID -outputlayer via3.insideSR
|
||||
NOT via3 via3.insideSR via3.outsideSR ;
|
||||
|
||||
select -inside via3 areaid.mt -outputlayer via3.areaid.mt
|
||||
NOT via3 via3.areaid.mt via3.not_areaid.mt ;
|
||||
|
||||
NOT via3.not_areaid.mt via3.insideSR via3_neither ;
|
||||
|
||||
#IFNDEF CU
|
||||
|
||||
// vias3s inside areaid.mt and SEALID have separate rules
|
||||
|
||||
rule CDR.via3.1 {
|
||||
caption "CDR: Min and max L and W of via3 (except for rule via3.1a) == 0.20 um"
|
||||
rect_chk -not via3_neither -eq 0.200 -by -eq 0.200 -orthogonal_only
|
||||
}
|
||||
|
||||
rule via3.1a {
|
||||
caption "Two sizes of square via3 allowed inside areaid.mt: 0.200um and 0.800um"
|
||||
rect_chk -not via3.areaid.mt -eq 0.200 -by -eq 0.200 -orthogonal_only -outputlayer via3.not0.2
|
||||
rect_chk -not via3.not0.2 -eq 0.800 -by -eq 0.800 -orthogonal_only
|
||||
}
|
||||
|
||||
rule CDR.via3.2 {
|
||||
caption "CDR: Min spacing of via3: 0.20 um"
|
||||
exte via3 -lt 0.200 -single_point -output region
|
||||
}
|
||||
|
||||
rule via3.3 {
|
||||
caption "Only min. square via3s are allowed except die seal ring where via3s are (via3 CD)*L == 0.20 * L"
|
||||
caption " this seal ring via3 does not have W = 0.2 um"
|
||||
rect_chk -not via3.insideSR -eq 0.20 ;
|
||||
}
|
||||
|
||||
// remove "-outside_also" modifier which finds via3 edges outside of met3 ;
|
||||
// Rules via3.cover.1 & via3.cover.2 are added to find via3 regions not inside met3 & met4
|
||||
// edge_select added to find 0.0 enclosure
|
||||
|
||||
rule CDR.via3.4 {
|
||||
caption "CDR: Min enclosure of via3 by met3: 0.06 um"
|
||||
enc via3 met3 -lt 0.060 -output region
|
||||
edge_select via3 met3 ;
|
||||
}
|
||||
|
||||
rule CDR.via3.5 {
|
||||
caption "CDR: Min enclosure of via3 by 3et3 on one of two adjacent sides: 0.09 um"
|
||||
rect_enc via3 met3 -good 0.090 0.000 0.090 0.000
|
||||
}
|
||||
|
||||
#ENDIF // ifndef CU
|
||||
|
||||
#IFDEF CU
|
||||
|
||||
rule via3.11 {
|
||||
caption "Cu FLow - Min and max L and W of via3 == 0.21 um"
|
||||
rect_chk -not via3 -eq 0.210 -by -eq 0.210 -orthogonal_only
|
||||
}
|
||||
|
||||
rule via3.12 {
|
||||
caption "Cu Flow - Spacing of via3 to via3: 0.18 um"
|
||||
exte via3 -lt 0.180 -single_point -output region
|
||||
}
|
||||
|
||||
rule via3.13 {
|
||||
caption "Cu Flow - Via3 must be enclosed by met3 by at least: 0.055 um"
|
||||
enc via3 met3 -lt 0.055 -output region
|
||||
edge_select via3 met3
|
||||
}
|
||||
|
||||
//rule via3.14 {
|
||||
// caption "Cu Flow - Min Spacing betweeb via3 rows: 0.35 um"
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule via3.irdrc.1 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule via3.irdrc.2 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule via3.irdrc.3 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule via3.irdrc.4 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
#ENDIF // ifdef CU
|
||||
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// via4 rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.32 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
select -inside via4 SEALID -outputlayer via4.insideSR
|
||||
NOT via4 via4.insideSR via4.outsideSR ;
|
||||
|
||||
rule CDR.via4.1 {
|
||||
caption "CDR: Min and max L and W of via4 == 0.80 um"
|
||||
rect_chk -not via4.outsideSR -eq 0.800 -by -eq 0.800 -orthogonal_only
|
||||
}
|
||||
|
||||
rule CDR.via4.2 {
|
||||
caption "CDR: Spacing of via4: 0.80 um"
|
||||
exte via4 -lt 0.800 -single_point -output region
|
||||
}
|
||||
|
||||
|
||||
rule via4.3 {
|
||||
caption "Only min. square via4s are allowed except die seal ring where via4s are (via4 CD)*L == 0.80 * L"
|
||||
caption " this seal ring via4 does not have W = 0.8 um"
|
||||
rect_chk -not via4.insideSR -eq 0.80 ;
|
||||
}
|
||||
|
||||
// remove "-outside_also" modifier which finds via4 edges outside of met4 ;
|
||||
// Rules via4.cover.1 & via4.cover.2 are added to find via4 regions not inside met4 & met5
|
||||
// edge_select added to find 0.0 enclosure
|
||||
|
||||
rule CDR.via4.4 {
|
||||
caption "CDR: Min enclosure of via4 by met4: 0.19 um"
|
||||
enc via4 met4 -lt 0.190 -output region
|
||||
edge_select via4 met4 ;
|
||||
}
|
||||
|
||||
#IFDEF CU
|
||||
|
||||
//rule via4.irdrc.1 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule via4.irdrc.2 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule via4.irdrc.3 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
//rule via4.irdrc.4 {
|
||||
// caption " TBA "
|
||||
//}
|
||||
|
||||
#ENDIF // ifdef CU
|
||||
|
||||
+103
@@ -0,0 +1,103 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// vpp rules //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.22 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// Note: VPP capacitors are no longer supported for this process
|
||||
// Basic width & spacing rules are retained for legacy devices
|
||||
// these are designated as GUIDELINE rules
|
||||
|
||||
|
||||
#IFNDEF NOGLR
|
||||
|
||||
rule vpp.1 {
|
||||
caption "GUIDELINE: Min width of capacitor:dg: 1.43 um"
|
||||
inte capacitor_in -lt 1.430 -single_point -output region
|
||||
}
|
||||
|
||||
rule vpp.8 {
|
||||
caption "GUIDELINE: Min enclosure of capacitor:dg by nwell: 1.50 um"
|
||||
enc capacitor_in nwell -lt 1.500 -output region
|
||||
}
|
||||
|
||||
rule vpp.9 {
|
||||
caption "GUIDELINE: Min spacing of capacitor:dg to nwell (not applicable for vpp_over_MOSCAP): 1.50 um"
|
||||
exte capacitor_in nwell -lt 1.500 -single_point -output region
|
||||
}
|
||||
|
||||
rule vpp.13 {
|
||||
caption "GUIDELINE: Min space of met1 to met1 inside VPP capacitor: 0.16 um"
|
||||
and met1 capacitor_in -outputlayer met1_cap
|
||||
select -outside met1 capacitor_in -outputlayer met1_notcap
|
||||
exte met1_cap met1_notcap -lt 0.160 -single_point -output region
|
||||
}
|
||||
|
||||
rule vpp.14 {
|
||||
caption "GUIDELINE: Min space of met2 to met2 inside VPP capacitor: 0.16 um"
|
||||
and met2 capacitor_in -outputlayer met2_cap
|
||||
select -outside met2 capacitor_in -outputlayer met2_notcap
|
||||
exte met2_cap met2_notcap -lt 0.160 -single_point -output region
|
||||
}
|
||||
|
||||
#ENDIF // ifndef NOGLR
|
||||
|
||||
|
||||
// Obsolete
|
||||
//rule vpp.1b {
|
||||
// caption "Max width of capacitor: 11.35 um"
|
||||
// caption "Rule not applicable for vpp_with_Met3Shield and vpp_with_LiShield and vpp_over_MOSCAP and vpp_with_Met5 and //vpp_with_noLi"
|
||||
// with_width capacitor_in -gt 11.350 }
|
||||
|
||||
// Obsolete
|
||||
//rule vpp.1c {
|
||||
// caption "Min/Max width of cell name 's8rf_xcmvpp1p8x1p8_m3shield' == 3.88 um"
|
||||
// inte s8rf_xcmvpp1p8x1p8_m3shield -eq 3.880 -single_point -output region
|
||||
//}
|
||||
|
||||
// Obsolete
|
||||
//rule vpp.3 {
|
||||
// caption "capacitor:dg must not overlap (tap or diff or poly), "
|
||||
// caption "(one exception: Poly is allowed to overlap vpp_with_Met3Shield and vpp_with_Met5PolyShield), "
|
||||
// caption "(not applicable for vpp_over_Moscap or 's8rf2_xcmvppx4_2xnhvnative10x4' or vpp_with_LiShield)"
|
||||
// caption "NOTE: exceptions have NOT been considered, there may be false errors"
|
||||
// or tap diff poly -outputlayer vpp.3_a
|
||||
// and capacitor_in vpp.3_a
|
||||
//}
|
||||
|
||||
// Obsolete
|
||||
//rule vpp.4 {
|
||||
// caption "capacitor:dg must not straddle (nwell or dnwell)"
|
||||
// or nwell dnwell -outputlayer vpp.4_a
|
||||
// select -cut capacitor_in vpp.4_a
|
||||
//}
|
||||
|
||||
// Obsolete
|
||||
//rule vpp.5 {
|
||||
// caption "Min spacing between (capacitor:dg edge and (poly or li1 or met1 or met2)) to (poly or li1 or met1 or met2) "
|
||||
// caption "on separate nets (Exempt area of the error shape less than 2.25 um^2 and run length less than 2.0um), "
|
||||
// caption "Rule not applicable for vpp_with_Met3Shield and vpp_with_LiShield and vpp_over_MOSCAP and vpp_with_Met5 and vpp_with_noLi: 1.50 um"
|
||||
// or poly li1 met1 met2 -outputlayer vpp.5_a
|
||||
// stamp vpp.5_a poly -outputlayer vpp.5_b
|
||||
// and vpp.5_b capacitor_in -outputlayer vpp.5_c
|
||||
// exte vpp.5_b vpp.5_c -lt 1.500 -not_connected -single_point -output region }
|
||||
|
||||
// Obsolete
|
||||
//rule vpp.10 {
|
||||
// caption "vpp capacitors must not overlap, Rule checks for capacitor.dg overlapping more than one pwell pin"
|
||||
// select -touch capacitor_in pwell -outputlayer vpp.10_a
|
||||
// edge_boolean -coincident_only -inside capacitor_in pwell -outputlayer vpp.10_a
|
||||
//}
|
||||
|
||||
// Obsolete
|
||||
//rule vpp.12a {
|
||||
// caption "Number of met4 shapes inside capacitor.dg of cell 's8rf2_xcmvpp8p6x7p9_m3_lim5shield' must overlap with size 2.01 x 2.01 (no other met4 shapes allowed) == 9.0 um" }
|
||||
|
||||
// Obsolete
|
||||
//rule vpp.12b {
|
||||
// caption "Number of met4 shapes inside capacitor.dg of cell 's8rf2_xcmvpp11p5x11p7_m3_lim5shield' must overlap with size 2.01 x 2.01 (no other met4 shapes allowed) == 16.0 um " }
|
||||
|
||||
// Obsolete
|
||||
//rule vpp.12c {
|
||||
// caption "Number of met4 shapes inside capacitor.dg of cell 's8rf2_xcmvpp4p4x4p6_m3_lim5shield' must overlap with size 1.5 x 1.5 (no other met4 shapes allowed) == 4.0 um"
|
||||
|
||||
+466
@@ -0,0 +1,466 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// General rules (FIXME) //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// DRM Section 5.7.1 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// Data Integrity
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Offgrid for mask layers
|
||||
|
||||
// offgrid is in DBU; 5 dbu = 0.005 um
|
||||
|
||||
// Offgrid for mask layers
|
||||
// rule x.1a { not implemented }
|
||||
|
||||
// Offgrid for drawing layers
|
||||
|
||||
rule x.1b {
|
||||
caption "Data for SKY130 layout and mask on all layers
|
||||
caption "except those mentioned in 1a must be on a grid
|
||||
caption "of 0.005 um (except inside Seal ring)"
|
||||
caption " NOTE: Seal ring not currently excluded"
|
||||
offgrid nwell 5 ;
|
||||
offgrid diff 5 ;
|
||||
offgrid dnwell 5 ;
|
||||
offgrid lvtn 5 ;
|
||||
offgrid hvtp 5 ;
|
||||
offgrid hvi 5 ; // v5
|
||||
offgrid vhvi 5 ; // v12
|
||||
offgrid uhvi 5 ; // v20
|
||||
offgrid tunm 5 ;
|
||||
offgrid poly 5 ;
|
||||
offgrid npc 5 ;f
|
||||
offgrid nsdm 5 ;
|
||||
offgrid psdm 5 ;
|
||||
offgrid licon 5 ;
|
||||
offgrid li1 5 ;
|
||||
offgrid mcon 5 ;
|
||||
offgrid met1 5 ;
|
||||
offgrid via1 5 ;
|
||||
offgrid met2 5 ;
|
||||
offgrid via2 5 ;
|
||||
offgrid met3 5 ;
|
||||
offgrid via3 5 ;
|
||||
offgrid met4 5 ;
|
||||
offgrid via4 5 ;
|
||||
offgrid met5 5 ;
|
||||
offgrid nsm 5 ;
|
||||
offgrid pad 5 ;
|
||||
offgrid hvntm 5 ;
|
||||
offgrid pnp 5 ;
|
||||
offgrid capacitor 5 ;
|
||||
offgrid ncm 5 ;
|
||||
offgrid inductor 5 ;
|
||||
offgrid rpm 5 ;
|
||||
offgrid hvtr 5 ;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Layer angles
|
||||
// RULES x.2, x.3, x.3a
|
||||
|
||||
// rule x.2 not done
|
||||
// rule x.2a not done
|
||||
// rule x.3 -- only check for non-45
|
||||
|
||||
// rect_chk [ -not ] LAYER -orthogonal_only LayerOut // selects SHAPES
|
||||
|
||||
// find shapes that are NOT rectangles orthogonal to the axes:
|
||||
|
||||
rect_chk -not nwell -orthogonal_only nwell_not_rect
|
||||
rect_chk -not diff -orthogonal_only diff_not_rect
|
||||
rect_chk -not dnwell -orthogonal_only dnwell_not_rect
|
||||
rect_chk -not lvtn -orthogonal_only lvtn_not_rect
|
||||
rect_chk -not hvtp -orthogonal_only hvtp_not_rect
|
||||
rect_chk -not hvi -orthogonal_only hvi_not_rect
|
||||
rect_chk -not vhvi -orthogonal_only vhvi_not_rect
|
||||
rect_chk -not uhvi -orthogonal_only uhvi_not_rect
|
||||
rect_chk -not tunm -orthogonal_only tunm_not_rect
|
||||
rect_chk -not poly -orthogonal_only poly_not_rect
|
||||
rect_chk -not npc -orthogonal_only npc_not_rect
|
||||
rect_chk -not nsdm -orthogonal_only nsdm_not_rect
|
||||
rect_chk -not psdm -orthogonal_only psdm_not_rect
|
||||
rect_chk -not licon -orthogonal_only licon_not_rect
|
||||
rect_chk -not li1 -orthogonal_only li1_not_rect
|
||||
rect_chk -not mcon -orthogonal_only mcon_not_rect
|
||||
rect_chk -not met1 -orthogonal_only met1_not_rect
|
||||
rect_chk -not via1 -orthogonal_only via1_not_rect
|
||||
rect_chk -not met2 -orthogonal_only met2_not_rect
|
||||
rect_chk -not via2 -orthogonal_only via2_not_rect
|
||||
rect_chk -not met3 -orthogonal_only met3_not_rect
|
||||
rect_chk -not via3 -orthogonal_only via3_not_rect
|
||||
rect_chk -not met4 -orthogonal_only met4_not_rect
|
||||
rect_chk -not via4 -orthogonal_only via4_not_rect
|
||||
rect_chk -not met5 -orthogonal_only met5_not_rect
|
||||
rect_chk -not nsm -orthogonal_only nsm_not_rect
|
||||
rect_chk -not pad -orthogonal_only pad_not_rect
|
||||
rect_chk -not hvntm -orthogonal_only hvntm_not_rect
|
||||
rect_chk -not pnp -orthogonal_only pnp_not_rect
|
||||
rect_chk -not ncm -orthogonal_only ncm_not_rect
|
||||
rect_chk -not hvtr -orthogonal_only hvtr_not_rect
|
||||
rect_chk -not capacitor -orthogonal_only capacitor_not_rect
|
||||
rect_chk -not inductor -orthogonal_only inductor_not_rect
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// these layers must be orthogonal :
|
||||
|
||||
rule CDR.x.2.licon {
|
||||
caption "CDR: licon shapes must be rectangles"
|
||||
copy licon_not_rect ;
|
||||
}
|
||||
rule CDR.x.2.mcon {
|
||||
caption "CDR: mcon shapes must be rectangles"
|
||||
copy mcon_not_rect ;
|
||||
}
|
||||
rule CDR.x.2.via1 {
|
||||
caption "CDR: via1 shapes must be rectangles"
|
||||
copy via1_not_rect ;
|
||||
}
|
||||
rule CDR.x.2.via2 {
|
||||
caption "CDR: via2 shapes must be rectangles"
|
||||
copy via2_not_rect ;
|
||||
}
|
||||
rule CDR.x.2.via3 {
|
||||
caption "CDR: via3 shapes must be rectangles"
|
||||
copy via3_not_rect ;
|
||||
}
|
||||
rule CDR.x.2.via4 {
|
||||
caption "CDR: via4 shapes must be rectangles"
|
||||
copy via4_not_rect ;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// these layers can have 45 degree edges (but must be 45 or 90)
|
||||
// nwell, dnwell, hvtp, tunm, npc, nsdm, psdm,
|
||||
// met1, met2, met3, met4, met5, nsm, pad, hvntm,
|
||||
// capacitor, ncm, inductor, hvtr
|
||||
// metop1 - metopt5 [ ?? ]
|
||||
|
||||
// angle LAYER -ne 90 LayerOut // selects EDGES
|
||||
|
||||
// shapes that passed rect_chk abover are obviously OK
|
||||
// there isn't a way to check for "multiples of 45"
|
||||
// and there is not "orthogonal" option to angle (0 & 90 different),
|
||||
// so, first rule out 45, then look for angles 0 < angle < 90
|
||||
|
||||
// Rules x.3: Angles permitted on all other layers except WLCSP layers: 45 degrees
|
||||
|
||||
rule x.3.nwell {
|
||||
caption "nwell has non-45 degree edge "
|
||||
angle (angle nwell_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.dnwell {
|
||||
caption "dnwell has non-45 degree edge "
|
||||
angle (angle dnwell_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.hvtp {
|
||||
caption "hvtp has non-45 degree edge "
|
||||
angle (angle hvtp_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.diff {
|
||||
caption "diff has non-45 degree edge "
|
||||
angle (angle diff_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.tunm {
|
||||
caption "tunm has non-45 degree edge "
|
||||
angle (angle tunm_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.poly {
|
||||
caption "poly has non-45 degree edge "
|
||||
angle (angle poly_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.npc {
|
||||
caption "npc has non-45 degree edge "
|
||||
angle (angle npc_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.nsdm {
|
||||
caption "nsdm has non-45 degree edge "
|
||||
angle (angle nsdm_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.psdm {
|
||||
caption "Angles permitted on all other layers except WLCSP layers: 45"
|
||||
caption "psdm has non-45 degree edge "
|
||||
angle (angle psdm_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.li1 {
|
||||
caption "li has non-45 degree edge "
|
||||
angle (angle li1_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.m1 {
|
||||
caption "met1 has non-45 degree edge "
|
||||
angle (angle met1_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.m2 {
|
||||
caption "met2 has non-45 degree edge "
|
||||
angle (angle met2_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.m3 {
|
||||
caption "met3 has non-45 degree edge "
|
||||
angle (angle met3_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.m4 {
|
||||
caption "met4 has non-45 degree edge "
|
||||
angle (angle met4_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.m5 {
|
||||
caption "met5 has non-45 degree edge "
|
||||
angle (angle met5_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.nsm {
|
||||
caption "nsm has non-45 degree edge "
|
||||
angle (angle nsm_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.pad {
|
||||
caption "Angles permitted on all other layers except WLCSP layers: 45"
|
||||
caption "pad has non-45 degree edge "
|
||||
angle (angle pad_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.hvntm {
|
||||
caption "hvntm has non-45 degree edge "
|
||||
angle (angle hvntm_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.capacitor {
|
||||
caption "capacitor has non-45 degree edge "
|
||||
angle (angle capacitor_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.ncm {
|
||||
caption "ncm has non-45 degree edge "
|
||||
angle (angle ncm_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.inductor {
|
||||
caption "inductor has non-45 degree edge "
|
||||
angle (angle inductor_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
rule x.3.hvtr {
|
||||
caption "hvtr has non-45 degree edge "
|
||||
angle (angle hvtr_not_rect -ne 45) -ltgt 0 90 ;
|
||||
}
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// rule x.4 Electromigration - Guideline; not covered by DRC
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// rules x.5
|
||||
// pin not covered by drawing layer
|
||||
|
||||
rule x.5.nwell {
|
||||
caption 'All "pin" polygons must be within the 'drawing' polygons of the layer - nwell'
|
||||
NOT nwell_pin nwell ;
|
||||
}
|
||||
rule x.5.diff {
|
||||
caption 'All "pin" polygons must be within the 'drawing' polygons of the layer - diff'
|
||||
NOT diff_pin diff_dg ;
|
||||
}
|
||||
rule x.5.poly {
|
||||
caption 'All "pin" polygons must be within the 'drawing' polygons of the layer - poly'
|
||||
NOT poly_pin poly_dg ;
|
||||
}
|
||||
rule x.5.li {
|
||||
caption 'All "pin" polygons must be within the 'drawing' polygons of the layer - LI'
|
||||
NOT li1_pin li_dg ;
|
||||
}
|
||||
rule x.5.m1 {
|
||||
caption 'All "pin" polygons must be within the 'drawing' polygons of the layer - met1'
|
||||
NOT met1_pin m1_dg ;
|
||||
}
|
||||
rule x.5.m2 {
|
||||
caption 'All "pin" polygons must be within the 'drawing' polygons of the layer - met2'
|
||||
NOT met2_pin m2_dg ;
|
||||
}
|
||||
rule x.5.m3 {
|
||||
caption 'All "pin" polygons must be within the 'drawing' polygons of the layer - met3'
|
||||
NOT met3_pin m3_dg ;
|
||||
}
|
||||
rule x.5.m4 {
|
||||
caption 'All "pin" polygons must be within the 'drawing' polygons of the layer - met4'
|
||||
NOT met4_pin m4_dg ;
|
||||
}
|
||||
rule x.5.m5 {
|
||||
caption 'All "pin" polygons must be within the 'drawing' polygons of the layer - met5'
|
||||
NOT met5_pin m5_dg ;
|
||||
}
|
||||
rule x.5.pad {
|
||||
caption 'All "pin" polygons must be within the 'drawing' polygons of the layer - pad'
|
||||
NOT pad_pin pad ;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// rule x.6 All intra-layer separation checks will include a notch check
|
||||
// rule x.7 Mask layer line and space checks must be done on all layers
|
||||
// Implemented in layer spacing checks
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// rule x.8 Use of areaid CORE layer must be approved by SkyWater Technology
|
||||
// Moved to section "Prohibited or Reserved layers"
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// rule x.9 Shapes on maskAdd or maskDrop layers ("serifs") are allowed in core only
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// x.10 res purpose layer for (diff, poly) cannot overlap licon
|
||||
|
||||
rule x.10.diff {
|
||||
caption "res purpose layer for diff cannot overlap licon"
|
||||
AND diff_res licon ;
|
||||
}
|
||||
rule x.10.poly {
|
||||
caption "res purpose layer for poly cannot overlap licon"
|
||||
AND poly_res licon ;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// rule x.11 Fuses are no longer supported
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Frame only rules - not implemented
|
||||
// rule x.n12ar
|
||||
// rule x.12d
|
||||
// rule x.12e
|
||||
/////////////////////////////////////////////////////////////////
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// rule x.13 No values specified
|
||||
// rule x.14 No values specified
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Lower left corner of data must be at origin
|
||||
//
|
||||
// Check that lower left of data is at origin:
|
||||
// Make 4 squares, one in each quadrant, 0.005 x 0.005 (size doesn't matter)
|
||||
// Each square should have 2 of its edges along the X-Y axes
|
||||
|
||||
|
||||
layer_def quadrant1 9991
|
||||
layer_def quadrant2 9992
|
||||
layer_def quadrant3 9993
|
||||
layer_def quadrant4 9994
|
||||
|
||||
create_polygon 0.000 0.000 0.005 0.005 quadrant1 ; // 1st quadrant
|
||||
create_polygon -0.005 0.000 0.000 0.005 quadrant2 ; // 2nd quadrant
|
||||
create_polygon -0.005 -0.005 0.000 0.000 quadrant3 ; // 3rd quadrant
|
||||
create_polygon 0.000 -0.005 0.005 0.000 quadrant4 ; // 4th quadrant
|
||||
|
||||
extent -layer SEALID -outputlayer SEALID_extent
|
||||
|
||||
// proper SEALID should:
|
||||
// enclose quadrant1 shape
|
||||
// touch quadrant2 & quadrant4 shapes
|
||||
// be outside quadrant3 shape
|
||||
|
||||
// find SEALID_extent interacting quadrant shapes correctly, AND with SEALID_encloses_quadrant1
|
||||
|
||||
select -enclose SEALID_extent quadrant1 -outputlayer SEALID_quadrant1
|
||||
select -touch SEALID_quadrant1 quadrant2 -outputlayer SEALID_quadrant12
|
||||
select -outside SEALID_quadrant12 quadrant3 -outputlayer SEALID_quadrant123
|
||||
select -touch SEALID_quadrant123 quadrant4 -outputlayer SEALID_quadrant1234
|
||||
|
||||
rule x.19 {
|
||||
caption "Lower left corner of the Seal Ring should be at origin (0,0)"
|
||||
not SEALID_extent SEALID_quadrant1234
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Seal Rings rules (SEALID)
|
||||
|
||||
// example seal rings have diff
|
||||
//rule x.23a
|
||||
//rule x.23b
|
||||
|
||||
rule x.23c.poly {
|
||||
caption "areaid:seal (Seal Ring) must not overlap poly"
|
||||
AND SEALID poly ;
|
||||
}
|
||||
rule x.23c.li1 {
|
||||
caption "areaid:seal (Seal Ring) must not overlap li1"
|
||||
AND SEALID li1 ;
|
||||
}
|
||||
rule x.23c.m1 {
|
||||
caption "areaid:seal (Seal Ring) must not overlap met1"
|
||||
AND SEALID met1 ;
|
||||
}
|
||||
rule x.23c.m2 {
|
||||
caption "areaid:seal (Seal Ring) must not overlap met2"
|
||||
AND SEALID met2 ;
|
||||
}
|
||||
rule x.23c.m3 {
|
||||
caption "areaid:seal (Seal Ring) must not overlap met3"
|
||||
AND SEALID met3 ;
|
||||
}
|
||||
rule x.23c.m4 {
|
||||
caption "areaid:seal (Seal Ring) must not overlap met4"
|
||||
AND SEALID met4 ;
|
||||
}
|
||||
rule x.23c.m5 {
|
||||
caption "areaid:seal (Seal Ring) must not overlap met5"
|
||||
AND SEALID met5 ;
|
||||
}
|
||||
|
||||
// x.23d, x.23e will be found by x.23c
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Prohibited or Reserved layers
|
||||
|
||||
#IFNDEF NOWARN
|
||||
|
||||
rule CDRW.x.8 {
|
||||
caption "CDRW: WARNING: Use of areaid.ce layer (memory core ID layer) must be approved by SkyWater Technology"
|
||||
caption "CDRW: WARNING: Some rules apply only to areas outside of areid.ce and a core rule may not exist "
|
||||
extent_drawn areaid.ce ;
|
||||
}
|
||||
rule "CDRW.x.fuse" {
|
||||
caption "CDRW: WARNING: The met4 fuse layer (GDS 71:17) is no longer supported"
|
||||
copy met4_fuse ;
|
||||
}
|
||||
rule x.moduleCut {
|
||||
caption "WARNING: Use of areaid.mt (moduleCut) layer (GDS 81:10) is for SkyWater Technology only"
|
||||
extent_drawn areaid.mt ;
|
||||
}
|
||||
rule CDRW.x.photo {
|
||||
caption "CDRW: WARNING: Use of areaid:photo layer (GDS 81:81) is prohibited"
|
||||
copy areaid.po;
|
||||
}
|
||||
rule x.prBndry {
|
||||
caption "WARNING: Use of prBoundary layer (GDS 235:4) is prohibited"
|
||||
copy prBndry;
|
||||
}
|
||||
rule x.pwell {
|
||||
caption "WARNING: pwell must connect by ptap at least once"
|
||||
select -enclose -not pwell ptap
|
||||
select -enclose -not localSub ptap
|
||||
}
|
||||
rule "CDRW.x.RDL" {
|
||||
caption "CDRW: WARNING: Use of the RDL layer (GDS 74:20) is prohibited"
|
||||
copy target ;
|
||||
}
|
||||
rule "CDRW.x.target" {
|
||||
caption "CDRW: WARNING: Use of the fuse target layer (GDS 76:44) is prohibited"
|
||||
copy target ;
|
||||
}
|
||||
rule "CDRW.x.tunm" {
|
||||
caption "CDRW: WARNING: Use of the tunm layer (GDS 80:20) is prohibited"
|
||||
copy tunm ;
|
||||
}
|
||||
|
||||
#ENDIF // ifndef NOWARN
|
||||
|
||||
//rule "x.pad {
|
||||
// caption "pad pcells should be used for bondpad"
|
||||
// to be added
|
||||
//}
|
||||
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
// *************************************************************** //
|
||||
// Sky130 Open Source PVL DRC Deck //
|
||||
// Version 0.0_2.11 July 09, 2025 //
|
||||
// *************************************************************** //
|
||||
|
||||
README
|
||||
|
||||
This directory: Sky130_DRC_rev_0.0_2.8
|
||||
|
||||
[1] Environment Variable
|
||||
|
||||
You must set the "PEGASUS_DRC" variable to point to this directory
|
||||
|
||||
Do this before starting Virtuoso:
|
||||
|
||||
% setenv PEGASUS_DRC {path}/Sky130_DRC_rev_0.0_2.8
|
||||
|
||||
You can also do this inside of Virtuoso with this CIW command:
|
||||
|
||||
setShellEnvVar("PEGASUS_DRC" "{path}/Sky130_DRC_rev_0.0_2.8")
|
||||
|
||||
[2] Primary DRC file
|
||||
|
||||
The top DRC file: Sky130_DRC_rev_0.0_2.8/sky130_rev_0.0_2.8.drc.pvl
|
||||
|
||||
In the Pegausas DRC UI, go to Rules -> Tech&Rules -> Add... (on the right under "Rules")
|
||||
|
||||
[3] Configurator file
|
||||
|
||||
There is a configurator file to allow setting switches in the UI.
|
||||
|
||||
Configurator file: Sky130_DRC_rev_0.0_2.8/sky130.drc.cfg
|
||||
|
||||
In the Pegausas DRC UI, go to Rules -> Configurator -> Input (... on the right for browser)
|
||||
|
||||
[4] Alternate SRAM Rules -- new in Version 0.0_2.8
|
||||
|
||||
DRC rule deck has an "Alternate SRAM Rules" switch which can be turned from the Configurator tab.
|
||||
This switch will use the following alternate SRAM rules:
|
||||
- licon.4a: licon in areaid.ce must overlap li1
|
||||
- licon.4b: licon in areaid.ce must overlap (poly or diff or tap)
|
||||
- mcon.cover.1: mcon in areaid.ce must overlap li1
|
||||
** This is for debugging purposes only, errors may be missed. **
|
||||
|
||||
[5] Rule Groups
|
||||
|
||||
Groups are used to arrange rules by layer/type (M1, VIA2, etc.).
|
||||
You can see these in the UI by going to DRC Options -> Rule Selector
|
||||
NOTE: when you load the configurator or change switches,
|
||||
you will need to "Reload Rules" at the bottom of Rule Selector to update
|
||||
|
||||
[6] Frame Only Rules not implemented
|
||||
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,32 @@
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
|
||||
#tcl
|
||||
[tcl]
|
||||
|
||||
//------------------------------------------------------------------------------------------
|
||||
|
||||
configoption -type label -active drc -text " Density Rules "
|
||||
|
||||
configoption -type boolean -active drc -text "Turn Off Density Rules (default is ON)" -option NODEN -default "0" -hidden 0
|
||||
|
||||
configoption -type separator
|
||||
//------------------------------------------------------------------------------------------
|
||||
|
||||
configoption -type label -active drc -text " Warning & Guidelines Rule"
|
||||
|
||||
configoption -type boolean -active drc -text "Turn OFF Guideline Rules (ON by default)" -option NOGLR -default "0" -hidden 0
|
||||
configoption -type boolean -active drc -text "Turn OFF Warning Rules (ON by default)" -option NOWARN -default "0" -hidden 0
|
||||
|
||||
configoption -type separator
|
||||
//------------------------------------------------------------------------------------------
|
||||
|
||||
configoption -type boolean -active drc -text "Use Alternate SRAM Rules (default is OFF)" -option SRAM -default "0" -hidden 0
|
||||
configoption -type label -active drc -text "These are the affected rules and alternate implementation: "
|
||||
configoption -type label -active drc -text " licon.4a: licon in areaid.ce must overlap LI"
|
||||
configoption -type label -active drc -text " licon.4b: licon in areaid.ce must overlap (poly or diff or tap)"
|
||||
configoption -type label -active drc -text " mcon.cover.1: mcon in areaid.ce must overlap LI"
|
||||
configoption -type label -active drc -text "** WARNING: This switch is for debugging purposes only, errors may be missed **"
|
||||
|
||||
//------------------------------------------------------------------------------------------
|
||||
|
||||
[/tcl]
|
||||
+565
@@ -0,0 +1,565 @@
|
||||
// Sky130 Open Source data integrity PVL file
|
||||
// v002 June 17, 2025
|
||||
|
||||
exception_severity circle 4 ;
|
||||
exception_severity ctrapezoid_degenerate 2 ;
|
||||
exception_severity path_acute 6 ;
|
||||
exception_severity path_circular 6 ;
|
||||
exception_severity path_degenerate 2 ;
|
||||
exception_severity path_endsegment_short 2 ;
|
||||
exception_severity path_nonorientable 3 ;
|
||||
exception_severity path_nonsimple 2 ;
|
||||
exception_severity path_spike 2 ;
|
||||
exception_severity polygon_degenerate 2 ;
|
||||
exception_severity polygon_nonorientable 2 ;
|
||||
exception_severity precision_rule_file 1 ;
|
||||
exception_severity trapezoid_degenerate 2 ;
|
||||
|
||||
layout_path_width_multiple 5 ;
|
||||
exception_severity path_width_multiple 3 ;
|
||||
|
||||
layer_def diff_dg 1001
|
||||
layer_map 65 -datatype 20 1001 //diff,drawing,65:20
|
||||
layer_def diff_txt 1002
|
||||
layer_map 65 -texttype 20 1002 //diff,text,65:20
|
||||
layer_def tap_dg 1003
|
||||
layer_map 65 -datatype 44 1003 //tap,drawing,65:44
|
||||
layer_def nwell 1004
|
||||
layer_map 64 -datatype 20 1004 //nwell,drawing,64:20
|
||||
layer_def dnwell 1005
|
||||
layer_map 64 -datatype 18 1005 //dnwell,drawing,64:18
|
||||
layer_def pwbm 1006
|
||||
layer_map 19 -datatype 44 1006 //pwbm,drawing,19:44
|
||||
layer_def pwde 1007
|
||||
layer_map 124 -datatype 20 1007 //pwde,drawing,124:20
|
||||
layer_def hvtr 1008
|
||||
layer_map 18 -datatype 20 1008 //hvtr,drawing,18:20
|
||||
layer_def hvtp 1009
|
||||
layer_map 78 -datatype 44 1009 //hvtp,drawing,78:44
|
||||
layer_def ldntm 1010
|
||||
layer_map 11 -datatype 44 1010 //ldntm,drawing,11:44
|
||||
layer_def hvi 1011
|
||||
layer_map 75 -datatype 20 1011 //hvi,drawing,75:20
|
||||
layer_def tunm 1012
|
||||
layer_map 80 -datatype 20 1012 //tunm,drawing,80:20
|
||||
layer_def lvtn 1013
|
||||
layer_map 125 -datatype 44 1013 //lvtn,drawing,125:44
|
||||
layer_def poly_dg 1014
|
||||
layer_map 66 -datatype 20 1014 //poly,drawing,66:20
|
||||
layer_def poly_txt 1015
|
||||
layer_map 66 -texttype 20 1015 //poly,text,66:20
|
||||
layer_def hvntm 1016
|
||||
layer_map 125 -datatype 20 1016 //hvntm,drawing,125:20
|
||||
layer_def nsdm 1017
|
||||
layer_map 93 -datatype 44 1017 //nsdm,drawing,93:44
|
||||
layer_def psdm 1018
|
||||
layer_map 94 -datatype 20 1018 //psdm,drawing,94:20
|
||||
layer_def rpm 1019
|
||||
layer_map 86 -datatype 20 1019 //rpm,drawing,86:20
|
||||
layer_def urpm 1020
|
||||
layer_map 79 -datatype 20 1020 //urpm,drawing,79:20
|
||||
layer_def npc 1021
|
||||
layer_map 95 -datatype 20 1021 //npc,drawing,95:20
|
||||
layer_def licon1 1022
|
||||
layer_map 66 -datatype 44 1022 //licon1,drawing,66:44
|
||||
layer_def li1_dg 1023
|
||||
layer_map 67 -datatype 20 1023 //li1,drawing,67:20
|
||||
layer_def li1_text 1024
|
||||
layer_map 67 -texttype 20 1024 //li1,text,67:20
|
||||
layer_def mcon 1025
|
||||
layer_map 67 -datatype 44 1025 //mcon,drawing,67:44
|
||||
layer_def met1_dg 1026
|
||||
layer_map 68 -datatype 20 1026 //met1,drawing,68:20
|
||||
layer_def met1_text 1027
|
||||
layer_map 68 -texttype 20 1027 //met1,text,68:20
|
||||
layer_def via1 1028
|
||||
layer_map 68 -datatype 44 1028 //via1,drawing,68:44
|
||||
layer_def met2_dg 1029
|
||||
layer_map 69 -datatype 20 1029 //met2,drawing,69:20
|
||||
layer_def met2_text 1030
|
||||
layer_map 69 -texttype 20 1030 //met2,text,69:20
|
||||
layer_def via2 1031
|
||||
layer_map 69 -datatype 44 1031 //via2,drawing,69:44
|
||||
layer_def met3_dg 1032
|
||||
layer_map 70 -datatype 20 1032 //met3,drawing,70:20
|
||||
layer_def met3_text 1033
|
||||
layer_map 70 -texttype 20 1033 //met3,text,70:20
|
||||
layer_def via3 1034
|
||||
layer_map 70 -datatype 44 1034 //via3,drawing,70:44
|
||||
layer_def met4_dg 1035
|
||||
layer_map 71 -datatype 20 1035 //met4,drawing,71:20
|
||||
layer_def met4_text 1036
|
||||
layer_map 71 -texttype 20 1036 //met4,text,71:20
|
||||
layer_def via4 1037
|
||||
layer_map 71 -datatype 44 1037 //via4,drawing,71:44
|
||||
layer_def met5_dg 1038
|
||||
layer_map 72 -datatype 20 1038 //met5,drawing,72:20
|
||||
layer_def met5_text 1039
|
||||
layer_map 72 -texttype 20 1039 //met5,text,72:20
|
||||
layer_def pad 1040
|
||||
layer_map 76 -datatype 20 1040 //pad,drawing,76:20
|
||||
layer_def pad_text 1041
|
||||
layer_map 76 -texttype 20 1041 //pad,text,76:20
|
||||
layer_def nsm 1042
|
||||
layer_map 61 -datatype 20 1042 //nsm,drawing,61:20
|
||||
layer_def capm 1043
|
||||
layer_map 89 -datatype 44 1043 //capm,drawing,89:44
|
||||
layer_def cap2m 1044
|
||||
layer_map 97 -datatype 44 1044 //cap2m,drawing,97:44
|
||||
layer_def vhvi 1045
|
||||
layer_map 74 -datatype 21 1045 //vhvi,drawing,74:21
|
||||
layer_def uhvi 1046
|
||||
layer_map 74 -datatype 22 1046 //uhvi,drawing,74:22
|
||||
layer_def npn 1047
|
||||
layer_map 82 -datatype 20 1047 //npn,drawing,82:20
|
||||
layer_def inductor 1048
|
||||
layer_map 82 -datatype 24 1048 //inductor,drawing,82:24
|
||||
layer_def capacitor_in 1049
|
||||
layer_map 82 -datatype 64 1049 //capacitor,drawing,82:64
|
||||
layer_def pnp 1050
|
||||
layer_map 82 -datatype 44 1050 //pnp,drawing,82:44
|
||||
layer_def LVS_prune 1051
|
||||
layer_map 84 -datatype 44 1051 //LVS prune,drawing,84:44
|
||||
layer_def ncm 1052
|
||||
layer_map 92 -datatype 44 1052 //ncm,drawing,92:44
|
||||
layer_def padCenter 1053
|
||||
layer_map 81 -datatype 20 1053 //padCenter,drawing,81:20
|
||||
layer_def target 1054
|
||||
layer_map 76 -datatype 44 1054 //target,drawing,76:44
|
||||
layer_def SEALID 1055 // Virtuoso: areaid seal
|
||||
layer_map 81 -datatype 1 1055 // SEALID,identifier,81:1
|
||||
layer_def areaid.ce 1056 // COREID
|
||||
layer_map 81 -datatype 2 1056 //areaid.ce,identifier,81:2
|
||||
layer_def areaid.fe 1057
|
||||
layer_map 81 -datatype 3 1057 //areaid.fe,identifier,81:3
|
||||
layer_def areaid.sc 1058
|
||||
layer_map 81 -datatype 4 1058 //areaid.sc,identifier,81:4
|
||||
layer_def areaid.sf 1059
|
||||
layer_map 81 -datatype 6 1059 //areaid.sf,identifier,81:6
|
||||
layer_def areaid.sr 1061
|
||||
layer_map 81 -datatype 8 1061 //areaid.sr,identifier,81:8
|
||||
layer_def areaid.mt 1062
|
||||
layer_map 81 -datatype 10 1062 //areaid.mt,identifier,81:10
|
||||
layer_def areaid.dt 1063
|
||||
layer_map 81 -datatype 11 1063 //areaid.dt,identifier,81:11
|
||||
layer_def areaid.ft 1064
|
||||
layer_map 81 -datatype 12 1064 //areaid.ft,identifier,81:12
|
||||
layer_def areaid.ww 1065
|
||||
layer_map 81 -datatype 13 1065 //areaid.ww,identifier,81:13
|
||||
layer_def areaid.ld 1066
|
||||
layer_map 81 -datatype 14 1066 //areaid.ld,identifier,81:14
|
||||
layer_def areaid.ns 1067
|
||||
layer_map 81 -datatype 15 1067 //areaid.ns,identifier,81:15
|
||||
layer_def areaid.ij 1068
|
||||
layer_map 81 -datatype 17 1068 //areaid.ij,identifier,81:17
|
||||
layer_def areaid.zr 1069
|
||||
layer_map 81 -datatype 18 1069 //areaid.zr,identifier,81:18
|
||||
layer_def areaid.ed 1070
|
||||
layer_map 81 -datatype 19 1070 //areaid.ed,identifier,81:19
|
||||
layer_def areaid.de 1071
|
||||
layer_map 81 -datatype 23 1071 //areaid.de,identifier,81:23
|
||||
layer_def areaid.rd 1072
|
||||
layer_map 81 -datatype 24 1072 //areaid.rd,identifier,81:24
|
||||
layer_def areaid.dn 1073
|
||||
layer_map 81 -datatype 50 1073 //areaid.dn,identifier,81:50
|
||||
layer_def areaid.cr 1074
|
||||
layer_map 81 -datatype 51 1074 //areaid.cr,identifier,81:51
|
||||
layer_def areaid.cd 1075
|
||||
layer_map 81 -datatype 52 1075 //areaid.cd,identifier,81:52
|
||||
layer_def localSub 1076 // carve out substrate regions
|
||||
layer_map 81 -datatype 53 1076 //areaid.st,identifier,81:53
|
||||
layer_def areaid.op 1077
|
||||
layer_map 81 -datatype 54 1077 //areaid.op,identifier,81:54
|
||||
layer_def areaid.en 1078
|
||||
layer_map 81 -datatype 57 1078 //areaid.en,identifier,81:57
|
||||
layer_def areaid.en20 1079
|
||||
layer_map 81 -datatype 58 1079 //areaid.en20,identifier,81:58
|
||||
layer_def areaid.le 1080
|
||||
layer_map 81 -datatype 60 1080 //areaid.le,identifier,81:60
|
||||
layer_def areaid.hl 1081
|
||||
layer_map 81 -datatype 63 1081 //areaid.hl,identifier,81:63
|
||||
layer_def lv_net 1299
|
||||
layer_map 81 -datatype 66 1299 // areaid:lvnet
|
||||
layer_def areaid.sd 1082
|
||||
layer_map 81 -datatype 70 1082 //areaid.sd,identifier,81:70
|
||||
layer_def areaid.po 1083
|
||||
layer_map 81 -datatype 81 1083 //areaid.po,identifier,81:81
|
||||
layer_def areaid.it 1084
|
||||
layer_map 81 -datatype 84 1084 //areaid.it,identifier,81:84
|
||||
layer_def areaid.et 1085
|
||||
layer_map 81 -datatype 101 1085 //areaid.et,identifier,81:101
|
||||
layer_def areaid.lvt 1086
|
||||
layer_map 81 -datatype 108 1086 //areaid.lvt,identifier,81:108
|
||||
layer_def areaid.re 1087
|
||||
layer_map 81 -datatype 125 1087 //areaid.re,identifier,81:125
|
||||
layer_def fom 1088
|
||||
layer_map 22 -datatype 23 1088 //fom,dummy,22:23
|
||||
layer_def poly_gate 1089
|
||||
layer_map 66 -datatype 9 1089 //poly,gate,66:9
|
||||
layer_def poly_model 1090
|
||||
layer_map 66 -texttype 83 1090 //poly,model,66:83
|
||||
layer_def poly_res 1091
|
||||
layer_map 66 -datatype 13 1091 //poly,resistor,66:13
|
||||
layer_def diff_res 1092
|
||||
layer_map 65 -datatype 13 1092 //diff,resistor,65:13
|
||||
layer_def pwell_res 1093
|
||||
layer_map 64 -datatype 13 1093 //pwell,resistor,64:13
|
||||
layer_def li1_res 1094
|
||||
layer_map 67 -datatype 13 1094 //li1,resistor,67:13
|
||||
layer_def diff_hv 1095
|
||||
layer_map 65 -datatype 8 1095 //diff,high voltage,65:8
|
||||
layer_def met4_fuse 1096
|
||||
layer_map 71 -datatype 17 1096 //met4,fuse,71:17
|
||||
layer_def inductor_trm1 1097
|
||||
layer_map 82 -datatype 26 1097 //inductor,terminal1,82:26
|
||||
layer_def inductor_trm2 1098
|
||||
layer_map 82 -datatype 27 1098 //inductor,terminal2,82:27
|
||||
layer_def inductor_trm3 1099
|
||||
layer_map 82 -datatype 28 1099 //inductor,terminal3,82:28
|
||||
layer_def li1_block 1100
|
||||
layer_map 67 -datatype 10 1100 //li1,block,67:10
|
||||
layer_def met1_block 1101
|
||||
layer_map 68 -datatype 10 1101 //met1,block,68:10
|
||||
layer_def met2_block 1102
|
||||
layer_map 69 -datatype 10 1102 //met2,block,69:10
|
||||
layer_def met3_block 1103
|
||||
layer_map 70 -datatype 10 1103 //met3,block,70:10
|
||||
layer_def met4_block 1104
|
||||
layer_map 71 -datatype 10 1104 //met4,block,71:10
|
||||
layer_def met5_block 1105
|
||||
layer_map 72 -datatype 10 1105 //met5,block,72:10
|
||||
layer_def prBndry 1106
|
||||
layer_map 235 -datatype 4 1106 //prBndry,boundary,235:4
|
||||
layer_def diff_bnd 1107
|
||||
layer_map 65 -datatype 4 1107 //diff,boundary,65:4
|
||||
layer_def tap_bnd 1108
|
||||
layer_map 65 -datatype 60 1108 //tap,boundary,65:60
|
||||
layer_def mcon_bnd 1109
|
||||
layer_map 67 -datatype 60 1109 //mcon,boundary,67:60
|
||||
layer_def poly_bnd 1110
|
||||
layer_map 66 -datatype 4 1110 //poly,boundary,66:4
|
||||
layer_def via1_bnd 1111
|
||||
layer_map 68 -datatype 60 1111 //via1,boundary,68:60
|
||||
layer_def via2_bnd 1112
|
||||
layer_map 69 -datatype 60 1112 //via2,boundary,69:60
|
||||
layer_def via3_bnd 1113
|
||||
layer_map 70 -datatype 60 1113 //via3,boundary,70:60
|
||||
layer_def via4_bnd 1114
|
||||
layer_map 71 -datatype 60 1114 //via4,boundary,71:60
|
||||
layer_def li1_label 1115
|
||||
layer_map 67 -texttype 5 1115 //li1,label,67:5
|
||||
layer_def met1_label 1116
|
||||
layer_map 68 -texttype 5 1116 //met1,label,68:5
|
||||
layer_def met2_label 1117
|
||||
layer_map 69 -texttype 5 1117 //met2,label,69:5
|
||||
layer_def met3_label 1118
|
||||
layer_map 70 -texttype 5 1118 //met3,label,70:5
|
||||
layer_def met4_label 1119
|
||||
layer_map 71 -texttype 5 1119 //met4,label,71:5
|
||||
layer_def met5_label 1120
|
||||
layer_map 72 -texttype 5 1120 //met5,label,72:5
|
||||
layer_def poly_label 1121
|
||||
layer_map 66 -texttype 5 1121 //poly,label,66:5
|
||||
layer_def diff_label 1122
|
||||
layer_map 65 -texttype 6 1122 //diff,label,65:6
|
||||
layer_def pwell_in 1123
|
||||
layer_map 64 -datatype 59 1123 //pwell,drawing,64:59
|
||||
layer_def pwell_label 1124
|
||||
layer_map 64 -texttype 59 1124 //pwell,label,64:59
|
||||
layer_def pwelliso_label 1125
|
||||
layer_map 44 -datatype 5 1125 //pwelliso,label,44:5
|
||||
layer_def pad_label 1126
|
||||
layer_map 76 -texttype 5 1126 //pad,label,76:5
|
||||
layer_def tap_label 1127
|
||||
layer_map 65 -texttype 5 1127 //tap,label,65:5
|
||||
layer_def nwell_label 1128
|
||||
layer_map 64 -texttype 5 1128 //nwell,label,64:5
|
||||
layer_def inductor_label 1129
|
||||
layer_map 82 -texttype 25 1129 //inductor,label,82:25
|
||||
layer_def text 1130
|
||||
layer_map 83 -texttype 44 1130 //text,label,83:44
|
||||
layer_def li1_net 1131
|
||||
layer_map 67 -texttype 23 1131 //li1,net,67:23
|
||||
layer_def met1_net 1132
|
||||
layer_map 68 -texttype 23 1132 //met1,net,68:23
|
||||
layer_def met2_net 1133
|
||||
layer_map 69 -texttype 23 1133 //met2,net,69:23
|
||||
layer_def met3_net 1134
|
||||
layer_map 70 -texttype 23 1134 //met3,net,70:23
|
||||
layer_def met4_net 1135
|
||||
layer_map 71 -texttype 23 1135 //met4,net,71:23
|
||||
layer_def met5_net 1136
|
||||
layer_map 72 -texttype 23 1136 //met5,net,72:23
|
||||
layer_def poly_net 1137
|
||||
layer_map 66 -texttype 23 1137 //poly,net,66:23
|
||||
layer_def diff_net 1138
|
||||
layer_map 65 -texttype 23 1138 //diff,net,65:23
|
||||
layer_def li1_pin 1139
|
||||
layer_map 67 -texttype 0 1139 //li1,pin,67:0
|
||||
layer_map 67 -datatype 16 1139 //li1,pin,67:16
|
||||
layer_map 67 -texttype 16 1139 //li1,pin,67:16
|
||||
layer_def met1_pin 1141
|
||||
layer_map 68 -texttype 0 1141 //met1,pin,68:0
|
||||
layer_map 68 -datatype 16 1141 //met1,pin,68:16
|
||||
layer_map 68 -texttype 16 1141 //met1,pin,68:16
|
||||
layer_def met2_pin 1143
|
||||
layer_map 69 -texttype 0 1143 //met2,pin,69:0
|
||||
layer_map 69 -datatype 16 1143 //met2,pin,69:16
|
||||
layer_map 69 -texttype 16 1143 //met2,pin,69:16
|
||||
layer_def met3_pin 1145
|
||||
layer_map 70 -texttype 0 1145 //met3,pin,70:0
|
||||
layer_map 70 -datatype 16 1145 //met3,pin,70:16
|
||||
layer_map 70 -texttype 16 1145 //met3,pin,70:16
|
||||
layer_def met4_pin 1147
|
||||
layer_map 71 -texttype 0 1147 //met4,pin,71:0
|
||||
layer_map 71 -datatype 16 1147 //met4,pin,71:16
|
||||
layer_map 71 -texttype 16 1147 //met4,pin,71:16
|
||||
layer_def met5_pin 1149
|
||||
layer_map 72 -texttype 0 1149 //met5,pin,72:0
|
||||
layer_map 72 -datatype 16 1149 //met5,pin,72:16
|
||||
layer_map 72 -texttype 16 1149 //met5,pin,72:16
|
||||
layer_def poly_pin 1152
|
||||
layer_map 66 -texttype 0 1152 //poly,pin,66:0
|
||||
layer_map 66 -texttype 16 1152 //poly,pin,66:16
|
||||
layer_def diff_pin 1153
|
||||
layer_map 65 -texttype 16 1153 //diff,pin,65:16
|
||||
layer_def nwell_pin 1154
|
||||
layer_map 64 -datatype 16 1154 //nwell,pin,64:16
|
||||
layer_map 64 -texttype 0 1154 //nwell,pin,64:0
|
||||
layer_def pad_pin 1155
|
||||
layer_map 76 -texttype 0 1155 //pad,pin,76:0
|
||||
layer_map 76 -datatype 16 1155 //pad,pin,76:16
|
||||
layer_map 76 -texttype 16 1155 //pad,pin,76:16
|
||||
layer_def pwell_pin 1157
|
||||
layer_map 122 -datatype 16 1157 //pwell,pin,122:16
|
||||
layer_map 122 -texttype 16 1157 //pwell,pin,122:16
|
||||
layer_map 122 -texttype 0 1157 //pwell,pin,122:0
|
||||
layer_def pwelliso 1159
|
||||
layer_map 44 -datatype 16 1159 //pwelliso,pin,44:16
|
||||
layer_map 44 -texttype 16 1159 //pwelliso,pin,44:16
|
||||
layer_def diff_cut 1171
|
||||
layer_map 65 -datatype 14 1171 //diff,cut,65:14
|
||||
layer_def poly_cut 1172
|
||||
layer_map 66 -datatype 14 1172 //poly,cut,66:14
|
||||
layer_def li1_cut 1173
|
||||
layer_map 67 -datatype 14 1173 //li1,cut,67:14
|
||||
layer_def met1_cut 1174
|
||||
layer_map 68 -datatype 14 1174 //met1,cut,68:14
|
||||
layer_def met2_cut 1175
|
||||
layer_map 69 -datatype 14 1175 //met2,cut,69:14
|
||||
layer_def met3_cut 1176
|
||||
layer_map 70 -datatype 14 1176 //met3,cut,70:14
|
||||
layer_def met4_cut 1177
|
||||
layer_map 71 -datatype 14 1177 //met4,cut,71:14
|
||||
layer_def met5_cut 1178
|
||||
layer_map 72 -datatype 14 1178 //met5,cut,72:14
|
||||
layer_def pwell_cut 1179
|
||||
layer_map 64 -datatype 14 1179 //pwell,cut,64:14
|
||||
layer_def met5_probe 1180
|
||||
layer_map 72 -datatype 25 1180 //met5,probe,72:25
|
||||
layer_def met4_probe 1181
|
||||
layer_map 71 -datatype 25 1181 //met4,probe,71:25
|
||||
layer_def met3_probe 1182
|
||||
layer_map 70 -datatype 25 1182 //met3,probe,70:25
|
||||
layer_def met2_probe 1183
|
||||
layer_map 69 -datatype 25 1183 //met2,probe,69:25
|
||||
layer_def met1_probe 1184
|
||||
layer_map 68 -datatype 25 1184 //met1,probe,68:25
|
||||
layer_def li1_probe 1185
|
||||
layer_map 67 -datatype 25 1185 //li1,probe,67:25
|
||||
layer_def poly_probe 1186
|
||||
layer_map 66 -datatype 25 1186 //poly,probe,66:25
|
||||
layer_def poly_short 1187
|
||||
layer_map 66 -datatype 15 1187 //poly,short,66:15
|
||||
layer_def li1_short 1188
|
||||
layer_map 67 -datatype 15 1188 //li1,short,67:15
|
||||
layer_def met1_short 1189
|
||||
layer_map 68 -datatype 15 1189 //met1,short,68:15
|
||||
layer_def met2_short 1190
|
||||
layer_map 69 -datatype 15 1190 //met2,short,69:15
|
||||
layer_def met3_short 1191
|
||||
layer_map 70 -datatype 15 1191 //met3,short,70:15
|
||||
layer_def met4_short 1192
|
||||
layer_map 71 -datatype 15 1192 //met4,short,71:15
|
||||
layer_def met5_short 1193
|
||||
layer_map 72 -datatype 15 1193 //met5,short,72:15
|
||||
layer_def cncm_mk 1194
|
||||
layer_map 17 -datatype 0 1194 //cncm,mask,17:0
|
||||
layer_def crpm_mk 1195
|
||||
layer_map 96 -datatype 0 1195 //crpm,mask,96:0
|
||||
layer_def cpdm_mk 1196
|
||||
layer_map 37 -datatype 0 1196 //cpdm,mask,37:0
|
||||
layer_def cnsm_mk 1197
|
||||
layer_map 22 -datatype 0 1197 //cnsm,mask,22:0
|
||||
layer_def cmm5_mk 1198
|
||||
layer_map 59 -datatype 0 1198 //cmm5,mask,59:0
|
||||
layer_def cviam4_mk 1199
|
||||
layer_map 58 -datatype 0 1199 //cviam4,mask,58:0
|
||||
layer_def cmm4_mk 1200
|
||||
layer_map 51 -datatype 0 1200 //cmm4,mask,51:0
|
||||
layer_def cviam3_mk 1201
|
||||
layer_map 50 -datatype 0 1201 //cviam3,mask,50:0
|
||||
layer_def cmm3_mk 1202
|
||||
layer_map 34 -datatype 0 1202 //cmm3,mask,34:0
|
||||
layer_def cviam2_mk 1203
|
||||
layer_map 44 -datatype 0 1203 //cviam2,mask,44:0
|
||||
layer_def cmm2_mk 1204
|
||||
layer_map 41 -datatype 0 1204 //cmm2,mask,41:0
|
||||
layer_def cviam1_mk 1205
|
||||
layer_map 40 -datatype 0 1205 //cviam1,mask,40:0
|
||||
layer_def cmm1_mk 1206
|
||||
layer_map 36 -datatype 0 1206 //cmm1,mask,36:0
|
||||
layer_def ctm1_mk 1207
|
||||
layer_map 35 -datatype 0 1207 //ctm1,mask,35:0
|
||||
layer_def cli1m_mk 1208
|
||||
layer_map 56 -datatype 0 1208 //cli1m,mask,56:0
|
||||
layer_def clicm1_mk 1209
|
||||
layer_map 43 -datatype 0 1209 //clicm1,mask,43:0
|
||||
layer_def cpsdm_mk 1210
|
||||
layer_map 32 -datatype 0 1210 //cpsdm,mask,32:0
|
||||
layer_def cnsdm_mk 1211
|
||||
layer_map 30 -datatype 0 1211 //cnsdm,mask,30:0
|
||||
layer_def cldntm_mk 1212
|
||||
layer_map 11 -datatype 0 1212 //cldntm,mask,11:0
|
||||
layer_def cnpc_mk 1213
|
||||
layer_map 49 -datatype 0 1213 //cnpc,mask,49:0
|
||||
layer_def chvntm_mk 1214
|
||||
layer_map 39 -datatype 0 1214 //chvntm,mask,39:0
|
||||
layer_def cntm_mk 1215
|
||||
layer_map 27 -datatype 0 1215 //cntm,mask,27:0
|
||||
layer_def cp1m_mk 1216
|
||||
layer_map 28 -datatype 0 1216 //cp1m,mask,28:0
|
||||
layer_def clvom_mk 1217
|
||||
layer_map 46 -datatype 0 1217 //clvom,mask,46:0
|
||||
layer_def conom_mk 1218
|
||||
layer_map 88 -datatype 0 1218 //conom,mask,88:0
|
||||
layer_def ctunm_mk 1219
|
||||
layer_map 20 -datatype 0 1219 //ctunm,mask,20:0
|
||||
layer_def chvtrm_mk 1220
|
||||
layer_map 98 -datatype 0 1220 //chvtrm,mask,98:0
|
||||
layer_def chvtpm_mk 1221
|
||||
layer_map 97 -datatype 0 1221 //chvtpm,mask,97:0
|
||||
layer_def clvtnm_mk 1222
|
||||
layer_map 25 -datatype 0 1222 //clvtnm,mask,25:0
|
||||
layer_def cnwm_mk 1223
|
||||
layer_map 21 -datatype 0 1223 //cnwm,mask,21:0
|
||||
layer_def cdnm_mk 1224
|
||||
layer_map 48 -datatype 0 1224 //cdnm,mask,48:0
|
||||
layer_def cfom_mk 1225
|
||||
layer_map 23 -datatype 0 1225 //cfom,mask,23:0
|
||||
layer_def cfom 1226
|
||||
layer_map 22 -datatype 20 1226 //cfom,drawing,22:20
|
||||
layer_def clvtnm 1227
|
||||
layer_map 25 -datatype 44 1227 //clvtnm,drawing,25:44
|
||||
layer_def chvtpm 1228
|
||||
layer_map 88 -datatype 44 1228 //chvtpm,drawing,88:44
|
||||
layer_def conom 1229
|
||||
layer_map 87 -datatype 44 1229 //conom,drawing,87:44
|
||||
layer_def clvom 1230
|
||||
layer_map 45 -datatype 20 1230 //clvom,drawing,45:20
|
||||
layer_def cntm 1231
|
||||
layer_map 26 -datatype 20 1231 //cntm,drawing,26:20
|
||||
layer_def chvntm 1232
|
||||
layer_map 38 -datatype 20 1232 //chvntm,drawing,38:20
|
||||
layer_def cnpc 1233
|
||||
layer_map 44 -datatype 20 1233 //cnpc,drawing,44:20
|
||||
layer_def cnsdm 1234
|
||||
layer_map 29 -datatype 20 1234 //cnsdm,drawing,29:20
|
||||
layer_def cpsdm 1235
|
||||
layer_map 31 -datatype 20 1235 //cpsdm,drawing,31:20
|
||||
layer_def cli1m 1236
|
||||
layer_map 115 -datatype 44 1236 //cli1m,drawing,115:44
|
||||
layer_def cviam3 1237
|
||||
layer_map 112 -datatype 20 1237 //cviam3,drawing,112:20
|
||||
layer_def cviam4 1238
|
||||
layer_map 117 -datatype 20 1238 //cviam4,drawing,117:20
|
||||
layer_def cncm 1239
|
||||
layer_map 96 -datatype 44 1239 //cncm,drawing,96:44
|
||||
layer_def cntm_mk_add 1240
|
||||
layer_map 26 -datatype 21 1240 //cntm,mask add,26:21
|
||||
layer_def clvtnm_mk_add 1241
|
||||
layer_map 25 -datatype 43 1241 //clvtnm,mask add,25:43
|
||||
layer_def chvtpm_mk_add 1242
|
||||
layer_map 97 -datatype 43 1242 //chvtpm,mask add,97:43
|
||||
layer_def cli1m_mk_add 1243
|
||||
layer_map 115 -datatype 43 1243 //cli1m,mask add,115:43
|
||||
layer_def clicm1_mk_add 1244
|
||||
layer_map 106 -datatype 43 1244 //clicm1,mask add,106:43
|
||||
layer_def cpsdm_mk_add 1245
|
||||
layer_map 31 -datatype 21 1245 //cpsdm,mask add,31:21
|
||||
layer_def cnsdm_mk_add 1246
|
||||
layer_map 29 -datatype 21 1246 //cnsdm,mask add,29:21
|
||||
layer_def cp1m_mk_add 1247
|
||||
layer_map 33 -datatype 43 1247 //cp1m,mask add,33:43
|
||||
layer_def cfom_mk_add 1248
|
||||
layer_map 22 -datatype 21 1248 //cfom,mask add,22:21
|
||||
layer_def cntm_mk_drop 1249
|
||||
layer_map 26 -datatype 22 1249 //cntm,mask drop,26:22
|
||||
layer_def clvtnm_mk_drop 1250
|
||||
layer_map 25 -datatype 42 1250 //clvtnm,mask drop,25:42
|
||||
layer_def chvtpm_mk_drop 1251
|
||||
layer_map 97 -datatype 42 1251 //chvtpm,mask drop,97:42
|
||||
layer_def cli1m_mk_drop 1252
|
||||
layer_map 115 -datatype 42 1252 //cli1m,mask drop,115:42
|
||||
layer_def clicm1_mk_drop 1253
|
||||
layer_map 106 -datatype 42 1253 //clicm1,mask drop,106:42
|
||||
layer_def cpsdm_mk_drop 1254
|
||||
layer_map 31 -datatype 22 1254 //cpsdm,mask drop,31:22
|
||||
layer_def cnsdm_mk_drop 1255
|
||||
layer_map 29 -datatype 22 1255 //cnsdm,mask drop,29:22,
|
||||
layer_def cp1m_mk_drop 1256
|
||||
layer_map 33 -datatype 42 1256 //cp1m,mask drop,33:42,
|
||||
layer_def cfom_mk_drop 1257
|
||||
layer_map 22 -datatype 22 1257 //cfom,mask drop,22:22,
|
||||
layer_def cmm4_waffle_drop 1258
|
||||
layer_map 112 -datatype 4 1258 //cmm4,waffle drop,112:4
|
||||
layer_def cmm3_waffle_drop 1259
|
||||
layer_map 107 -datatype 24 1259 //cmm3,waffle drop,107:24
|
||||
layer_def cmm2_waffle_drop 1260
|
||||
layer_map 105 -datatype 52 1260 //cmm2,waffle drop,105:52
|
||||
layer_def cmm1_waffle_drop 1261
|
||||
layer_map 62 -datatype 24 1261 //cmm1,waffle drop,62:24
|
||||
layer_def cp1m_waffle_drop 1262
|
||||
layer_map 33 -datatype 24 1262 //cp1m,waffle drop,33:24
|
||||
layer_def cfom_waffle_drop 1263
|
||||
layer_map 22 -datatype 24 1263 //cfom,waffle drop,22:24
|
||||
layer_def cmm5_waffle_drop 1264
|
||||
layer_map 117 -datatype 4 1264 //cmm5,waffle drop,117:4
|
||||
layer_def met1_res 1291
|
||||
layer_map 68 -datatype 13 1291 // met1 res
|
||||
layer_def met2_res 1292
|
||||
layer_map 69 -datatype 13 1292 // met2 res
|
||||
layer_def met3_res 1293
|
||||
layer_map 70 -datatype 13 1293 // met3 res
|
||||
layer_def met4_res 1294
|
||||
layer_map 71 -datatype 13 1294 // met4 res
|
||||
layer_def met5_res 1295
|
||||
layer_map 72 -datatype 13 1295 // met5 res
|
||||
layer_def diff_fill 1281
|
||||
layer_map 65 -datatype 99 1281 //diff,fill,65:99
|
||||
layer_def poly_fill 1282
|
||||
layer_map 66 -datatype 99 1282 //poly,fill,66:99
|
||||
layer_def li_fill 1283
|
||||
layer_map 67 -datatype 99 1283 //li,fill,67:99
|
||||
layer_def met1_fill 1284
|
||||
layer_map 68 -datatype 99 1284 //met1,fill,68:99
|
||||
layer_def met2_fill 1285
|
||||
layer_map 69 -datatype 99 1285 //met2,fill,69:99
|
||||
layer_def met3_fill 1286
|
||||
layer_map 70 -datatype 99 1286 //met3,fill,70:99
|
||||
layer_def met4_fill 1287
|
||||
layer_map 71 -datatype 99 1287 //met4,fill,71:99
|
||||
layer_def met5_fill 1288
|
||||
layer_map 72 -datatype 99 1288 //met5,fill,72:99
|
||||
|
||||
|
||||
keep_layers ;
|
||||
|
||||
extent ALL ;
|
||||
extent_drawn -original -outputlayer EXTENT ;
|
||||
|
||||
rule data_integrity {
|
||||
caption "Data integrity has been run, check log file for errors / warnings"
|
||||
copy EXTENT ;
|
||||
}
|
||||
|
||||
+620
@@ -0,0 +1,620 @@
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// Sky130 Open Source PVL DRC Deck //
|
||||
// Version 0.0_2.12 July 22, 2025 //
|
||||
// //
|
||||
// ******************************************************************** //
|
||||
// ******************************************************************** //
|
||||
// //
|
||||
// History: //
|
||||
// //
|
||||
// Rev 0.0_2.12 //
|
||||
// - Updates to configurator file //
|
||||
// - Removed inaccurate rules //
|
||||
// - Removed references to Recommended rules (now Guidelines) //
|
||||
// - Typo fixes //
|
||||
// - Updated captions and DRM for consistency //
|
||||
// Rev 0.0_2.11 //
|
||||
// - CDR & CDRW designations added to rule captions //
|
||||
// - CRD/CDRW rule names changed (eg, CDR.m1.1) //
|
||||
// - Consistent use of rule workding //
|
||||
// - Consistent use of "met" (such as met1 vs. m1 or metal1) //
|
||||
// - group_rules updated to support CDR, CDRW rules //
|
||||
// selectors all_CDR_CDRW, only_CDR, only_CDRW //
|
||||
// - group_rules updated to support density, fill rules //
|
||||
// selectors only_density, only_fill //
|
||||
// Rev 0.0_2.10 //
|
||||
// - Added fill rules: size, overlap, spacing, enclosure //
|
||||
// - Removed fill from diff, poly, li, & metal spacing, width checks //
|
||||
// (since fill spacing checks are more stringent) //
|
||||
// - Added "-inside" option to edge_select commands in some ENC //
|
||||
// - capm, cap2m rules for fill //
|
||||
// - Updates to capm, cap2m rules //
|
||||
// - psd.1 replaced with psd.1a (non-CORE) & psd.1b (CORE) //
|
||||
// Rev 0.0_2.9 //
|
||||
// Added switch to ignore WARNINGS //
|
||||
// Rev 0.0_2.8 //
|
||||
// - renamed some mask layers //
|
||||
// - density rules //
|
||||
// Rev 0.0_2.8 //
|
||||
// - fixed licon.8 //
|
||||
// - Replaced exception_severity path_extension_multiple //
|
||||
// with exception_severity path_width_multiple //
|
||||
// Rev 0.0_2.7 //
|
||||
// - ct.* rules changed to mcon.* //
|
||||
// - diff.fill.1, diff.fill.2, poly.fill.1, polly.fill.2, li.fill.1, //
|
||||
// m1.fill.1, m1.fill.2 / m2.fill.1, m2.fill.2 / m3.fill.1, //
|
||||
// m3.fill.2, m4.fill.1 / m4.fill.2, m5.fill.1 / m5.fill.2 //
|
||||
// - difftap 1, 1a, 1b, 2a, 2b, 5, 5b, 8a, 8b, 8c, 10a, 10b //
|
||||
// - Removed difftap 2a, 10 //
|
||||
// - Updated licon 1, 1a, 1b, 1c //
|
||||
// - licon 2, 2a, 2b, 2c, 2d, 4a, 4b, 6a, 6b, 9, 14, 14a //
|
||||
// - Removed licon 2e, 2f, 4, 6 //
|
||||
// - Cover rules separated for both upper & lower layers //
|
||||
// eg, via1.cover -> via1.cover.1 & via1.cover.2 //
|
||||
// - via1 4a, 4b, 5a, 5b //
|
||||
// - Removed via1.4c, via1,5c //
|
||||
// - licon.core, mcon.core //
|
||||
// - m2.4a, m2.4b & removed m2.4 //
|
||||
// - poly 2, 2a, 2b, 4a, 4b, 5a, 5b, 8, 9a, 9b //
|
||||
// - Removed poly 4, 5, 6, 8a, 9 //
|
||||
// - LI 1a, 1b, 1c, 3a, 3b, 3c ; removed li.1, li.3 //
|
||||
// //
|
||||
// Rev 0.0_2.6 //
|
||||
// - x.8, x.prBndry, x.prohibited, x.pwell //
|
||||
// - dnwell 3a, 3b, 3c, 3d //
|
||||
// - nwell 2a.lv*, nwell.tap, nwell.sameNet //
|
||||
// - Removed nwell 2a, 2b //
|
||||
// - difftap 4, 5 //
|
||||
// - poly 2, 2a, 3b, 3c, 8a //
|
||||
// - psd 3, 6, 9 //
|
||||
// - licon 1, 1b, 1c, 2a, 2e, 2f, 5a, 5b, 5c, 7, 8, 8a, 15, 15b, 20 //
|
||||
// - li 1, 1a, 3, 3a, 5 //
|
||||
// - capm rules 1a,1b, 2a,2b, 3a,3b,3c, 4, 5, 6, 7, 8a,8b,8c, 9a,9b //
|
||||
// - Removed vpp.3, vpp.4 //
|
||||
// - m1 4, 4a, 5, 5a //
|
||||
// - hvi.1, hvi.nwell //
|
||||
// - Removed hvi.5 //
|
||||
// - hvnwell 8.hv*, 8.vhv*, 8.uvh //
|
||||
// - Removed hvnwell.8 //
|
||||
// - hvdifftap.14 //
|
||||
// - vhvi.uhvi //
|
||||
// - Removed vhvi.8 //
|
||||
// - m1.pd.1, m2.pd.1, m3.pd.1, m4.pd.1 //
|
||||
// - Blocking rules for li, m1, m2, m3, m4, m5 //
|
||||
// - Blocking spacing for li, m1, m2, m3, m4, m5 //
|
||||
// - Coverage rules licon, ct, via1, via2, via3, via4 //
|
||||
// - diff.res, li.res, m1.res, m2.res, m3.res, m4.res, m5.res //
|
||||
// //
|
||||
// Rev 0.0_2.5 - Internal release, cleanup //
|
||||
// //
|
||||
// Rev 0.0_2.4 //
|
||||
// - Tweak to tap derivations //
|
||||
// - nwell / dnwell connectivity //
|
||||
// - improved hvnwell.8 //
|
||||
// - additional COREID rules //
|
||||
// //
|
||||
// Rev 0.0_2.3 //
|
||||
// - Fixed licon1 rules //
|
||||
// - Update diff, tap definitions //
|
||||
// - Fixed x.2, x.3a (angles) //
|
||||
// - Fixed huge metal spacing rules //
|
||||
// - Updates to hvntm rules //
|
||||
// - Add switch to ignore out-of-date rules //
|
||||
// - Fuse not allowed //
|
||||
// //
|
||||
// Rev 0.0_2.2 - Updates //
|
||||
// //
|
||||
// Rev 0.0_2.1 - Preliminary release //
|
||||
// //
|
||||
// Rev 0.0_2.0 - Cleanup, debug //
|
||||
// //
|
||||
// Rev 0.0_1.0 //
|
||||
// - Major structure update to allow for easier field patching //
|
||||
// - Added rule sections: //
|
||||
// hvtr, ncm, tumn, rpm, varac, vpp, nsm, //
|
||||
// mf, hvi, hvnwell, hvdifftap, hvpoly //
|
||||
// hvntm, denmos, depmos, hv, vhvi, pwres //
|
||||
// - various bug fixes //
|
||||
// //
|
||||
// Rev 0.0_0.5 //
|
||||
// - Support Aluminum metal stack by Default, //
|
||||
// - Copper by specific switch select //
|
||||
// - Added dnwell rules //
|
||||
// - Bug fixes //
|
||||
// //
|
||||
// Initial Release //
|
||||
// - Support only for basic non-voltage dependent fet devices. //
|
||||
// - Additional support to be added at a later date //
|
||||
// - Limited testing as no test structures are available //
|
||||
// //
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
// NOTES: //
|
||||
// This file is sorted to follow the DRM //
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Parameters for batch launch
|
||||
|
||||
// Format of input file. Either gdsii or oasis
|
||||
|
||||
layout_format gdsii
|
||||
|
||||
// GDS/Oasis file to run DRC on
|
||||
|
||||
layout_path "./mycell.gds"
|
||||
|
||||
// Name of top level cell in data file
|
||||
|
||||
layout_primary mycell
|
||||
|
||||
// File to store DRC Summary
|
||||
|
||||
report_summary -drc "mycell.sum" -replace
|
||||
|
||||
// File to store drc output results to be used in Results Viewer
|
||||
|
||||
results_db -drc "./mycell.drc_errors.ascii" -ascii
|
||||
|
||||
// Maximum number of errors output per DRC rule
|
||||
|
||||
max_results -drc 1000
|
||||
|
||||
// Maximum number of vertices in any polygon created by PEGASUS
|
||||
|
||||
max_vertex -drc 4096
|
||||
|
||||
// Stop run if there is a problem in the layout like a missing cell
|
||||
|
||||
abort_on_layout_error no
|
||||
|
||||
text_depth -primary ;
|
||||
|
||||
keep_layers ;
|
||||
|
||||
input_scale 1000 ;
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Input Layer Definitions //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/layer_def.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Derived Layer Definitions /fI/
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/derived_layers.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.1 FIXME rules (x.-) //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/x.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.2 dnwell rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/dnwell.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.3 nwell rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/nwell.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.4 pwbm rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// Not coded, no values in DRM
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.5 pwdem rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// Not coded, no values in DRM
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.6 hvtp rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/hvtp.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.7 hvtr rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/hvtr.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.8 lvtn rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/lvtn.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.9 ncm rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/ncm.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.10 difftap rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/difftap.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.11 tunm rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/tunm.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.12 poly rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/poly.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.13 rpm /urpm rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/rpm.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.14 varac rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/varac.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.15 photo rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/photo.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.16 npc rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/npc.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.17 n/psd rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/n_psd.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.18 licon rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/licon.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.19 li rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/li.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.20 mcon rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/mcon.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.21 capm, cap2m rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/capm.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.22 vpp rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/vpp.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.23 m1 rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/m1.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.24 via1 rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/via1.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.25 m2 rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/m2.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.26 via2 rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/via2.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.27 m3 rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/m3.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.28 via3 rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/via3.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.29 nsm rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/nsm.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.30 indm rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// Not coded, no values in DRM
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.31 m4 rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/m4.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.32 via4 rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/via4.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.33 m5 rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/m5.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.34 pad rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/pad.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.35 rdl rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// Cu not implemented in this PDK
|
||||
|
||||
// Include $PEGASUS_DRC/Include/rdl.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.36 mf rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// Fuse no longer supported //
|
||||
|
||||
//Include $PEGASUS_DRC/Include/mf.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.37 hvi rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/hvi.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.38 hvnwell rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/hvnwell.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.39 hvdifftap rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/hvdifftap.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.40 hvpoly rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/hvpoly.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.41 hvntm rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/hvntm.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.42 denmos rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/denmos.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.43 depmos rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/depmos.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.44 extd rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// Not coded, no values in DRM
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.45 hv rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/hv.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.46 vhvi rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/vhvi.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.47 uhvi rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/uhvi.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.48 ulvt rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// Not coded, no values in DRM
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.49 pwres rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/pwres.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// 5.7.50 rfdiode rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// Not coded
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// density rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/density.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Other rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Include $PEGASUS_DRC/Include/other.drc.pvl
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// group & select rules //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
#IFDEF frontend
|
||||
select_check -drc nwell.? dnwell.? hvtp.? hvtr.? lvtn.? ncm.? diff.? difftap.? tunm.? poly.? rpm.? urpm.? varac.? photo.? npc.? psd.? licon.? ;
|
||||
#ENDIF
|
||||
|
||||
#IFDEF backend
|
||||
select_check -drc li.? mcon.? vpp.? m1.? via1.? m2.? via2.? m3.? via3.? nsm.? m4.? via4.? m5.?
|
||||
pad.? hvi.? hvnwell.? hvdifftap.? hvpoly.? hvntm.? denmos.? depmos.? vhvi.? pwres.?
|
||||
#ENDIF
|
||||
|
||||
group_rules X x.? CDR?x.?
|
||||
group_rules NWELL nwell.? CDR?nwell.?
|
||||
group_rules DNWELL dnwell.? CDR?dnwell.?
|
||||
// pwbm no rules coded
|
||||
// pwdem no rules coded
|
||||
group_rules HVTP hvtp.? CDR?hvtp.?
|
||||
group_rules HVTR hvtr.? CDR?hvtr.?
|
||||
group_rules LVTN lvtn.? CDR?lvtn.?
|
||||
group_rules NCM ncm.? CDR?ncm.?
|
||||
group_rules DIFFTAP difftap.? diff.? CDR?difftap.? CDR?diff.?
|
||||
group_rules TUNM tunm.? CDR?tunm.?
|
||||
group_rules POLY poly.? CDR?poly.?
|
||||
group_rules RPM rpm.? urpm.? CDR?rpm.? CDR?urpm.?
|
||||
group_rules VARAC varac.? CDR?varac.?
|
||||
group_rules PHOTO photo.? CDR?photo.?
|
||||
group_rules NPC npc.? CDR?npc.?
|
||||
group_rules N_PSD psd.? CDR?psd.?
|
||||
group_rules LICON licon.? CDR?licon.?
|
||||
group_rules LI li.? CDR?li.?
|
||||
group_rules MCON mcon.? CDR?mcon.?
|
||||
group_rules CAPM capm.? cap2m.? CDR?capm.? CDR?cap2m.?
|
||||
group_rules VPP vpp.? CDR?vpp.?
|
||||
group_rules M1 m1.? CDR?.m1.?
|
||||
group_rules VIA1 via1.? CDR?via1.?
|
||||
group_rules M2 m2.? CDR?m2.?
|
||||
group_rules VIA2 via2.? CDR?via2.?
|
||||
group_rules M3 m3.? CDR?m3.?
|
||||
group_rules VIA3 via3.? CDR?via3.?
|
||||
group_rules NSM nsm.? CDR?nsm.?
|
||||
// indm no rules coded
|
||||
group_rules M4 m4.? CDR?m4.?
|
||||
group_rules VIA4 via4.? CDR?via4.?
|
||||
group_rules M5 m5.? CDR?m5.?
|
||||
group_rules PAD pad.? CDR?pad.?
|
||||
// fuse fuse not allowed
|
||||
group_rules HVI hvi.? CDR?hvi.?
|
||||
group_rules HVNWELL hvnwell.? CDR?hvnwell.?
|
||||
group_rules HVDIFFTAP hvdifftap.? CDR?hvdifftap.?
|
||||
group_rules HVPOLY hvpoly.? CDR?hvpoly.?
|
||||
group_rules HVNTM hvntm.? CDR?hvntm.?
|
||||
group_rules DENMOS denmos.? CDR?denmos.?
|
||||
group_rules DEPMOS depmos.? CDR?depmos.?
|
||||
// extd no rules coded
|
||||
// hv no rules coded
|
||||
group_rules VHVI vhvi.? CDR?vhvi.?
|
||||
group_rules UHVI uhvi.? CDR?uhvi.?
|
||||
// vlvt no rules coded
|
||||
group_rules PWRES pwres.? CDR?pwres.?
|
||||
// rfdiode no rules coded
|
||||
|
||||
group_rules all_CDR_CDRW CDR.? CDRW.?
|
||||
group_rules only_CDR CDR.?
|
||||
group_rules only_CDRW CDRW.?
|
||||
group_rules only_density ?.global.? ?.local.?
|
||||
group_rules only_fill ?.fill.?
|
||||
|
||||
#IFDEF DEBUG
|
||||
Include $PEGASUS_DRC/Include/debug.drc.pvl
|
||||
group_rules _DEBUG debug.?
|
||||
select_check -drc debug.?
|
||||
#ENDIF
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Data Integrity Checks //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
// CIRCLE
|
||||
// CTRAPEZOID_DEGENERATE
|
||||
// PATH_DEGENERATE
|
||||
// PATH_ENDSEGMENT_SHORT
|
||||
// PATH_EXTENSION
|
||||
// PATH_NONORIENTABLE
|
||||
// PATH_SPIKE
|
||||
// POLYGON_DEGENERATE
|
||||
// POLYGON_NONORIENTABLE
|
||||
// PRECISION_RULE_FILE
|
||||
// TRAPEZOID_DEGENERATE
|
||||
// XELEMENT_UNSUPPORTED
|
||||
// XGEOMETRY_UNSUPPORTED
|
||||
// XNAME_UNSUPPORTED
|
||||
|
||||
exception_severity circle 4 ;
|
||||
exception_severity ctrapezoid_degenerate 2 ;
|
||||
exception_severity path_acute 6 ;
|
||||
exception_severity path_circular 6 ;
|
||||
exception_severity path_degenerate 2 ;
|
||||
exception_severity path_endsegment_short 1 ;
|
||||
exception_severity path_nonorientable 4 ;
|
||||
exception_severity path_nonsimple 1 ;
|
||||
exception_severity path_spike 2 ;
|
||||
exception_severity polygon_degenerate 2 ;
|
||||
exception_severity polygon_nonorientable 2 ;
|
||||
exception_severity precision_rule_file 1 ;
|
||||
exception_severity trapezoid_degenerate 2 ;
|
||||
|
||||
layout_path_width_multiple 1 ;
|
||||
exception_severity path_width_multiple 3 ;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
# #########################################################################
|
||||
# Cadence libraries
|
||||
DEFINE basic $CDSHOME/tools/dfII/etc/cdslib/basic
|
||||
DEFINE analogLib $CDSHOME/tools/dfII/etc/cdslib/artist/analogLib
|
||||
DEFINE functional $CDSHOME/tools/dfII/etc/cdslib/artist/functional
|
||||
DEFINE sbaLib $CDSHOME/tools/dfII/etc/cdslib/artist/sbaLib
|
||||
DEFINE US_8ths $CDSHOME/tools/dfII/etc/cdslib/sheets/US_8ths
|
||||
|
||||
# #########################################################################
|
||||
# sky130 PDK library
|
||||
DEFINE sky130_fd_pr_main $PDK_HOME/libs/sky130_fd_pr_main
|
||||
|
||||
# #########################################################################
|
||||
# User libraries go here
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
text_depth -primary;
|
||||
virtual_connect -colon no;
|
||||
virtual_connect -semicolon_as_colon yes;
|
||||
virtual_connect -noname;
|
||||
virtual_connect -report no;
|
||||
virtual_connect -depth -primary;
|
||||
report_summary -drc "CELLNAME.sum" -replace;
|
||||
max_results -drc 1000;
|
||||
results_db -drc "CELLNAME.drc.ascii" -ascii;
|
||||
keep_layers -yes;
|
||||
abort_on_layout_error yes;
|
||||
layout_format gdsii;
|
||||
layout_path "./CELLNAME.wFill.gds.gz";
|
||||
@@ -0,0 +1,37 @@
|
||||
text_depth -primary;
|
||||
virtual_connect -colon no;
|
||||
virtual_connect -semicolon_as_colon yes;
|
||||
virtual_connect -noname;
|
||||
virtual_connect -report no;
|
||||
virtual_connect -depth -primary;
|
||||
report_summary -drc "fill.sum" -replace;
|
||||
max_results -drc -all;
|
||||
keep_layers -none;
|
||||
abort_on_layout_error yes;
|
||||
layout_format gdsii;
|
||||
layout_path "./CELLNAME.gds.gz";
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Output
|
||||
|
||||
// _FILL will add "_FILL" to all cells created (including the poly-fill cell)
|
||||
|
||||
results_db -drc "CELLNAME.fill.gds.gz" -gdsii _FILL ;
|
||||
|
||||
output -drc "diff_fillgen" -gdsii 65 99 CELLNAME.fill.gds.gz ;
|
||||
output -drc "poly_fillgen" -gdsii 66 99 CELLNAME.fill.gds.gz ;
|
||||
|
||||
output -drc "LI_fillgen" -gdsii 67 99 CELLNAME.fill.gds.gz ;
|
||||
output -drc "m1_fillgen" -gdsii 68 99 CELLNAME.fill.gds.gz ;
|
||||
output -drc "m2_fillgen" -gdsii 69 99 CELLNAME.fill.gds.gz ;
|
||||
output -drc "m3_fillgen" -gdsii 70 99 CELLNAME.fill.gds.gz ;
|
||||
output -drc "m4_fillgen" -gdsii 71 99 CELLNAME.fill.gds.gz ;
|
||||
output -drc "m5_fillgen" -gdsii 72 99 CELLNAME.fill.gds.gz ;
|
||||
|
||||
// This will create a holding place cell for the poly-fill cells
|
||||
// Note: the sizes should match the sizes of the poly-fill cells
|
||||
|
||||
output -drc "diff_poly_fillgen_3" -gdsii 65 99 -aref poly_diff_3 3.0 2.5 CELLNAME.fill.gds.gz ;
|
||||
output -drc "diff_poly_fillgen_10" -gdsii 65 99 -aref poly_diff_10 10.0 2.5 CELLNAME.fill.gds.gz ;
|
||||
output -drc "diff_poly_fillgen_25" -gdsii 65 99 -aref poly_diff_25 25.0 2.5 CELLNAME.fill.gds.gz ;
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
FILE CELLNAME.gds.gz
|
||||
PRIME CELLNAME
|
||||
SNAP 0
|
||||
PLACE_MIRROR 0
|
||||
PLACE_ANGLE 0
|
||||
PLACE_MAG 1.0
|
||||
PLACE_X 0.0
|
||||
PLACE_Y 0.0
|
||||
ENDPLACES
|
||||
|
||||
FILE CELLNAME.fill_aref.gds.gz
|
||||
PRIME CELLNAME_FILL
|
||||
SNAP 0
|
||||
PLACE_MIRROR 0
|
||||
PLACE_ANGLE 0
|
||||
PLACE_MAG 1.0
|
||||
PLACE_X 0.0
|
||||
PLACE_Y 0.0
|
||||
ENDPLACES
|
||||
|
||||
ENDFILES
|
||||
@@ -0,0 +1,43 @@
|
||||
#############################################################################
|
||||
# Sky130 Fill Generation Routine
|
||||
# Version 08 July 18, 2025
|
||||
#
|
||||
# Pegasus Design Review Control File
|
||||
#
|
||||
# this file will insert the poly_diff fill cell into the fill file
|
||||
#
|
||||
# Fill generation routine will create temporary cells containing diff fill
|
||||
# These cells must be replaced with the poly_diff fill cell
|
||||
|
||||
# CELLNAME.fill.gds.gz - Oasis file with generated fill shapes
|
||||
# CELLNAME_FILL - top level cell name in fill GDS file
|
||||
# REPLACE - replaces cells in 2nd column with 3rd column
|
||||
#
|
||||
# poly_diff_3_10_25.gds.gz - GDS file containing the poly-diff fill cells (3)
|
||||
# poly_diff_3_FILL replaced with poly_diff_3_FILLCELL
|
||||
# poly_diff_10_FILL replaced with poly_diff_10_FILLCELL
|
||||
# poly_diff_25_FILL replaced with poly_diff_25_FILLCELL
|
||||
#
|
||||
# "CELLNAME" should be replaced with the user's top level cell name
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
FILE CELLNAME.fill.gds.gz
|
||||
PRIME CELLNAME_FILL
|
||||
ENDPLACES
|
||||
|
||||
# Replace <cell_to_be_replaced> <cell_to_be_replace_with>
|
||||
REPLACE poly_diff_3_FILL poly_diff_3_FILLCELL
|
||||
REPLACE poly_diff_10_FILL poly_diff_10_FILLCELL
|
||||
REPLACE poly_diff_25_FILL poly_diff_25_FILLCELL
|
||||
#
|
||||
# Cell Libraries...
|
||||
#
|
||||
FILE poly_diff_3_10_25.gds.gz
|
||||
PRIME _NONE_
|
||||
ENDPLACES
|
||||
#
|
||||
|
||||
ENDFILES
|
||||
|
||||
#############################################################################
|
||||
BIN
Binary file not shown.
Executable
+360
@@ -0,0 +1,360 @@
|
||||
#Layer Name Layer Purpose Layer Stream Number Datatype Stream Number
|
||||
|
||||
areaid analog 81 79
|
||||
areaid core 81 2
|
||||
areaid critCorner 81 51
|
||||
areaid critSid 81 52
|
||||
areaid deadZon 81 50
|
||||
areaid dieCut 81 11
|
||||
areaid diode 81 23
|
||||
areaid esd 81 19
|
||||
areaid etest 81 101
|
||||
areaid extendedDrain 81 57
|
||||
areaid frame 81 3
|
||||
areaid frameRect 81 12
|
||||
areaid hvnwell 81 63
|
||||
areaid injection 81 17
|
||||
areaid lowTapDensity 81 14
|
||||
areaid lvNative 81 60
|
||||
areaid moduleCut 81 10
|
||||
areaid notCritSide 81 15
|
||||
areaid opcDrop 81 54
|
||||
areaid photo 81 81
|
||||
areaid rdlprobepad 81 27
|
||||
areaid rfdiode 81 125
|
||||
areaid seal 81 1
|
||||
areaid sigPadDiff 81 6
|
||||
areaid sigPadMetNtr 81 8
|
||||
areaid sigPadWell 81 7
|
||||
areaid standardc 81 4
|
||||
areaid substrateCut 81 53
|
||||
blanking drawing 124 40
|
||||
bump drawing 127 22
|
||||
capacitor drawing 82 64
|
||||
cbump mask 101 0
|
||||
cctm1 drawing 101 44
|
||||
cctm1 mask 35 0
|
||||
cctm1 maskAdd 101 43
|
||||
cctm1 maskDrop 101 42
|
||||
ccu1m mask 93 0
|
||||
cdnm drawing 110 20
|
||||
cdnm mask 48 0
|
||||
cdnm maskAdd 110 21
|
||||
cdnm maskDrop 110 22
|
||||
cfom drawing 22 20
|
||||
cfom mask 23 0
|
||||
cfom maskAdd 22 21
|
||||
cfom maskDrop 22 22
|
||||
cfom waffleDrop 22 24
|
||||
chvntm drawing 38 20
|
||||
chvntm mask 39 0
|
||||
chvntm maskAdd 38 21
|
||||
chvntm maskDrop 38 22
|
||||
chvtpm drawing 88 44
|
||||
chvtpm mask 97 0
|
||||
chvtpm maskAdd 97 43
|
||||
chvtpm maskDrop 97 42
|
||||
chvtrm drawing 98 44
|
||||
chvtrm mask 98 0
|
||||
chvtrm maskAdd 98 43
|
||||
chvtrm maskDrop 98 42
|
||||
cldntm drawing 11 20
|
||||
cldntm mask 11 0
|
||||
cli1m drawing 115 44
|
||||
cli1m mask 56 0
|
||||
cli1m maskAdd 115 43
|
||||
cli1m maskDrop 115 42
|
||||
clicm1 drawing 106 44
|
||||
clicm1 mask 43 0
|
||||
clicm1 maskAdd 106 43
|
||||
clicm1 maskDrop 106 42
|
||||
clvom drawing 45 20
|
||||
clvom mask 46 0
|
||||
clvom maskAdd 45 21
|
||||
clvom maskDrop 45 22
|
||||
clvtnm drawing 25 44
|
||||
clvtnm mask 25 0
|
||||
clvtnm maskAdd 25 43
|
||||
clvtnm maskDrop 25 42
|
||||
cmm1 drawing 62 20
|
||||
cmm1 mask 36 0
|
||||
cmm1 maskAdd 62 21
|
||||
cmm1 maskDrop 62 22
|
||||
cmm1 waffleDrop 62 24
|
||||
cmm2 drawing 105 44
|
||||
cmm2 mask 41 0
|
||||
cmm2 maskAdd 105 43
|
||||
cmm2 maskDrop 105 42
|
||||
cmm2 waffleDrop 105 52
|
||||
cmm3 drawing 107 20
|
||||
cmm3 mask 34 0
|
||||
cmm3 maskAdd 107 21
|
||||
cmm3 maskDrop 107 22
|
||||
cmm3 waffleDrop 107 24
|
||||
cmm4 mask 51 0
|
||||
cmm4 maskAdd 112 43
|
||||
cmm4 maskDrop 112 42
|
||||
cmm4 waffleDrop 112 4
|
||||
cmm5 mask 59 0
|
||||
cmm5 waffleDrop 117 4
|
||||
cncm drawing 96 44
|
||||
cncm mask 17 0
|
||||
cnpc drawing 44 20
|
||||
cnpc mask 49 0
|
||||
cnpc maskAdd 44 43
|
||||
cnpc maskDrop 44 42
|
||||
cnsdm drawing 29 20
|
||||
cnsdm mask 30 0
|
||||
cnsdm maskAdd 29 21
|
||||
cnsdm maskDrop 29 22
|
||||
cnsm mask 22 0
|
||||
cntm drawing 26 20
|
||||
cntm mask 27 0
|
||||
cntm maskAdd 26 21
|
||||
cntm maskDrop 26 22
|
||||
cnwm drawing 109 44
|
||||
cnwm mask 21 0
|
||||
cnwm maskAdd 109 43
|
||||
cnwm maskDrop 109 42
|
||||
conom drawing 87 44
|
||||
conom mask 88 0
|
||||
conom maskAdd 87 43
|
||||
conom maskDrop 87 42
|
||||
cp1m drawing 33 44
|
||||
cp1m mask 28 0
|
||||
cp1m maskAdd 33 43
|
||||
cp1m maskDrop 33 42
|
||||
cp1m waffleDrop 33 24
|
||||
cpbo mask 99 0
|
||||
cpdm drawing 104 44
|
||||
cpdm mask 37 0
|
||||
cpdm maskAdd 104 43
|
||||
cpdm maskDrop 104 42
|
||||
cpmm drawing 91 44
|
||||
cpmm2 mask 94 0
|
||||
cpsdm drawing 31 20
|
||||
cpsdm mask 32 0
|
||||
cpsdm maskAdd 31 21
|
||||
cpsdm maskDrop 31 22
|
||||
crpm drawing 53 44
|
||||
crpm mask 96 0
|
||||
crpm maskAdd 53 43
|
||||
crpm maskDrop 53 42
|
||||
#crrpm mask 102 0
|
||||
ctunm drawing 96 20
|
||||
ctunm mask 20 0
|
||||
ctunm maskAdd 96 21
|
||||
ctunm maskDrop 96 22
|
||||
cubm mask 100 0
|
||||
cviam drawing 105 20
|
||||
cviam mask 40 0
|
||||
cviam maskAdd 105 21
|
||||
cviam maskDrop 105 22
|
||||
cviam2 drawing 108 20
|
||||
cviam2 mask 44 0
|
||||
cviam2 maskAdd 108 21
|
||||
cviam2 maskDrop 108 22
|
||||
cviam3 drawing 112 20
|
||||
cviam3 mask 50 0
|
||||
cviam3 maskAdd 112 21
|
||||
cviam3 maskDrop 112 22
|
||||
cviam4 drawing 117 20
|
||||
cviam4 mask 58 0
|
||||
cviam4 maskAdd 117 21
|
||||
cviam4 maskDrop 117 22
|
||||
diff boundary 65 4
|
||||
diff cut 65 14
|
||||
diff drawing 65 20
|
||||
diff hv 65 8
|
||||
diff label 65 6
|
||||
diff net 65 23
|
||||
diff pin 65 16
|
||||
diff res 65 13
|
||||
diff fill 65 99
|
||||
diff fill_block 65 98
|
||||
dnwell drawing 64 18
|
||||
fom dummy 22 23
|
||||
hvi drawing 75 20
|
||||
hvntm drawing 125 20
|
||||
hvtp drawing 78 44
|
||||
hvtr drawing 18 20
|
||||
inductor drawing 82 24
|
||||
inductor label 82 25
|
||||
inductor term1 82 26
|
||||
inductor term2 82 27
|
||||
inductor term3 82 28
|
||||
ldntm drawing 11 44
|
||||
li1 blockage 67 10
|
||||
li1 boundary 67 4
|
||||
li1 cut 67 14
|
||||
li1 drawing 67 20
|
||||
li1 label 67 5
|
||||
li1 net 67 23
|
||||
li1 pin 67 16
|
||||
li1 probe 67 25
|
||||
li1 res 67 13
|
||||
li1 short 67 15
|
||||
li1 fill 67 99
|
||||
li1 fill_block 67 98
|
||||
licon1 boundary 66 60
|
||||
licon1 drawing 66 44
|
||||
licon1 net 66 41
|
||||
licon1 pin 66 58
|
||||
lvtn drawing 125 44
|
||||
marker error 83 6
|
||||
marker warning 83 7
|
||||
mcon boundary 67 60
|
||||
mcon drawing 67 44
|
||||
mcon net 67 41
|
||||
mcon pin 67 48
|
||||
met1 blockage 68 10
|
||||
met1 boundary 68 4
|
||||
met1 cut 68 14
|
||||
met1 drawing 68 20
|
||||
met1 label 68 5
|
||||
met1 net 68 23
|
||||
met1 pin 68 16
|
||||
met1 probe 68 25
|
||||
met1 res 68 13
|
||||
met1 short 68 15
|
||||
met1 fill 68 99
|
||||
met1 fill_block 68 98
|
||||
met2 blockage 69 10
|
||||
met2 boundary 69 4
|
||||
met2 cut 69 14
|
||||
met2 drawing 69 20
|
||||
met2 label 69 5
|
||||
met2 net 69 23
|
||||
met2 pin 69 16
|
||||
met2 probe 69 25
|
||||
met2 res 69 13
|
||||
met2 short 69 15
|
||||
met2 fill 69 99
|
||||
met2 fill_block 69 98
|
||||
met3 blockage 70 10
|
||||
met3 boundary 70 4
|
||||
met3 cut 70 14
|
||||
met3 drawing 70 20
|
||||
met3 fuse 70 17
|
||||
met3 label 70 5
|
||||
met3 net 70 23
|
||||
met3 pin 70 16
|
||||
met3 probe 70 25
|
||||
met3 res 70 13
|
||||
met3 short 70 15
|
||||
met3 fill 70 99
|
||||
met3 fill_block 70 98
|
||||
met4 blockage 71 10
|
||||
met4 boundary 71 4
|
||||
met4 cut 71 14
|
||||
met4 drawing 71 20
|
||||
met4 fuse 71 17
|
||||
met4 label 71 5
|
||||
met4 net 71 23
|
||||
met4 pin 71 16
|
||||
met4 probe 71 25
|
||||
met4 res 71 13
|
||||
met4 short 71 15
|
||||
met4 fill 71 99
|
||||
met4 fill_block 71 98
|
||||
met5 blockage 72 10
|
||||
met5 boundary 72 4
|
||||
met5 cut 72 14
|
||||
met5 drawing 72 20
|
||||
met5 fuse 72 17
|
||||
met5 label 72 5
|
||||
met5 net 72 23
|
||||
met5 pin 72 16
|
||||
met5 probe 72 25
|
||||
met5 res 72 13
|
||||
met5 short 72 15
|
||||
met5 fill 72 99
|
||||
met5 fill_block 72 98
|
||||
ncm drawing 92 44
|
||||
npc drawing 95 20
|
||||
npn drawing 82 20
|
||||
npn label 82 5
|
||||
nsdm drawing 93 44
|
||||
nsm drawing 61 20
|
||||
nwell drawing 64 20
|
||||
nwell label 64 5
|
||||
nwell net 84 23
|
||||
nwell pin 64 16
|
||||
overlap boundary 90 4
|
||||
overlap drawing 90 20
|
||||
pad drawing 76 20
|
||||
pad label 76 5
|
||||
pad pin 76 16
|
||||
padCenter drawing 81 20
|
||||
pmm drawing 85 44
|
||||
pmm2 drawing 77 20
|
||||
pnp drawing 82 44
|
||||
pnp label 82 59
|
||||
poly boundary 66 4
|
||||
poly cut 66 14
|
||||
poly drawing 66 20
|
||||
poly gate 66 9
|
||||
poly label 66 5
|
||||
poly model 66 83
|
||||
poly net 66 23
|
||||
poly pin 66 16
|
||||
poly probe 66 25
|
||||
poly res 66 13
|
||||
poly short 66 15
|
||||
poly fill 66 99
|
||||
poly fill_block 66 98
|
||||
prBoundary boundary 235 4
|
||||
prBoundary drawing 235 0
|
||||
prune drawing 84 44
|
||||
psdm drawing 94 20
|
||||
pwell cut 64 14
|
||||
pwell drawing 64 44
|
||||
pwell label 64 59
|
||||
pwell pin 122 16
|
||||
pwell res 64 13
|
||||
pwelliso label 44 5
|
||||
pwelliso pin 44 16
|
||||
rdl cut 74 14
|
||||
rdl drawing 74 20
|
||||
rdl label 74 5
|
||||
rdl pin 74 16
|
||||
rdl res 74 13
|
||||
rdl short 74 15
|
||||
rpm drawing 86 20
|
||||
urpm drawing 79 20
|
||||
#rrpm drawing 102 20
|
||||
tap boundary 65 60
|
||||
tap drawing 65 44
|
||||
tap label 65 5
|
||||
tap net 65 41
|
||||
tap pin 65 48
|
||||
target drawing 76 44
|
||||
text drawing 83 44
|
||||
tunm drawing 80 20
|
||||
ubm drawing 127 21
|
||||
vhvi drawing 74 21
|
||||
via boundary 68 60
|
||||
via drawing 68 44
|
||||
via net 68 41
|
||||
via pin 68 58
|
||||
via2 boundary 69 60
|
||||
via2 drawing 69 44
|
||||
via2 net 69 41
|
||||
via2 pin 69 58
|
||||
via3 boundary 70 60
|
||||
via3 drawing 70 44
|
||||
via3 net 70 41
|
||||
via3 pin 70 48
|
||||
via4 boundary 71 60
|
||||
via4 drawing 71 44
|
||||
via4 net 71 41
|
||||
via4 pin 71 48
|
||||
|
||||
areaid extendedDrain20V 81 58
|
||||
uhvi drawing 74 22
|
||||
areaid lvt 81 108
|
||||
pwbm drawing 19 44
|
||||
capm drawing 89 44
|
||||
cap2m drawing 97 44
|
||||
r1c drawing 201 20
|
||||
areaid fillwindow 81 13
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/csh -vf
|
||||
|
||||
strmout \
|
||||
-library MYLIBRARY \
|
||||
-strmFile CELLNAME.gds.gz \
|
||||
-topCell CELLNAME \
|
||||
-view layout \
|
||||
-logFile strmout.log \
|
||||
-techLib sky130_fd_pr_main \
|
||||
-hierDepth 32 \
|
||||
-layerMap ./sky130_fd_pr_main.layermap \
|
||||
-labelDepth 32 \
|
||||
-case Preserve
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh -f
|
||||
###### This run file is generated by Pegasus UI
|
||||
###### Pegasus Version 23.10-p015
|
||||
|
||||
## Version 08 July 18, 2025 //
|
||||
|
||||
pegasus \
|
||||
--dp 4 \
|
||||
--log_dir LOGS \
|
||||
-top_cell CELLNAME \
|
||||
-ui_data \
|
||||
--control ./fill_CTL.pvl \
|
||||
-interactive \
|
||||
./fillgen.v08.pvl
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/csh -vf
|
||||
|
||||
pegasusDesignReview -batch dbmerge pdr_CTL_aref CELLNAME.fill_aref.gds.gz
|
||||
|
||||
pegasusDesignReview -batch dbmerge pdr_CTL CELLNAME.wFill.gds.gz
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/csh -vf
|
||||
|
||||
strmin \
|
||||
-library CELLNAME_wFill_lib \
|
||||
-strmFile CELLNAME.wFill.gds.gz \
|
||||
-topCell CELLNAME \
|
||||
-view layout \
|
||||
-logFile strmin.log \
|
||||
-attachTechFileOfLib sky130_fd_pr_main \
|
||||
-hierDepth 32 \
|
||||
-layerMap ./sky130_fd_pr_main.layermap \
|
||||
-case Preserve \
|
||||
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh -f
|
||||
###### This run file is generated by Pegasus UI
|
||||
###### Pegasus Version 23.10-p015
|
||||
|
||||
/grid/tfo/tools2/PEGASUS231_23.10.000/bin/pegasus \
|
||||
--dp 4 \
|
||||
--log_dir LOGS \
|
||||
-top_cell CELLNAME \
|
||||
-ui_data -interactive \
|
||||
-run_dir DRC_sky130 \
|
||||
--control ./drc_CTL.pvl \
|
||||
$PEGASUS_DRC/sky130_rev_0.0_2.11.drc.pvl
|
||||
|
||||
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
#/bin/csh -v
|
||||
step1_strmout.csh
|
||||
step2_fillgen.csh
|
||||
step3_merge.csh
|
||||
step4_strmin.csh
|
||||
step5_sky130_DRC.csh
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
# #########################################################################
|
||||
# Cadence libraries
|
||||
DEFINE basic $CDSHOME/tools/dfII/etc/cdslib/basic
|
||||
DEFINE analogLib $CDSHOME/tools/dfII/etc/cdslib/artist/analogLib
|
||||
DEFINE functional $CDSHOME/tools/dfII/etc/cdslib/artist/functional
|
||||
DEFINE sbaLib $CDSHOME/tools/dfII/etc/cdslib/artist/sbaLib
|
||||
DEFINE US_8ths $CDSHOME/tools/dfII/etc/cdslib/sheets/US_8ths
|
||||
|
||||
# #########################################################################
|
||||
# sky130 PDK library
|
||||
DEFINE sky130_fd_pr_main $PDK_HOME/libs/sky130_fd_pr_main
|
||||
|
||||
# #########################################################################
|
||||
# User libraries go here
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
text_depth -primary;
|
||||
virtual_connect -colon no;
|
||||
virtual_connect -semicolon_as_colon yes;
|
||||
virtual_connect -noname;
|
||||
virtual_connect -report no;
|
||||
virtual_connect -depth -primary;
|
||||
report_summary -drc "CELLNAME.sum" -replace;
|
||||
max_results -drc 1000;
|
||||
results_db -drc "CELLNAME.drc.ascii" -ascii;
|
||||
keep_layers -yes;
|
||||
abort_on_layout_error yes;
|
||||
layout_format oasis;
|
||||
layout_path "./CELLNAME.oas";
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Sky130 Fill Generation Routine //
|
||||
// Version 08 July 18, 2025 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
text_depth -primary;
|
||||
virtual_connect -colon no;
|
||||
virtual_connect -semicolon_as_colon yes;
|
||||
virtual_connect -noname;
|
||||
virtual_connect -report no;
|
||||
virtual_connect -depth -primary;
|
||||
report_summary -drc "fill.sum" -replace;
|
||||
max_results -drc -all;
|
||||
keep_layers -none;
|
||||
abort_on_layout_error yes;
|
||||
layout_format oasis;
|
||||
layout_path "./CELLNAME.oas";
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Output
|
||||
|
||||
// _FILL will add "_FILL" to all cells created (including the poly-fill cell)
|
||||
|
||||
results_db -drc "CELLNAME.fill.oas" -oasis _FILL ;
|
||||
|
||||
output -drc "diff_fillgen" -oasis 65 99 CELLNAME.fill.oas ;
|
||||
output -drc "poly_fillgen" -oasis 66 99 CELLNAME.fill.oas ;
|
||||
|
||||
output -drc "LI_fillgen" -oasis 67 99 CELLNAME.fill.oas ;
|
||||
output -drc "m1_fillgen" -oasis 68 99 CELLNAME.fill.oas ;
|
||||
output -drc "m2_fillgen" -oasis 69 99 CELLNAME.fill.oas ;
|
||||
output -drc "m3_fillgen" -oasis 70 99 CELLNAME.fill.oas ;
|
||||
output -drc "m4_fillgen" -oasis 71 99 CELLNAME.fill.oas ;
|
||||
output -drc "m5_fillgen" -oasis 72 99 CELLNAME.fill.oas ;
|
||||
|
||||
// This will create a holding place cell for the poly-fill cells
|
||||
// Note: the sizes should match the sizes of the poly-fill cells
|
||||
|
||||
output -drc "diff_poly_fillgen_3" -oasis 65 99 -aref poly_diff_3 3.0 2.5 CELLNAME.fill.oas ;
|
||||
output -drc "diff_poly_fillgen_10" -oasis 65 99 -aref poly_diff_10 10.0 2.5 CELLNAME.fill.oas ;
|
||||
output -drc "diff_poly_fillgen_25" -oasis 65 99 -aref poly_diff_25 25.0 2.5 CELLNAME.fill.oas ;
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
FILE CELLNAME.oas
|
||||
PRIME CELLNAME
|
||||
SNAP 0
|
||||
PLACE_MIRROR 0
|
||||
PLACE_ANGLE 0
|
||||
PLACE_MAG 1.0
|
||||
PLACE_X 0.0
|
||||
PLACE_Y 0.0
|
||||
ENDPLACES
|
||||
|
||||
FILE CELLNAME.fill_aref.oas
|
||||
PRIME CELLNAME_FILL
|
||||
SNAP 0
|
||||
PLACE_MIRROR 0
|
||||
PLACE_ANGLE 0
|
||||
PLACE_MAG 1.0
|
||||
PLACE_X 0.0
|
||||
PLACE_Y 0.0
|
||||
ENDPLACES
|
||||
|
||||
ENDFILES
|
||||
@@ -0,0 +1,43 @@
|
||||
#############################################################################
|
||||
# Sky130 Fill Generation Routine
|
||||
# Version 08 July 18, 2025
|
||||
#
|
||||
# Pegasus Design Review Control File
|
||||
#
|
||||
# this file will insert the poly_diff fill cell into the fill file
|
||||
#
|
||||
# Fill generation routine will create temporary cells containing diff fill
|
||||
# These cells must be replaced with the poly_diff fill cell
|
||||
|
||||
# CELLNAME.fill.oas - Oasis file with generated fill shapes
|
||||
# CELLNAME_FILL - top level cell name in fill Oasis file
|
||||
# REPLACE - replaces cells in 2nd column with 3rd column
|
||||
#
|
||||
# poly_diff_3_10_25.oasis - Oasis file containing the poly-diff fill cells (3)
|
||||
# poly_diff_3_FILL replaced with poly_diff_3_FILLCELL
|
||||
# poly_diff_10_FILL replaced with poly_diff_10_FILLCELL
|
||||
# poly_diff_25_FILL replaced with poly_diff_25_FILLCELL
|
||||
#
|
||||
# "CELLNAME" should be replaced with the user's top level cell name
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
FILE CELLNAME.fill.oas
|
||||
PRIME CELLNAME_FILL
|
||||
ENDPLACES
|
||||
|
||||
# Replace <cell_to_be_replaced> <cell_to_be_replace_with>
|
||||
REPLACE poly_diff_3_FILL poly_diff_3_FILLCELL
|
||||
REPLACE poly_diff_10_FILL poly_diff_10_FILLCELL
|
||||
REPLACE poly_diff_25_FILL poly_diff_25_FILLCELL
|
||||
#
|
||||
# Cell Libraries...
|
||||
#
|
||||
FILE poly_diff_3_10_25.oasis
|
||||
PRIME _NONE_
|
||||
ENDPLACES
|
||||
#
|
||||
|
||||
ENDFILES
|
||||
|
||||
#############################################################################
|
||||
BIN
Binary file not shown.
Executable
+360
@@ -0,0 +1,360 @@
|
||||
#Layer Name Layer Purpose Layer Stream Number Datatype Stream Number
|
||||
|
||||
areaid analog 81 79
|
||||
areaid core 81 2
|
||||
areaid critCorner 81 51
|
||||
areaid critSid 81 52
|
||||
areaid deadZon 81 50
|
||||
areaid dieCut 81 11
|
||||
areaid diode 81 23
|
||||
areaid esd 81 19
|
||||
areaid etest 81 101
|
||||
areaid extendedDrain 81 57
|
||||
areaid frame 81 3
|
||||
areaid frameRect 81 12
|
||||
areaid hvnwell 81 63
|
||||
areaid injection 81 17
|
||||
areaid lowTapDensity 81 14
|
||||
areaid lvNative 81 60
|
||||
areaid moduleCut 81 10
|
||||
areaid notCritSide 81 15
|
||||
areaid opcDrop 81 54
|
||||
areaid photo 81 81
|
||||
areaid rdlprobepad 81 27
|
||||
areaid rfdiode 81 125
|
||||
areaid seal 81 1
|
||||
areaid sigPadDiff 81 6
|
||||
areaid sigPadMetNtr 81 8
|
||||
areaid sigPadWell 81 7
|
||||
areaid standardc 81 4
|
||||
areaid substrateCut 81 53
|
||||
blanking drawing 124 40
|
||||
bump drawing 127 22
|
||||
capacitor drawing 82 64
|
||||
cbump mask 101 0
|
||||
cctm1 drawing 101 44
|
||||
cctm1 mask 35 0
|
||||
cctm1 maskAdd 101 43
|
||||
cctm1 maskDrop 101 42
|
||||
ccu1m mask 93 0
|
||||
cdnm drawing 110 20
|
||||
cdnm mask 48 0
|
||||
cdnm maskAdd 110 21
|
||||
cdnm maskDrop 110 22
|
||||
cfom drawing 22 20
|
||||
cfom mask 23 0
|
||||
cfom maskAdd 22 21
|
||||
cfom maskDrop 22 22
|
||||
cfom waffleDrop 22 24
|
||||
chvntm drawing 38 20
|
||||
chvntm mask 39 0
|
||||
chvntm maskAdd 38 21
|
||||
chvntm maskDrop 38 22
|
||||
chvtpm drawing 88 44
|
||||
chvtpm mask 97 0
|
||||
chvtpm maskAdd 97 43
|
||||
chvtpm maskDrop 97 42
|
||||
chvtrm drawing 98 44
|
||||
chvtrm mask 98 0
|
||||
chvtrm maskAdd 98 43
|
||||
chvtrm maskDrop 98 42
|
||||
cldntm drawing 11 20
|
||||
cldntm mask 11 0
|
||||
cli1m drawing 115 44
|
||||
cli1m mask 56 0
|
||||
cli1m maskAdd 115 43
|
||||
cli1m maskDrop 115 42
|
||||
clicm1 drawing 106 44
|
||||
clicm1 mask 43 0
|
||||
clicm1 maskAdd 106 43
|
||||
clicm1 maskDrop 106 42
|
||||
clvom drawing 45 20
|
||||
clvom mask 46 0
|
||||
clvom maskAdd 45 21
|
||||
clvom maskDrop 45 22
|
||||
clvtnm drawing 25 44
|
||||
clvtnm mask 25 0
|
||||
clvtnm maskAdd 25 43
|
||||
clvtnm maskDrop 25 42
|
||||
cmm1 drawing 62 20
|
||||
cmm1 mask 36 0
|
||||
cmm1 maskAdd 62 21
|
||||
cmm1 maskDrop 62 22
|
||||
cmm1 waffleDrop 62 24
|
||||
cmm2 drawing 105 44
|
||||
cmm2 mask 41 0
|
||||
cmm2 maskAdd 105 43
|
||||
cmm2 maskDrop 105 42
|
||||
cmm2 waffleDrop 105 52
|
||||
cmm3 drawing 107 20
|
||||
cmm3 mask 34 0
|
||||
cmm3 maskAdd 107 21
|
||||
cmm3 maskDrop 107 22
|
||||
cmm3 waffleDrop 107 24
|
||||
cmm4 mask 51 0
|
||||
cmm4 maskAdd 112 43
|
||||
cmm4 maskDrop 112 42
|
||||
cmm4 waffleDrop 112 4
|
||||
cmm5 mask 59 0
|
||||
cmm5 waffleDrop 117 4
|
||||
cncm drawing 96 44
|
||||
cncm mask 17 0
|
||||
cnpc drawing 44 20
|
||||
cnpc mask 49 0
|
||||
cnpc maskAdd 44 43
|
||||
cnpc maskDrop 44 42
|
||||
cnsdm drawing 29 20
|
||||
cnsdm mask 30 0
|
||||
cnsdm maskAdd 29 21
|
||||
cnsdm maskDrop 29 22
|
||||
cnsm mask 22 0
|
||||
cntm drawing 26 20
|
||||
cntm mask 27 0
|
||||
cntm maskAdd 26 21
|
||||
cntm maskDrop 26 22
|
||||
cnwm drawing 109 44
|
||||
cnwm mask 21 0
|
||||
cnwm maskAdd 109 43
|
||||
cnwm maskDrop 109 42
|
||||
conom drawing 87 44
|
||||
conom mask 88 0
|
||||
conom maskAdd 87 43
|
||||
conom maskDrop 87 42
|
||||
cp1m drawing 33 44
|
||||
cp1m mask 28 0
|
||||
cp1m maskAdd 33 43
|
||||
cp1m maskDrop 33 42
|
||||
cp1m waffleDrop 33 24
|
||||
cpbo mask 99 0
|
||||
cpdm drawing 104 44
|
||||
cpdm mask 37 0
|
||||
cpdm maskAdd 104 43
|
||||
cpdm maskDrop 104 42
|
||||
cpmm drawing 91 44
|
||||
cpmm2 mask 94 0
|
||||
cpsdm drawing 31 20
|
||||
cpsdm mask 32 0
|
||||
cpsdm maskAdd 31 21
|
||||
cpsdm maskDrop 31 22
|
||||
crpm drawing 53 44
|
||||
crpm mask 96 0
|
||||
crpm maskAdd 53 43
|
||||
crpm maskDrop 53 42
|
||||
#crrpm mask 102 0
|
||||
ctunm drawing 96 20
|
||||
ctunm mask 20 0
|
||||
ctunm maskAdd 96 21
|
||||
ctunm maskDrop 96 22
|
||||
cubm mask 100 0
|
||||
cviam drawing 105 20
|
||||
cviam mask 40 0
|
||||
cviam maskAdd 105 21
|
||||
cviam maskDrop 105 22
|
||||
cviam2 drawing 108 20
|
||||
cviam2 mask 44 0
|
||||
cviam2 maskAdd 108 21
|
||||
cviam2 maskDrop 108 22
|
||||
cviam3 drawing 112 20
|
||||
cviam3 mask 50 0
|
||||
cviam3 maskAdd 112 21
|
||||
cviam3 maskDrop 112 22
|
||||
cviam4 drawing 117 20
|
||||
cviam4 mask 58 0
|
||||
cviam4 maskAdd 117 21
|
||||
cviam4 maskDrop 117 22
|
||||
diff boundary 65 4
|
||||
diff cut 65 14
|
||||
diff drawing 65 20
|
||||
diff hv 65 8
|
||||
diff label 65 6
|
||||
diff net 65 23
|
||||
diff pin 65 16
|
||||
diff res 65 13
|
||||
diff fill 65 99
|
||||
diff fill_block 65 98
|
||||
dnwell drawing 64 18
|
||||
fom dummy 22 23
|
||||
hvi drawing 75 20
|
||||
hvntm drawing 125 20
|
||||
hvtp drawing 78 44
|
||||
hvtr drawing 18 20
|
||||
inductor drawing 82 24
|
||||
inductor label 82 25
|
||||
inductor term1 82 26
|
||||
inductor term2 82 27
|
||||
inductor term3 82 28
|
||||
ldntm drawing 11 44
|
||||
li1 blockage 67 10
|
||||
li1 boundary 67 4
|
||||
li1 cut 67 14
|
||||
li1 drawing 67 20
|
||||
li1 label 67 5
|
||||
li1 net 67 23
|
||||
li1 pin 67 16
|
||||
li1 probe 67 25
|
||||
li1 res 67 13
|
||||
li1 short 67 15
|
||||
li1 fill 67 99
|
||||
li1 fill_block 67 98
|
||||
licon1 boundary 66 60
|
||||
licon1 drawing 66 44
|
||||
licon1 net 66 41
|
||||
licon1 pin 66 58
|
||||
lvtn drawing 125 44
|
||||
marker error 83 6
|
||||
marker warning 83 7
|
||||
mcon boundary 67 60
|
||||
mcon drawing 67 44
|
||||
mcon net 67 41
|
||||
mcon pin 67 48
|
||||
met1 blockage 68 10
|
||||
met1 boundary 68 4
|
||||
met1 cut 68 14
|
||||
met1 drawing 68 20
|
||||
met1 label 68 5
|
||||
met1 net 68 23
|
||||
met1 pin 68 16
|
||||
met1 probe 68 25
|
||||
met1 res 68 13
|
||||
met1 short 68 15
|
||||
met1 fill 68 99
|
||||
met1 fill_block 68 98
|
||||
met2 blockage 69 10
|
||||
met2 boundary 69 4
|
||||
met2 cut 69 14
|
||||
met2 drawing 69 20
|
||||
met2 label 69 5
|
||||
met2 net 69 23
|
||||
met2 pin 69 16
|
||||
met2 probe 69 25
|
||||
met2 res 69 13
|
||||
met2 short 69 15
|
||||
met2 fill 69 99
|
||||
met2 fill_block 69 98
|
||||
met3 blockage 70 10
|
||||
met3 boundary 70 4
|
||||
met3 cut 70 14
|
||||
met3 drawing 70 20
|
||||
met3 fuse 70 17
|
||||
met3 label 70 5
|
||||
met3 net 70 23
|
||||
met3 pin 70 16
|
||||
met3 probe 70 25
|
||||
met3 res 70 13
|
||||
met3 short 70 15
|
||||
met3 fill 70 99
|
||||
met3 fill_block 70 98
|
||||
met4 blockage 71 10
|
||||
met4 boundary 71 4
|
||||
met4 cut 71 14
|
||||
met4 drawing 71 20
|
||||
met4 fuse 71 17
|
||||
met4 label 71 5
|
||||
met4 net 71 23
|
||||
met4 pin 71 16
|
||||
met4 probe 71 25
|
||||
met4 res 71 13
|
||||
met4 short 71 15
|
||||
met4 fill 71 99
|
||||
met4 fill_block 71 98
|
||||
met5 blockage 72 10
|
||||
met5 boundary 72 4
|
||||
met5 cut 72 14
|
||||
met5 drawing 72 20
|
||||
met5 fuse 72 17
|
||||
met5 label 72 5
|
||||
met5 net 72 23
|
||||
met5 pin 72 16
|
||||
met5 probe 72 25
|
||||
met5 res 72 13
|
||||
met5 short 72 15
|
||||
met5 fill 72 99
|
||||
met5 fill_block 72 98
|
||||
ncm drawing 92 44
|
||||
npc drawing 95 20
|
||||
npn drawing 82 20
|
||||
npn label 82 5
|
||||
nsdm drawing 93 44
|
||||
nsm drawing 61 20
|
||||
nwell drawing 64 20
|
||||
nwell label 64 5
|
||||
nwell net 84 23
|
||||
nwell pin 64 16
|
||||
overlap boundary 90 4
|
||||
overlap drawing 90 20
|
||||
pad drawing 76 20
|
||||
pad label 76 5
|
||||
pad pin 76 16
|
||||
padCenter drawing 81 20
|
||||
pmm drawing 85 44
|
||||
pmm2 drawing 77 20
|
||||
pnp drawing 82 44
|
||||
pnp label 82 59
|
||||
poly boundary 66 4
|
||||
poly cut 66 14
|
||||
poly drawing 66 20
|
||||
poly gate 66 9
|
||||
poly label 66 5
|
||||
poly model 66 83
|
||||
poly net 66 23
|
||||
poly pin 66 16
|
||||
poly probe 66 25
|
||||
poly res 66 13
|
||||
poly short 66 15
|
||||
poly fill 66 99
|
||||
poly fill_block 66 98
|
||||
prBoundary boundary 235 4
|
||||
prBoundary drawing 235 0
|
||||
prune drawing 84 44
|
||||
psdm drawing 94 20
|
||||
pwell cut 64 14
|
||||
pwell drawing 64 44
|
||||
pwell label 64 59
|
||||
pwell pin 122 16
|
||||
pwell res 64 13
|
||||
pwelliso label 44 5
|
||||
pwelliso pin 44 16
|
||||
rdl cut 74 14
|
||||
rdl drawing 74 20
|
||||
rdl label 74 5
|
||||
rdl pin 74 16
|
||||
rdl res 74 13
|
||||
rdl short 74 15
|
||||
rpm drawing 86 20
|
||||
urpm drawing 79 20
|
||||
#rrpm drawing 102 20
|
||||
tap boundary 65 60
|
||||
tap drawing 65 44
|
||||
tap label 65 5
|
||||
tap net 65 41
|
||||
tap pin 65 48
|
||||
target drawing 76 44
|
||||
text drawing 83 44
|
||||
tunm drawing 80 20
|
||||
ubm drawing 127 21
|
||||
vhvi drawing 74 21
|
||||
via boundary 68 60
|
||||
via drawing 68 44
|
||||
via net 68 41
|
||||
via pin 68 58
|
||||
via2 boundary 69 60
|
||||
via2 drawing 69 44
|
||||
via2 net 69 41
|
||||
via2 pin 69 58
|
||||
via3 boundary 70 60
|
||||
via3 drawing 70 44
|
||||
via3 net 70 41
|
||||
via3 pin 70 48
|
||||
via4 boundary 71 60
|
||||
via4 drawing 71 44
|
||||
via4 net 71 41
|
||||
via4 pin 71 48
|
||||
|
||||
areaid extendedDrain20V 81 58
|
||||
uhvi drawing 74 22
|
||||
areaid lvt 81 108
|
||||
pwbm drawing 19 44
|
||||
capm drawing 89 44
|
||||
cap2m drawing 97 44
|
||||
r1c drawing 201 20
|
||||
areaid fillwindow 81 13
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/csh -vf
|
||||
|
||||
oasisout \
|
||||
-library MYLIBRARY \
|
||||
-oasisFile CELLNAME.oas \
|
||||
-topCell CELLNAME \
|
||||
-view layout \
|
||||
-logFile oasisout.log \
|
||||
-techLib sky130_fd_pr_main \
|
||||
-hierDepth 32 \
|
||||
-layerMap ./sky130_fd_pr_main.layermap \
|
||||
-labelDepth 32 \
|
||||
-case Preserve
|
||||
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh -f
|
||||
###### This run file is generated by Pegasus UI
|
||||
###### Pegasus Version 23.10-p015
|
||||
|
||||
## Version 08 July 18, 2025 //
|
||||
|
||||
pegasus \
|
||||
--dp 4 \
|
||||
--log_dir LOGS \
|
||||
-top_cell CELLNAME \
|
||||
-ui_data \
|
||||
--control ./fill_CTL.pvl \
|
||||
-interactive \
|
||||
./fillgen.v08.pvl
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/csh -vf
|
||||
|
||||
pegasusDesignReview -batch dbmerge pdr_CTL_aref CELLNAME.fill_aref.oas
|
||||
|
||||
pegasusDesignReview -batch dbmerge pdr_CTL CELLNAME.wFill.oas
|
||||
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/csh -vf
|
||||
|
||||
oasisin \
|
||||
-library CELLNAME_wFill \
|
||||
-oasisFile CELLNAME.wFill.oas \
|
||||
-topCell CELLNAME \
|
||||
-view layout \
|
||||
-logFile oasisin.log \
|
||||
-attachTechFileOfLib sky130_fd_pr_main \
|
||||
-hierDepth 32 \
|
||||
-maxCellsInTargetLib 99999 \
|
||||
-layerMap ./sky130_fd_pr_main.layermap \
|
||||
-case Preserve \
|
||||
|
||||
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh -f
|
||||
###### This run file is generated by Pegasus UI
|
||||
###### Pegasus Version 23.10-p015
|
||||
|
||||
/grid/tfo/tools2/PEGASUS231_23.10.000/bin/pegasus \
|
||||
--dp 16 \
|
||||
--log_dir LOGS \
|
||||
-top_cell CELLNAME \
|
||||
-ui_data -interactive \
|
||||
-run_dir DRC_sky130 \
|
||||
--control ./drc_CTL.pvl \
|
||||
$PEGASUS_DRC/sky130_rev_0.0_2.11.drc.pvl
|
||||
|
||||
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
#/bin/csh -v
|
||||
step1_oasisout.csh
|
||||
step2_fillgen.csh
|
||||
step3_merge.csh
|
||||
step4_oasisin.csh
|
||||
step5_sky130_DRC.csh
|
||||
|
||||
@@ -0,0 +1,104 @@
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Sky130 Fill Generation Routine //
|
||||
// Version 08 July 22, 2025 //
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
Fill Generation and Insertion
|
||||
|
||||
** This file is for the Oasis flow (all input, output files in Oasis format) **
|
||||
** The steps for the GDS flow are similar **
|
||||
** Note that the GDS with fill cells is called: poly_diff_3_10_25.gds.gz **
|
||||
|
||||
** Oasis flow is recommended as the file sizes will be smaller **
|
||||
** If pegasusDesignReview is used, oasis file size of the final output **
|
||||
** might be smaller than expected due to hierarchy optimiaztion **
|
||||
|
||||
OVERVIEW:
|
||||
|
||||
This directory contains a "beta" fill generation routine and control scripts.
|
||||
|
||||
Flow:
|
||||
[1] Export oasis file of top level design from Virtuoso
|
||||
[2] Run fill generation routine; creates separate Oasis file
|
||||
[3a] Insert poly-diff fill cells into fill file from [2]; creates new Oasis file
|
||||
[3b] Insert fill file from [3a] into top level design; creates new Oasis file
|
||||
[4] Import design Oasis file with fill from [3b] into Virtuoso
|
||||
[5] Run SKY130 DRC
|
||||
|
||||
** 3 poly-diff fill cells are used since poly fill and diff fill cannot overlap. **
|
||||
|
||||
Steps 3a & 3b require the use of Pegasus Design Review.
|
||||
User can instead import the Oasis files into their layout tool for insertion.
|
||||
|
||||
USAGE:
|
||||
|
||||
[1] ENV Variables
|
||||
|
||||
User should have the following ENV variables set appropriately:
|
||||
|
||||
setenv PDK_HOME /projects/SkyWater/sky130_release_0.0.9
|
||||
setenv PEGASUS_DRC /projects/SkyWater/Sky130_DRC_rev_0.0_2.11
|
||||
|
||||
[2] Libraries
|
||||
|
||||
cds.lib must be updated to point to user's design libraries.
|
||||
|
||||
[3] Poly & diff fill cell
|
||||
|
||||
The fill cell oasis file must be present in this directory:
|
||||
|
||||
poly_diff_3_10_25.oasis
|
||||
|
||||
[4} Fill generation Pegasus routine
|
||||
|
||||
The file "fillgen.pvl" must be copied to this directory
|
||||
|
||||
[5] Executable Files
|
||||
|
||||
step1_oasisout.csh - makes top level design Oasis file: CELLNAME.oasis
|
||||
step2_fillgen.csh - makes fill Oasis file: CELLNAME.fill.oasis
|
||||
step3_merge.csh - merges fill cell & fill data into top level:
|
||||
3a: Inserts poly_diff FILLCELLs into fill, outputs: CELLNAME.fill_aref.oas
|
||||
3b: Inserts fill data into top level, outputs: CELLNAME.wFill.oas
|
||||
step4_oasisin.csh - makes Virtuoso library (user controlled library name)
|
||||
step5_sky130_DRC.csh - runs sky130 DRC on resulting filled data
|
||||
|
||||
NOTE: v08 uses 3 different fill cells:
|
||||
poly_diff_3_FILLCELL
|
||||
poly_diff_10_FILLCELL
|
||||
poly_diff_25_FILLCELL
|
||||
|
||||
[6] Control Files
|
||||
|
||||
step 2: fill_CTL.pvl
|
||||
step 3a: pdr_CTL_aref
|
||||
step 3b: pdr_CTL
|
||||
step 5: drc_CTL.pvl
|
||||
|
||||
[7] Edits
|
||||
|
||||
** In all executable and control files, the following changes must be made: **
|
||||
|
||||
MYLIBRARY -> user's Virtuoso library containing layout to fill
|
||||
CELLNAME -> user's top level layout cell name to fill
|
||||
|
||||
In "step1_oasisout.csh"
|
||||
"-libary" option must be updated
|
||||
"-layerMap" option must be updated
|
||||
|
||||
In "step4_oasisin.csh"
|
||||
"-library" option can be changed as desired
|
||||
"-layerMap" option must be updated
|
||||
|
||||
In "step5_run_sky130_DRC.csh" the "-run_dir" option can be changed as desired.
|
||||
|
||||
[8] Outputs
|
||||
|
||||
CELLNAME.oas - top level Oasis file, created by step 1
|
||||
CELLNAME.fill.oas - fill (only) Oasis file, created by step 2
|
||||
CELLNAME.fill_aref.oas - fill (only) file, with poly-fill cell inserted
|
||||
CELLNAME.wFill.oas - top level Oasis file, with fill inserted !!
|
||||
|
||||
step 4 will create the Virtuoso library locally
|
||||
step 5 will create the DRC run directory locally
|
||||
|
||||
Executable
BIN
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,52 @@
|
||||
********************************************************************************
|
||||
// Sky130 Open Source LVS README
|
||||
// Version 0.0_1.1 Tue Jul 23 10:40:09 PDT 2025
|
||||
********************************************************************************
|
||||
The following CDF changes are needed for proper LVS device matching
|
||||
sky130_fd_pr_main PDK library
|
||||
********************************************************************************
|
||||
Cap devices:
|
||||
|
||||
All VPP caps:
|
||||
CDF "auCdl" - namePrefix must be "X"
|
||||
|
||||
Some VPP caps need "top" pin added to the layout view.
|
||||
|
||||
All VPP cap edits (CDF and layouts) can be found in "cap_vpp_fixes.tar" file --
|
||||
un-tar inside the directory of the PDK library: sky130_release_0.0.#/libs/sky130_fd_pr_main
|
||||
********************************************************************************
|
||||
Diode devices:
|
||||
|
||||
Diodes netlist this way (0.36 is the area, 2.4 is the perimeter)
|
||||
|
||||
DD0 net044 net045 diode_pd2nw_05v5 0.36 2.4 m=1
|
||||
|
||||
changed CDF "auCdl" netlistProcedure:
|
||||
from: ansCdlCompPrim
|
||||
to: ansCdlSubcktCallExtended
|
||||
|
||||
** componentName should be empty **
|
||||
|
||||
********************************************************************************
|
||||
BJT devices:
|
||||
|
||||
changed CDF "auCdl" netlistProcedure:
|
||||
from: ansCdlCompPrim
|
||||
to: ansCdlSubcktCallExtended
|
||||
|
||||
Other CDF changes:
|
||||
"modelName" should much the cellName (such as: npn_05v5)
|
||||
componentName should be empty
|
||||
|
||||
********************************************************************************
|
||||
HVmos devices:
|
||||
|
||||
All 3 HVmos devices (nfet_20v0, nfet_20v0_zvt, pfet_20v0)
|
||||
|
||||
changed CDF "auCdl" netlistProcedure:
|
||||
from: ansCdlCompPrim
|
||||
to: ansCdlSubcktCallExtended
|
||||
|
||||
added "nf" to CDL parameters
|
||||
********************************************************************************
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,100 @@
|
||||
************************************************************************
|
||||
* auCdl Netlist
|
||||
************************************************************************
|
||||
.OPTION SCALE=1
|
||||
|
||||
.SUBCKT pad_bond pin0
|
||||
.ENDS
|
||||
|
||||
.SUBCKT pad_microprobe pin0
|
||||
.ENDS
|
||||
|
||||
.SUBCKT pad_probe pin0
|
||||
.ENDS
|
||||
|
||||
.SUBCKT nmos_de_iso_v20 drn gate src b sub
|
||||
.ENDS nmos_de_iso_v20
|
||||
|
||||
.SUBCKT npn_11v0 C B E BN
|
||||
.ENDS npn_11v0
|
||||
|
||||
.SUBCKT npn_05v5 C B E BN
|
||||
.ENDS npn_05v5
|
||||
|
||||
.SUBCKT pnp_05v5 C B E BN
|
||||
.ENDS pnp_05v5
|
||||
|
||||
*************
|
||||
.SUBCKT cap_vpp_02p4x04p6_m1m2_noshield c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_02p7x06p1_m1m2m3m4_shieldl1_fingercap c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_02p7x11p1_m1m2m3m4_shieldl1_fingercap c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_02p7x21p1_m1m2m3m4_shieldl1_fingercap c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_02p7x41p1_m1m2m3m4_shieldl1_fingercap c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_02p9x06p1_m1m2m3m4_shieldl1_fingercap2 c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_04p4x04p6_l1m1m2_noshield c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_04p4x04p6_l1m1m2_shieldpo_floatm3 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_04p4x04p6_m1m2_noshield c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_04p4x04p6_m1m2_noshield_o2 c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_04p4x04p6_m1m2_shieldl1 c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_04p4x04p6_m1m2m3_shieldl1 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_04p4x04p6_m1m2m3_shieldl1m5_floatm4 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_05p9x05p9_m1m2m3m4_shieldl1_wafflecap c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_06p8x06p1_l1m1m2m3_shieldpom4 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_06p8x06p1_m1m2m3_shieldl1m4 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_08p6x07p8_l1m1m2_noshield c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_08p6x07p8_l1m1m2_shieldpo_floatm3 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_08p6x07p8_m1m2_noshield c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_08p6x07p8_m1m2_shieldl1 c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_08p6x07p8_m1m2m3_shieldl1 c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_08p6x07p8_m1m2m3_shieldl1m5_floatm4 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p3x11p3_m1m2m3m4_shieldl1_wafflecap c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_l1m1m2_noshield c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_l1m1m2_shieldpom3 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_l1m1m2m3_shieldm4 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_l1m1m2m3_shieldpom4 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_l1m1m2m3m4_shieldm5 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_l1m1m2m3m4_shieldpom5 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_m1m2_noshield c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_m1m2_shieldl1 c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_m1m2m3_shieldl1 c0 c1 b
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_m1m2m3_shieldl1m5_floatm4 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_m1m2m3m4_shieldl1m5 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_m1m2m3m4_shieldm5 c0 c1 b top
|
||||
.ENDS
|
||||
.SUBCKT cap_vpp_11p5x11p7_m1m4_noshield c0 c1 b
|
||||
.ENDS
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
DEFINE analogLib $CDSHOME/tools/dfII/etc/cdslib/artist/analogLib
|
||||
DEFINE basic $CDSHOME/tools/dfII/etc/cdslib/basic
|
||||
DEFINE sky130_fd_pr_main ./libs/sky130_fd_pr_main
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
* Copyright 2020 The SkyWater PDK Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
|
||||
* SKY130 Spice File.
|
||||
.subckt cap_mim_m3_1 c0 c1 w=1 l=1 mf=1
|
||||
.param wc = '(w+m3_dw)*1e6+tol_m3*1e6'
|
||||
.param lc = '(l+m3_dw)*1e6+tol_m3*1e6'
|
||||
.param via3_spacing = '(0.17+0.25+0.140)*(0.17+0.25+0.140)'
|
||||
.param num_contacts = '(wc*lc/via3_spacing)'
|
||||
.param r1 = 'rm3*(lc)/(wc)'
|
||||
.param r2 = 'rcvia3/num_contacts'
|
||||
.param carea = 'camimc*(wc)*(lc)'
|
||||
.param cperim = 'cpmimc*((wc)+(lc))*2'
|
||||
.param czero = 'carea + cperim' dev/gauss='0.01*2.8*(carea + cperim)/sqrt(wc*lc*mf)'
|
||||
c1 c0 a 'czero' tc1 = 0 tc2 = 0.0
|
||||
rs1 a b1 'r1' tc1 = 'tc1rm3' tc2 = 'tc2rm3'
|
||||
rs2 b1 c1 'r2' tc1 = 'tc1rvia3' tc2 = 'tc2rvia3'
|
||||
.ends cap_mim_m3_1
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
* Copyright 2020 The SkyWater PDK Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
|
||||
* SKY130 Spice File.
|
||||
.subckt cap_mim_m3_2 c0 c1 w=1 l=1 mf=1
|
||||
.param wc = '(w+m4_dw)*1e6+tol_m4*1e6'
|
||||
.param lc = '(l+m4_dw)*1e6+tol_m4*1e6'
|
||||
.param via4_spacing = '(0.28+0.31+0.140)*(0.28+0.31+0.140)'
|
||||
.param num_contacts = '(wc*lc/via4_spacing)'
|
||||
.param r1 = 'rm4*(lc)/(wc)'
|
||||
.param r2 = 'rcvia4/num_contacts'
|
||||
.param carea = 'camimc*(wc)*(lc)'
|
||||
.param cperim = 'cpmimc*((wc)+(lc))*2'
|
||||
.param czero = 'carea + cperim' dev/gauss='0.01*2.8*(carea + cperim)/sqrt(wc*lc*mf)'
|
||||
c1 c0 a 'czero' tc1 = 0 tc2 = 0.0
|
||||
rs1 a b1 'r1' tc1 = 'tc1rm4' tc2 = 'tc2rm4'
|
||||
rs2 b1 c1 'r2' tc1 = 'tc1rvia4' tc2 = 'tc2rvia4'
|
||||
.ends cap_mim_m3_2
|
||||
+113
@@ -0,0 +1,113 @@
|
||||
* Copyright 2020 The SkyWater PDK Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
|
||||
* SKY130 Spice File.
|
||||
.subckt sky130_fd_pr__cap_var_hvt c0 c1 b w=5 l=0.5 vm=1
|
||||
+ wc='w*1' lc='l*1'
|
||||
* Corner Parameters
|
||||
*.param cnwvc2_tox=41.7642
|
||||
*.param cnwvc2_cdepmult=1
|
||||
*.param cnwvc2_cintmult=1
|
||||
*.param cnwvc2_vt1=0.2
|
||||
*.param cnwvc2_vt2=0.33
|
||||
*.param cnwvc2_vtr=0.14
|
||||
*.param cnwvc2_dwc=0.0
|
||||
*.param cnwvc2_dlc=0.0
|
||||
*.param cnwvc2_dld=0.0
|
||||
* Geometry Parameters
|
||||
.param
|
||||
+ cnwvc_ldiff=0.15
|
||||
+ wd='wc+2*cnwvc2_dwc'
|
||||
+ ld='lc+2*cnwvc2_dlc'
|
||||
+ ldd='0.015+2*cnwvc2_dld'
|
||||
+ dwr=0.00
|
||||
+ dwp=0.0
|
||||
+ dlr=0.03
|
||||
+ wl='(wd-2*dwr)/(ld-2*dlr)'
|
||||
+ wlwdiff='((0.5*(ld-2*dlr))+cnwvc_ldiff)/(2*(wd-2*dwr))'
|
||||
* Mismatch Parameters
|
||||
+ sky130_fd_pr__cap_var_hvt__cmin_slope_l=2.4e-16
|
||||
+ sky130_fd_pr__cap_var_hvt__cmin_slope_w=1.0e-16
|
||||
+ sky130_fd_pr__cap_var_hvt__cmin_slope_wl=4.0e-16
|
||||
+ sky130_fd_pr__cap_var_hvt__cmax_slope_l=3.0e-16
|
||||
+ sky130_fd_pr__cap_var_hvt__cmax_slope_w=7.0e-16
|
||||
+ sky130_fd_pr__cap_var_hvt__cmax_slope_wl=1.0e-15
|
||||
* Capacitance Model Parameters
|
||||
.param cnwvc_slope1=0.15
|
||||
.param cnwvc_slope2=0.35
|
||||
.param
|
||||
+ cm0='5.828e-16*cnwvc2_cintmult'
|
||||
+ cm1=4.596e-16 dev/gauss='sky130_fd_pr__cap_var_hvt__cmin_slope_l/sqrt(2*ld*vm)'
|
||||
+ cm2=1.614e-16 dev/gauss='sky130_fd_pr__cap_var_hvt__cmin_slope_w/sqrt(2*wd*vm)'
|
||||
+ cm3='1.541e-15*cnwvc2_cdepmult' dev/gauss='sky130_fd_pr__cap_var_hvt__cmin_slope_wl*cnwvc2_cdepmult/sqrt(2*ld*wd*vm)'
|
||||
+ cx0=6.778e-16
|
||||
+ cx1=6.461e-16 dev/gauss='sky130_fd_pr__cap_var_hvt__cmax_slope_l/sqrt(2*ld*vm)'
|
||||
+ cx2=1.517e-16 dev/gauss='sky130_fd_pr__cap_var_hvt__cmax_slope_w/sqrt(2*wd*vm)'
|
||||
+ cx3='8.854e-14*3.9/cnwvc2_tox' dev/gauss='sky130_fd_pr__cap_var_hvt__cmax_slope_wl/sqrt(2*ld*wd*vm)'
|
||||
+ sky130_fd_pr__cap_var_hvt__vgs_min_1 = '-2.071'
|
||||
+ sky130_fd_pr__cap_var_hvt__vgs_max_1 = '-1*-2.071'
|
||||
+ sky130_fd_pr__cap_var_hvt__tmax_vgs_1 = '100.001n'
|
||||
+ sky130_fd_pr__cap_var_hvt__vgs_min_2 = '-2.161'
|
||||
+ sky130_fd_pr__cap_var_hvt__vgs_max_2 = '-1*-2.161'
|
||||
+ sky130_fd_pr__cap_var_hvt__tmax_vgs_2 = '20.001n'
|
||||
+ sky130_fd_pr__cap_var_hvt__vgs_min = '-2.301'
|
||||
+ sky130_fd_pr__cap_var_hvt__vgs_max = '-1*-2.301'
|
||||
* .SETSOA LABEL="MODEL_OOB_VG_1: sky130_fd_pr__cap_var_hvt Vg for Varactor" E v(c0, c1) =(sky130_fd_pr__cap_var_hvt__vgs_min_1, sky130_fd_pr__cap_var_hvt__vgs_max_1, sky130_fd_pr__cap_var_hvt__tmax_vgs_1 )
|
||||
* .SETSOA LABEL="MODEL_OOB_VG_2: sky130_fd_pr__cap_var_hvt Vg for Varactor" E v(c0, c1) =(sky130_fd_pr__cap_var_hvt__vgs_min_2, sky130_fd_pr__cap_var_hvt__vgs_max_2, sky130_fd_pr__cap_var_hvt__tmax_vgs_2 )
|
||||
* .SETSOA LABEL="MODEL_OOB_VG: sky130_fd_pr__cap_var_hvt Vg for Varactor" E v(c0, c1) =(sky130_fd_pr__cap_var_hvt__vgs_min, sky130_fd_pr__cap_var_hvt__vgs_max )
|
||||
.param
|
||||
+ tref=30.0
|
||||
+ cmin='cm0+cm1*ld+cm2*wd+cm3*wd*(ld-ldd)+cx3*wd*ldd'
|
||||
+ cmax='cx0+cx1*ld+cx2*wd+cx3*wd*ld'
|
||||
+ slope_0=1.808e-17
|
||||
+ slope_0_tc1=7.2181e-20
|
||||
+ slope_0_tc2=-1.9745e-21
|
||||
+ cmin_slope_0='slope_0+(temper-tref)*slope_0_tc1+(temper-tref)*(temper-tref)*slope_0_tc2'
|
||||
+ slope_w=-3.169e-17
|
||||
+ slope_w_tc1=-1.4465e-19
|
||||
+ slope_w_tc2=3.5187e-21
|
||||
+ cmin_slope_w='slope_w+(temper-tref)*slope_w_tc1+(temper-tref)*(temper-tref)*slope_w_tc2'
|
||||
+ slope_l=-7.435e-17
|
||||
+ slope_l_tc1=-4.4474e-19
|
||||
+ slope_l_tc2=7.3824e-21
|
||||
+ cmin_slope_l='slope_l+(temper-tref)*slope_l_tc1+(temper-tref)*(temper-tref)*slope_l_tc2'
|
||||
+ slope_wl=2.509e-16
|
||||
+ slope_wl_tc1=-1.0793e-18
|
||||
+ slope_wl_tc2=-2.2625e-20
|
||||
+ cmin_slope_wl='slope_wl+(temper-tref)*slope_wl_tc1+(temper-tref)*(temper-tref)*slope_wl_tc2'
|
||||
+ cmin_slope='cmin_slope_0+cmin_slope_w*wd+cmin_slope_l*ld+cmin_slope_wl*wd*ld'
|
||||
cg c0 p2 q='cmin*vm*(v(c0)-v(p2))+0.5*cmin_slope*vm*min((v(c0)-v(p2)+0.8),0)*min((v(c0)-v(p2)+0.8),0)+((0.5*(cmax+cmin)-cmin)*(v(c0)-v(p2))+0.5*(cmax-cmin)*(1/1.9)*(cnwvc_slope1*log(cosh((v(c0)-v(p2)-cnwvc2_vt1)/cnwvc_slope1))+0.9*cnwvc_slope2*log(cosh((v(c0)-v(p2)-cnwvc2_vt2)/cnwvc_slope2))))*vm'
|
||||
c3 c0 b c='0.15e-15'
|
||||
c4 c1 b c='0.15e-15'
|
||||
* Resistance Model Parameters
|
||||
.param con_sp=0.17
|
||||
.param cnwvc_k=12
|
||||
.param cnwvc_n1=0.2
|
||||
.param cnwvc_n2=0.35
|
||||
.param apoly=1.1
|
||||
.param apolyc=1.1
|
||||
.param acon=1
|
||||
.param anwell=1
|
||||
.param bnwell=0.5
|
||||
.param cnwell=0.3
|
||||
.param n_pocon='max((lc-0.14)/(2*con_sp),1)'
|
||||
.param n_con='(wc-2*0.06+con_sp)/(2*con_sp)'
|
||||
.param rg_tc1=9.611e-4
|
||||
.param rg_tc2=5.523e-6
|
||||
.param rg_tcmult='1+(temper-tref)*rg_tc1+(temper-tref)*(temper-tref)*rg_tc2'
|
||||
.param cnwvc_a='apoly*rp1*wl/cnwvc_k+apolyc*rcp1/n_pocon+acon*rcn/n_con+anwell*rnw*wlwdiff'
|
||||
.param cnwvc_b1='bnwell*rnw*cnwvc_ldiff/(2*(wd-2*dwr))'
|
||||
.param cnwvc_c='cnwell*rnw*cnwvc_ldiff/(2*(wd-2*dwp))'
|
||||
rg p2 c1 r='(cnwvc_a+cnwvc_b1*(0.5*tanh((v(c0)-v(p2)-cnwvc2_vtr)/cnwvc_n1)+0.5)+20*cnwvc_c*(0.5*tanh((v(c0)-v(p2)-cnwvc2_vtr)/cnwvc_n1)+0.5)*exp(-abs((v(c0)-v(p2)-cnwvc2_vtr)/cnwvc_n2)))/vm*rg_tcmult'
|
||||
.ends sky130_fd_pr__cap_var_hvt
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
* Copyright 2020 The SkyWater PDK Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
|
||||
* SKY130 Spice File.
|
||||
.subckt sky130_fd_pr__cap_var_lvt c0 c1 b w=5 l=0.5 vm=1
|
||||
+ wc='w*1' lc='l*1'
|
||||
* Corner Parameters
|
||||
*.param cnwvc_tox=41.6503
|
||||
*.param cnwvc_cdepmult=1
|
||||
*.param cnwvc_cintmult=1
|
||||
*.param cnwvc_vt1=0.3333
|
||||
*.param cnwvc_vt2=0.2380952
|
||||
*.param cnwvc_vtr=0.16
|
||||
*.param cnwvc_dwc=0.0
|
||||
*.param cnwvc_dlc=0.0
|
||||
*.param cnwvc_dld=0.0
|
||||
* Geometry Parameters
|
||||
.param
|
||||
+ cnwvc_ldiff=0.15
|
||||
+ wd='wc+2*cnwvc_dwc'
|
||||
+ ld='lc+2*cnwvc_dlc'
|
||||
+ ldd='0.018+2*cnwvc_dld'
|
||||
+ dwr=-0.02
|
||||
+ dwp=-0.5
|
||||
+ dlr=0.02
|
||||
+ wl='(wd-2*dwr)/(ld-2*dlr)'
|
||||
+ wlwdiff='((0.5*(ld-2*dlr))+cnwvc_ldiff)/(2*(wd-2*dwr))'
|
||||
* Mismatch Parameters
|
||||
+ sky130_fd_pr__cap_var_lvt__cmin_slope_l=1.1e-16
|
||||
+ sky130_fd_pr__cap_var_lvt__cmin_slope_w=1.5e-16
|
||||
+ sky130_fd_pr__cap_var_lvt__cmin_slope_wl=3.5e-16
|
||||
+ sky130_fd_pr__cap_var_lvt__cmax_slope_l=7.0e-16
|
||||
+ sky130_fd_pr__cap_var_lvt__cmax_slope_w=7.0e-16
|
||||
+ sky130_fd_pr__cap_var_lvt__cmax_slope_wl=1.5e-15
|
||||
* Capacitance Model Parameters
|
||||
.param cnwvc_slope1=0.21875
|
||||
.param cnwvc_slope2=0.125
|
||||
.param
|
||||
+ cm0='5.571e-16*cnwvc_cintmult'
|
||||
+ cm1='4.775e-16' dev/gauss='sky130_fd_pr__cap_var_lvt__cmin_slope_l/sqrt(2*ld*vm)'
|
||||
+ cm2='2.019e-16' dev/gauss='sky130_fd_pr__cap_var_lvt__cmin_slope_w/sqrt(2*wd*vm)'
|
||||
+ cm3='6.529e-16*cnwvc_cdepmult' dev/gauss='sky130_fd_pr__cap_var_lvt__cmin_slope_wl*cnwvc_cdepmult/sqrt(2*ld*wd*vm)'
|
||||
+ cx0=6.261e-16
|
||||
+ cx1='5.75e-16' dev/gauss='sky130_fd_pr__cap_var_lvt__cmax_slope_l/sqrt(2*ld*vm)'
|
||||
+ cx2='1.712e-16' dev/gauss='sky130_fd_pr__cap_var_lvt__cmax_slope_w/sqrt(2*wd*vm)'
|
||||
+ cx3='8.854e-14*3.9/cnwvc_tox' dev/gauss='sky130_fd_pr__cap_var_lvt__cmax_slope_wl/sqrt(2*wd*ld*vm)'
|
||||
+ sky130_fd_pr__cap_var_lvt__vgs_min_1 = '-2.071'
|
||||
+ sky130_fd_pr__cap_var_lvt__vgs_max_1 = '-1*-2.071'
|
||||
+ sky130_fd_pr__cap_var_lvt__tmax_vgs_1 = '100.001n'
|
||||
+ sky130_fd_pr__cap_var_lvt__vgs_min_2 = '-2.161'
|
||||
+ sky130_fd_pr__cap_var_lvt__vgs_max_2 = '-1*-2.161'
|
||||
+ sky130_fd_pr__cap_var_lvt__tmax_vgs_2 = '20.001n'
|
||||
+ sky130_fd_pr__cap_var_lvt__vgs_min = '-2.301'
|
||||
+ sky130_fd_pr__cap_var_lvt__vgs_max = '-1*-2.301'
|
||||
* .SETSOA LABEL="MODEL_OOB_VG_1: sky130_fd_pr__cap_var_lvt Vg for Varactor" E v(c0, c1) =(sky130_fd_pr__cap_var_lvt__vgs_min_1, sky130_fd_pr__cap_var_lvt__vgs_max_1, sky130_fd_pr__cap_var_lvt__tmax_vgs_1 )
|
||||
* .SETSOA LABEL="MODEL_OOB_VG_2: sky130_fd_pr__cap_var_lvt Vg for Varactor" E v(c0, c1) =(sky130_fd_pr__cap_var_lvt__vgs_min_2, sky130_fd_pr__cap_var_lvt__vgs_max_2, sky130_fd_pr__cap_var_lvt__tmax_vgs_2 )
|
||||
* .SETSOA LABEL="MODEL_OOB_VG: sky130_fd_pr__cap_var_lvt Vg for Varactor" E v(c0, c1) =(sky130_fd_pr__cap_var_lvt__vgs_min, sky130_fd_pr__cap_var_lvt__vgs_max )
|
||||
.param
|
||||
+ tref=30.0
|
||||
+ cmin='cm0+cm1*ld+cm2*wd+cm3*wd*(ld-ldd)+cx3*wd*ldd'
|
||||
+ cmax='cx0+cx1*ld+cx2*wd+cx3*wd*ld'
|
||||
cg c0 p2 q='cmin*vm*(v(c0)-v(p2))+((0.5*(cmax+cmin)-cmin)*(v(c0)-v(p2))+0.5*(cmax-cmin)*(1/1.9)*(cnwvc_slope1*log(cosh((v(c0)-v(p2)-cnwvc_vt1)/cnwvc_slope1))+0.9*cnwvc_slope2*log(cosh((v(c0)-v(p2)-cnwvc_vt2)/cnwvc_slope2))))*vm'
|
||||
c3 c0 b c='0.15e-15'
|
||||
c4 c1 b c='0.15e-15'
|
||||
* Resistance Model Parameters
|
||||
.param con_sp=0.17
|
||||
.param cnwvc_k=12
|
||||
.param cnwvc_n1=0.1
|
||||
.param cnwvc_n2=0.28
|
||||
.param apoly=1.15
|
||||
.param apolyc=1
|
||||
.param acon=1
|
||||
.param anwell=1
|
||||
.param bnwell=0.6
|
||||
.param cnwell=2
|
||||
.param n_pocon='max((lc-0.14)/(2*con_sp),1)'
|
||||
.param n_con='(wc-2*0.06+con_sp)/(2*con_sp)'
|
||||
.param rg_tc1=3e-3
|
||||
.param rg_tc2=0.0
|
||||
.param rg_tcmult='1+(temper-tref)*rg_tc1+(temper-tref)*(temper-tref)*rg_tc2'
|
||||
.param cnwvc_a='apoly*rp1*wl/cnwvc_k+apolyc*rcp1/n_pocon+acon*rcn/n_con+anwell*rnw*wlwdiff'
|
||||
.param cnwvc_b1='bnwell*rnw*wlwdiff'
|
||||
.param cnwvc_c='cnwell*rnw*((0.5*(ld-2*dlr))+cnwvc_ldiff)/(2*(wd-2*dwp))'
|
||||
rg p2 c1 r='(cnwvc_a+cnwvc_b1*(0.5*tanh((v(c0)-v(p2)-cnwvc_vtr)/cnwvc_n1)+0.5)+20*cnwvc_c*(0.5*tanh((v(c0)-v(p2)-cnwvc_vtr)/cnwvc_n1)+0.5)*exp(-abs((v(c0)-v(p2)-cnwvc_vtr)/cnwvc_n2)))/vm*rg_tcmult'
|
||||
.ends sky130_fd_pr__cap_var_lvt
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
* Copyright 2020 The SkyWater PDK Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
|
||||
* SKY130 Spice File.
|
||||
.param sky130_fd_pr__cap_vpp_01p8x01p8_m1m2_noshield__slope = 0.0
|
||||
* statistics {
|
||||
* mismatch {
|
||||
* vary sky130_fd_pr__cap_vpp_01p8x01p8_m1m2_noshield__slope dist=gauss std=0.0183
|
||||
* }
|
||||
* }
|
||||
.subckt cap_vpp_01p8x01p8_m1m2_noshield c0 c1 b
|
||||
+
|
||||
.param mult = 1.0
|
||||
+
|
||||
+ ctot_a = '7.833e-16*sky130_fd_pr__cap_vpp_01p8x01p8_m1m2_noshield__cor+0.85105/sqrt(mult/0.50527)*sky130_fd_pr__cap_vpp_01p8x01p8_m1m2_noshield__slope*7.833e-16*sky130_fd_pr__cap_vpp_01p8x01p8_m1m2_noshield__cor'
|
||||
+ cli2s = '4.548e-17*cli2s_vpp'
|
||||
+ rat_m2 = 0.596
|
||||
+ rat_m1 = 0.387
|
||||
+ rat_m1li = 0.017
|
||||
+ cap_m2 = 'rat_m2*ctot_a'
|
||||
+ cap_m1 = 'rat_m1*ctot_a'
|
||||
+ cap_m1li = 'rat_m1li*ctot_a'
|
||||
+ nvia_c0 = 8.0
|
||||
+ nvia_c1 = 4.0
|
||||
+ ncon_c0 = 16.0
|
||||
rm21 c0 a1 r = '28*rm2'
|
||||
ccmvpp1p8x1p8 a1 c1 c = 'cap_m2'
|
||||
rvia1 c0 d0 r = 'rcvia/nvia_c0'
|
||||
rvia2 c1 d1 r = 'rcvia/nvia_c1'
|
||||
rm11 d0 b1 r = '22*rm1'
|
||||
cm1 b1 d1 c = 'cap_m1'
|
||||
rcon d0 e0 r = 'rcl1/ncon_c0'
|
||||
rli1 e0 f0 r = 'rl1'
|
||||
cli2b f0 b c = 'cli2s'
|
||||
cm1li d1 e0 c = 'cap_m1li'
|
||||
.ends cap_vpp_01p8x01p8_m1m2_noshield
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
* Copyright 2020 The SkyWater PDK Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
.SUBCKT sky130_fd_pr__cap_vpp_02p4x04p6_m1m2_noshield C0 C1 SUB
|
||||
*.PININFO C0:? C1:? SUB:?
|
||||
X1 C0 C1 SUB sky130_fd_pr__cap_vpp_02p4x04p6_m1m2_noshield
|
||||
.ENDS sky130_fd_pr__cap_vpp_02p4x04p6_m1m2_noshield
|
||||
BIN
Binary file not shown.
+99
@@ -0,0 +1,99 @@
|
||||
# Copyright 2020 The SkyWater PDK Authors
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# https://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
VERSION 5.7 ;
|
||||
NOWIREEXTENSIONATPIN ON ;
|
||||
DIVIDERCHAR "/" ;
|
||||
BUSBITCHARS "[]" ;
|
||||
MACRO sky130_fd_pr__cap_vpp_02p4x04p6_m1m2_noshield
|
||||
CLASS BLOCK ;
|
||||
FOREIGN sky130_fd_pr__cap_vpp_02p4x04p6_m1m2_noshield ;
|
||||
ORIGIN 0.440000 0.000000 ;
|
||||
SIZE 2.420000 BY 4.590000 ;
|
||||
PIN C0
|
||||
PORT
|
||||
LAYER met2 ;
|
||||
RECT 0.000000 0.000000 1.540000 0.320000 ;
|
||||
RECT 0.280000 0.320000 0.420000 4.130000 ;
|
||||
RECT 0.840000 0.320000 0.980000 4.130000 ;
|
||||
RECT 1.400000 0.320000 1.540000 4.130000 ;
|
||||
END
|
||||
END C0
|
||||
PIN C1
|
||||
PORT
|
||||
LAYER met2 ;
|
||||
RECT -0.440000 0.460000 -0.170000 4.270000 ;
|
||||
RECT -0.440000 4.270000 1.980000 4.590000 ;
|
||||
RECT 0.000000 0.460000 0.140000 4.270000 ;
|
||||
RECT 0.560000 0.460000 0.700000 4.270000 ;
|
||||
RECT 1.120000 0.460000 1.260000 4.270000 ;
|
||||
RECT 1.710000 0.460000 1.980000 4.270000 ;
|
||||
END
|
||||
END C1
|
||||
PIN SUB
|
||||
PORT
|
||||
LAYER pwell ;
|
||||
RECT 0.450000 2.430000 0.530000 2.515000 ;
|
||||
END
|
||||
END SUB
|
||||
OBS
|
||||
LAYER met1 ;
|
||||
RECT -0.440000 0.460000 -0.170000 4.270000 ;
|
||||
RECT -0.440000 4.270000 1.980000 4.590000 ;
|
||||
RECT 0.000000 0.000000 1.540000 0.320000 ;
|
||||
RECT 0.000000 0.320000 0.140000 4.130000 ;
|
||||
RECT 0.280000 0.460000 0.420000 4.270000 ;
|
||||
RECT 0.560000 0.320000 0.700000 4.130000 ;
|
||||
RECT 0.840000 0.460000 0.980000 4.270000 ;
|
||||
RECT 1.120000 0.320000 1.260000 4.130000 ;
|
||||
RECT 1.400000 0.460000 1.540000 4.270000 ;
|
||||
RECT 1.710000 0.460000 1.980000 4.270000 ;
|
||||
LAYER via ;
|
||||
RECT -0.435000 0.585000 -0.175000 0.845000 ;
|
||||
RECT -0.435000 0.905000 -0.175000 1.165000 ;
|
||||
RECT -0.435000 1.225000 -0.175000 1.485000 ;
|
||||
RECT -0.435000 1.545000 -0.175000 1.805000 ;
|
||||
RECT -0.435000 1.865000 -0.175000 2.125000 ;
|
||||
RECT -0.435000 2.185000 -0.175000 2.445000 ;
|
||||
RECT -0.435000 2.505000 -0.175000 2.765000 ;
|
||||
RECT -0.435000 2.825000 -0.175000 3.085000 ;
|
||||
RECT -0.435000 3.145000 -0.175000 3.405000 ;
|
||||
RECT -0.435000 3.465000 -0.175000 3.725000 ;
|
||||
RECT -0.435000 3.785000 -0.175000 4.045000 ;
|
||||
RECT -0.180000 4.300000 0.080000 4.560000 ;
|
||||
RECT 0.140000 0.030000 0.400000 0.290000 ;
|
||||
RECT 0.140000 4.300000 0.400000 4.560000 ;
|
||||
RECT 0.460000 0.030000 0.720000 0.290000 ;
|
||||
RECT 0.460000 4.300000 0.720000 4.560000 ;
|
||||
RECT 0.780000 0.030000 1.040000 0.290000 ;
|
||||
RECT 0.780000 4.300000 1.040000 4.560000 ;
|
||||
RECT 1.100000 0.030000 1.360000 0.290000 ;
|
||||
RECT 1.100000 4.300000 1.360000 4.560000 ;
|
||||
RECT 1.420000 4.300000 1.680000 4.560000 ;
|
||||
RECT 1.715000 0.585000 1.975000 0.845000 ;
|
||||
RECT 1.715000 0.905000 1.975000 1.165000 ;
|
||||
RECT 1.715000 1.225000 1.975000 1.485000 ;
|
||||
RECT 1.715000 1.545000 1.975000 1.805000 ;
|
||||
RECT 1.715000 1.865000 1.975000 2.125000 ;
|
||||
RECT 1.715000 2.185000 1.975000 2.445000 ;
|
||||
RECT 1.715000 2.505000 1.975000 2.765000 ;
|
||||
RECT 1.715000 2.825000 1.975000 3.085000 ;
|
||||
RECT 1.715000 3.145000 1.975000 3.405000 ;
|
||||
RECT 1.715000 3.465000 1.975000 3.725000 ;
|
||||
RECT 1.715000 3.785000 1.975000 4.045000 ;
|
||||
END
|
||||
END sky130_fd_pr__cap_vpp_02p4x04p6_m1m2_noshield
|
||||
END LIBRARY
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user