Layer Derivations and DRC Rules:
TDB file J:\IP\DesignKits\MOSIS\AMI050s\Tech\mamis05.tdb, Technology: SCN3ME_SUBM - Last Updated - 08/13/2002

Layer Setup:
1. (**** Special Layers ****)
2. (Grid Layer)
3. (Drag Box Layer)
4. (Origin Layer)
5. (Cell Outline Layer)
6. (Error Layer)
7. (Icon/Outline)
8. (**** Special Utility Layers ****)
9. (Label)
10. (Label Filled)
11. (Ruler)
12. (Device Label)
13. (**** Drawn Layers *****)
14. (N Well)
15. (Active)
16. (Poly)
17. (Poly2)
18. (N Select)
19. (P Select)
20. (Poly Contact)
21. (Poly2 Contact)
22. (Active Contact)
23. (High Res Implant)
24. (Metal1)
25. (Via1)
26. (Metal2)
27. (Via2)
28. (Metal3)
29. (Overglass)
30. (**** Drawn ID Layers ****)
31. (Pad Comment)
32. (SubCkt ID)
33. (Capacitor ID)
34. (Resistor ID)
35. (N Well Resistor ID)
36. (Diode ID)
37. (LPNP ID)
38. (PNP Emitter ID)
39. (EXT_MASK_MOS)
40. (EXT_SHORT_M1M2)
41. (NotExists)
42. (**** Common Derived Layers ****)
43. (allsubs)  = NOT(NotExists)
44. (**** DRC Derived Layers ****)
45. (gate1)  = (Poly) AND (Active) AND NOT(EXT_MASK_MOS)
46. (field active)  = NOT(Poly) AND (Active)
47. (pdiff)  = (field active) AND (P Select) AND NOT(Resistor ID)
48. (ndiff)  = (field active) AND (N Select) AND NOT(Resistor ID)
49. (Field Poly)  = (Poly) AND NOT(Active)
50. (pSelect&nSelect)  = (P Select) AND (N Select)
51. (Not Selected Active)  = (Active) AND NOT(N Select) AND NOT(P Select)
52. (Illegal Active)  = (Not Selected Active)
53. (n Active)  = (Active) AND (N Select)
54. (p Active)  = (Active) AND (P Select)
55. (contacts)  = (Poly Contact) OR (Poly2 Contact) OR (Active Contact)
56. (contacts and HiRes)  = (High Res Implant) AND (contacts)
57. (AllMetal1)  = (Metal1)
58. (AllMetal2)  = (Metal2)
59. (Metal1 (W>10um)-16.5)  = ((GROW -16500)Metal1)
60. (Metal1(W>10um)-16.5+16.5)  = ((GROW 16500)Metal1 (W>10um)-16.5)
61. (Metal2 (W>10um)-16.5)  = ((GROW -16500)Metal2)
62. (Metal2(W>10um)-16.5+16.5)  = ((GROW 16500)Metal2 (W>10um)-16.5)
63. (Metal3 (W>10um)-16.5)  = ((GROW -16500)Metal3)
64. (Metal3(W>10um)-16.5+16.5)  = ((GROW 16500)Metal3 (W>10um)-16.5)
65. (ActCnt_not_on_act)  = (Active Contact) AND NOT(Active)
66. (PolyCnt_not_on_Poly)  = (Poly Contact) AND NOT(Poly)
67. (Poly2Cnt_not_on_Poly2)  = (Poly2 Contact) AND NOT(Poly2)
68. (HiRes resistor)  = (High Res Implant) AND (Poly2)
69. (p2p1 capacitor)  = (Poly) AND (Poly2) AND (Capacitor ID)
70. (nwell and HiRes resistor)  = (N Well) AND (HiRes resistor)
71. (Poly Density) = (allsubs) NOT DENSITY (Poly) [0:15]
72. (Poly2 Density) = (allsubs) NOT DENSITY (Poly2) [0:15]
73. (Metal1 Density) = (allsubs) NOT DENSITY (Metal1) [0:30]
74. (Metal2 Density) = (allsubs) NOT DENSITY (Metal2) [0:30]
75. (**** Extract Derived Layers ****)
76. (Well X)  = (N Well)
77. (NotPoly)  = NOT(Poly)
78. (NotPoly2)  = NOT(Poly2)
79. (ActNSelNotPoly)  = (Active) AND (N Select) AND NOT(Poly)
80. (ActPSelNotPoly)  = (Active) AND (P Select) AND NOT(Poly)
81. (P1/P2/Act Contact)  = (Poly Contact) OR (Active Contact) OR (Poly2 Contact)
82. (Not Metal1)  = NOT(Metal1)
83. (Not Metal2)  = NOT(Metal2)
84. (Not Metal3)  = NOT(Metal3)
85. (poly wire)  = (Poly) AND NOT(Resistor ID)
86. (poly2 wire)  = (Poly2) AND NOT(Resistor ID) AND NOT(High Res Implant)
87. (n well wire)  = (N Well) AND NOT(N Well Resistor ID)
88. (diff resistors)
89. (subs)  = NOT(N Well)
90. (gate thick active)  = (gate1)
91. (ntran)  = (gate1) AND (subs) AND NOT(Capacitor ID)
92. (ptran)  = (gate1) AND (N Well) AND NOT(Capacitor ID)
93. (LPNP emitter)  = (PNP Emitter ID) AND (pdiff)
94. (LPNP collector)  = (LPNP ID) AND (pdiff) AND NOT(PNP Emitter ID)
95. (nSelNotInWell)  = (N Select) AND NOT(N Well)
96. (pSelInWell)  = (P Select) AND (N Well)
97. (Via1NotOnPad)  = (Via1) AND NOT(Pad Comment)
98. (Via2NotOnPad)  = (Via2) AND NOT(Pad Comment)
99. (poly resistor)  = (Poly) AND (Resistor ID) AND NOT(N Well)
100. (poly2 resistor)  = (Resistor ID) AND (Poly2) AND NOT(High Res Implant)
101. (ndiff resistor)  = (ActNSelNotPoly) AND (Resistor ID)
102. (pdiff resistor)  = (ActPSelNotPoly) AND (N Well) AND (Resistor ID)
103. (nwell resistor)  = (N Well) AND (N Well Resistor ID)
104. (nmos capacitor)  = (gate1) AND NOT(N Well) AND (Capacitor ID)
105. (pmos capacitor)  = (gate1) AND (N Well) AND (Capacitor ID)
106. (diode pdiff)  = (Diode ID) AND (pdiff) AND (n well wire)
107. (diode ndiff)  = (Diode ID) AND (ndiff) AND (subs)
108. (diode_lat)  = ((GROW 1)pdiff) AND (ndiff)
109. (**** XS Derived Layers ****)


Design Rules:

**************************************************
1.1 Well Minimum Width
Type: Minimum Width, Distance: 12 Lambda
   Layer: N Well
**************************************************
** DISABLED **
*** 1.2 Well to Well (diff potential) minmum spacing
Type: Spacing, Distance: 18 Lambda
**************************************************
1.3 Well to Well(Same Potential) Spacing
Type: Spacing, Distance: 6 Lambda
   Layer: N Well
**************************************************
2.1 Active Minimum Width
Type: Minimum Width, Distance: 3 Lambda
   Layer: Active
**************************************************
2.2 Active to Active Spacing
Type: Spacing, Distance: 3 Lambda
   Layer: Active
**************************************************
2.3a Source/Drain Active to Well Edge
Type: Surround:O, Distance: 6 Lambda
   Layer: pdiff
      Layer: field active
         NOT Layer: Poly
         AND
         Layer: Active
      AND
      Layer: P Select
      AND
      NOT Layer: Resistor ID
   Layer: N Well
**************************************************
2.3b Source/Drain Active to Well Space 
Type: Spacing:E, Distance: 6 Lambda
   Layer: ndiff
      Layer: field active
         NOT Layer: Poly
         AND
         Layer: Active
      AND
      Layer: N Select
      AND
      NOT Layer: Resistor ID
   Layer: N Well
**************************************************
2.4a WellContact(Active) to Well Edge
Type: Surround:O, Distance: 3 Lambda
   Layer: n Active
      Layer: Active
      AND
      Layer: N Select
   Layer: N Well
**************************************************
2.4b SubsContact(Active) to Well Spacing
Type: Spacing:E, Distance: 3 Lambda
   Layer: p Active
      Layer: Active
      AND
      Layer: P Select
   Layer: N Well
**************************************************
** DISABLED **
$$$ 2.5 Active from diff implant (Covered by 4.2.)
Type: Minimum Width, Distance: 0 Locator Units
**************************************************
3.1 Poly Minimum Width
Type: Minimum Width, Distance: 2 Lambda
   Layer: Poly
**************************************************
3.2 Poly to Poly Spacing
Type: Spacing, Distance: 3 Lambda
   Layer: Poly
**************************************************
3.3 Gate Extension out of Active
Type: Extension, Distance: 2 Lambda
   Layer: Active
   Layer: Poly
**************************************************
3.4a/4.1a Source/Drain Width
Type: Extension, Distance: 3 Lambda
   Layer: Poly
   Layer: n Active
      Layer: Active
      AND
      Layer: N Select
**************************************************
3.4b/4.1b Source/Drain Width
Type: Extension, Distance: 3 Lambda
   Layer: Poly
   Layer: p Active
      Layer: Active
      AND
      Layer: P Select
**************************************************
3.5 Poly to Active Spacing
Type: Spacing:I:E, Distance: 1 Lambda
   Layer: Poly
   Layer: Active
**************************************************
4.2a/2.5 Active to N-Select Edge
Type: Surround:I:O, Distance: 2 Lambda
   Layer: Active
   Layer: N Select
**************************************************
4.2b/2.5 Active to P-Select Edge
Type: Surround:I:O, Distance: 2 Lambda
   Layer: Active
   Layer: P Select
**************************************************
4.3a Select Edge to ActCnt
Type: Surround:O, Distance: 1 Lambda
   Layer: Active Contact
   Layer: ndiff
      Layer: field active
         NOT Layer: Poly
         AND
         Layer: Active
      AND
      Layer: N Select
      AND
      NOT Layer: Resistor ID
**************************************************
4.3b Select Edge to ActCnt
Type: Surround:O, Distance: 1 Lambda
   Layer: Active Contact
   Layer: pdiff
      Layer: field active
         NOT Layer: Poly
         AND
         Layer: Active
      AND
      Layer: P Select
      AND
      NOT Layer: Resistor ID
**************************************************
4.3c Not Exist: ActiveContact not on act
Type: NotExists, Distance: 0 Locator Units
   Layer: ActCnt_not_on_act
      Layer: Active Contact
      AND
      NOT Layer: Active
**************************************************
4.4a Select Minimum Width
Type: Minimum Width, Distance: 2 Lambda
   Layer: N Select
**************************************************
4.4b Select Minimum Width
Type: Minimum Width, Distance: 2 Lambda
   Layer: P Select
**************************************************
4.4c Select to Select Spacing
Type: Spacing, Distance: 2 Lambda
   Layer: N Select
**************************************************
4.4d Select to Select Spacing
Type: Spacing, Distance: 2 Lambda
   Layer: P Select
**************************************************
4.5 Not Existing: pSel Overlap of nSel
Type: NotExists, Distance: 0 Lambda
   Layer: pSelect&nSelect
      Layer: P Select
      AND
      Layer: N Select
**************************************************
4.6 Not Existing: Not Selected Active
Type: NotExists, Distance: 0 Lambda
   Layer: Illegal Active
      Layer: Not Selected Active
         Layer: Active
         AND
         NOT Layer: N Select
         AND
         NOT Layer: P Select
**************************************************
5.1A Poly Contact Exact Size
Type: Exact Width, Distance: 2 Lambda
   Layer: Poly Contact
**************************************************
5.2A/5.6B FieldPoly Overlap of PolyCnt
Type: Surround:O, Distance: 1.5 Locator Units
   Layer: Poly Contact
   Layer: Field Poly
      Layer: Poly
      AND
      NOT Layer: Active
**************************************************
5.2b Not-Exists: PolyCnt_not_on_Poly
Type: NotExists, Distance: 0 Locator Units
   Layer: PolyCnt_not_on_Poly
      Layer: Poly Contact
      AND
      NOT Layer: Poly
**************************************************
5.3A PolyContact to PolyContact Spacing
Type: Spacing, Distance: 3 Lambda
   Layer: Poly Contact
**************************************************
6.1A Active Contact Exact Size
Type: Exact Width, Distance: 2 Lambda
   Layer: Active Contact
**************************************************
6.2A FieldActive Overlap of ActCnt
Type: Surround:O, Distance: 1.5 Locator Units
   Layer: Active Contact
   Layer: field active
      NOT Layer: Poly
      AND
      Layer: Active
**************************************************
6.3A ActCnt to ActCnt Spacing
Type: Spacing, Distance: 3 Lambda
   Layer: Active Contact
**************************************************
6.4A Active Contact to Gate Spacing
Type: Spacing, Distance: 2 Lambda
   Layer: Active Contact
   Layer: gate1
      Layer: Poly
      AND
      Layer: Active
      AND
      NOT Layer: EXT_MASK_MOS
**************************************************
7.1 Metal1 Minimum Width
Type: Minimum Width, Distance: 3 Lambda
   Layer: AllMetal1
      Layer: Metal1
**************************************************
7.2 Metal1 to Metal1 Spacing 
Type: Spacing, Distance: 3 Lambda
   Layer: Metal1
**************************************************
7.3a Metal1 Overlap of PolyContact
Type: Surround, Distance: 1 Lambda
   Layer: Poly Contact
   Layer: Metal1
**************************************************
7.3b Metal1 Overlap of ActiveContact
Type: Surround, Distance: 1 Lambda
   Layer: Active Contact
   Layer: Metal1
**************************************************
7.4  Min Metal1 Spacing to Metal1(W>10 um)
Type: Spacing:C:I:E, Distance: 6 Lambda
   Layer: Metal1(W>10um)-16.5+16.5
      Layer: (GROW 16500)Metal1 (W>10um)-16.5
         Layer: (GROW -16500)Metal1
   Layer: Metal1
**************************************************
8.1 Via1 Exact Size
Type: Exact Width, Distance: 2 Lambda
   Layer: Via1
**************************************************
8.2 Via1 to Via1 Spacing
Type: Spacing, Distance: 3 Lambda
   Layer: Via1
**************************************************
8.3 Metal1 Overlap of Via1
Type: Surround, Distance: 1 Lambda
   Layer: Via1
   Layer: Metal1
**************************************************
** DISABLED **
$$$ 8.5a Via1 to Poly Spacing (stacked vias allowed)
Type: Spacing:E, Distance: 2 Lambda
   Layer: Via1
   Layer: Poly
**************************************************
** DISABLED **
$$$ 8.5b Via1(On Poly) to Poly Edge (stacked vias allowed)
Type: Surround:O, Distance: 2 Lambda
   Layer: Via1
   Layer: Poly
**************************************************
** DISABLED **
$$$ 8.5c Via1 to Active Spacing (stacked vias allowed)
Type: Spacing:E, Distance: 2 Lambda
   Layer: Via1
   Layer: Active
**************************************************
** DISABLED **
$$$ 8.5d Via1 (On Active) to Active Edge (stacked vias allowed)
Type: Surround:O, Distance: 2 Lambda
   Layer: Via1
   Layer: Active
**************************************************
9.1  Metal2 Minimum Width
Type: Minimum Width, Distance: 3 Lambda
   Layer: AllMetal2
      Layer: Metal2
**************************************************
9.2  Metal2 to Metal2 Spacing 
Type: Spacing, Distance: 3 Lambda
   Layer: Metal2
**************************************************
9.3 Metal2 Overlap of Via1
Type: Surround, Distance: 1 Lambda
   Layer: Via1
   Layer: Metal2
**************************************************
9.4  Min Metal2 Spacing to Metal2(W>10um)
Type: Spacing:C:I:E, Distance: 6 Lambda
   Layer: Metal2(W>10um)-16.5+16.5
      Layer: (GROW 16500)Metal2 (W>10um)-16.5
         Layer: (GROW -16500)Metal2
   Layer: Metal2
**************************************************
** DISABLED **
^^^ 10.1 Bonding Area: OverGlass (60x60um)
Type: Exact Width, Distance: 200 Lambda
   Layer: Overglass
**************************************************
** DISABLED **
<<< 10.2  Min probe pad opening (20um) use either 10.1 or 10.2.
Type: Minimum Width, Distance: 67 Lambda
   Layer: Overglass
**************************************************
** DISABLED **
^^^ 10.3a Pad metal1 overlap Passivation (6um)
Type: Surround, Distance: 20 Lambda
   Layer: Overglass
   Layer: Metal1
**************************************************
** DISABLED **
^^^ 10.3b Pad metal2 overlap Passivation (6um)
Type: Surround, Distance: 20 Lambda
   Layer: Overglass
   Layer: Metal2
**************************************************
** DISABLED **
^^^ 10.3c Pad metal3 overlap Passivation (6um)
Type: Surround, Distance: 20 Lambda
   Layer: Overglass
   Layer: Metal3
**************************************************
** DISABLED **
^^^ 10.4a Pad to Unrelated-Metal1 (30um)
Type: Spacing:I:E, Distance: 100 Lambda
   Layer: Pad Comment
   Layer: Metal1
**************************************************
** DISABLED **
^^^ 10.4b Pad to Unrelated-Metal2 Space(30um)
Type: Spacing:I:E, Distance: 100 Lambda
   Layer: Pad Comment
   Layer: Metal2
**************************************************
** DISABLED **
^^^ 10.4c Pad to Unrelated-Metal3 Space(30um)
Type: Spacing:I:E, Distance: 100 Lambda
   Layer: Pad Comment
   Layer: Metal3
**************************************************
** DISABLED **
^^^ 10.5a Pad to Unrelated-Poly Space (15um)
Type: Spacing, Distance: 50 Lambda
   Layer: Pad Comment
   Layer: Poly
**************************************************
** DISABLED **
^^^ 10.5b Pad to Unrelated-Poly2 Space (15um)
Type: Spacing, Distance: 50 Lambda
   Layer: Pad Comment
   Layer: Poly2
**************************************************
** DISABLED **
^^^ 10.5c Pad to Unrelated-Act Space (15um)
Type: Spacing, Distance: 50 Lambda
   Layer: Pad Comment
   Layer: Active
**************************************************
11.1   Poly2 Minimum Width - Capacitor
Type: Minimum Width, Distance: 7 Lambda
   Layer: p2p1 capacitor
      Layer: Poly
      AND
      Layer: Poly2
      AND
      Layer: Capacitor ID
**************************************************
11.2 /12.2   Min Poly2 Spacing - Cap/Trans
Type: Spacing, Distance: 3 Lambda
   Layer: Poly2
**************************************************
11.3   Min Poly2 overlap by Poly
Type: Surround:I:O, Distance: 5 Lambda
   Layer: Poly2
   Layer: Poly
**************************************************
11.4a   Min Poly2 spacing to Active (Capacitor)
Type: Spacing, Distance: 2 Lambda
   Layer: p2p1 capacitor
      Layer: Poly
      AND
      Layer: Poly2
      AND
      Layer: Capacitor ID
   Layer: Active
**************************************************
11.4b   Min Poly2 spacing to N Well (Capacitor)
Type: Spacing:E, Distance: 2 Lambda
   Layer: p2p1 capacitor
      Layer: Poly
      AND
      Layer: Poly2
      AND
      Layer: Capacitor ID
   Layer: N Well
**************************************************
11.4c   Min Poly2 spacing to N Well edge (Capacitor)
Type: Surround:O, Distance: 2 Lambda
   Layer: p2p1 capacitor
      Layer: Poly
      AND
      Layer: Poly2
      AND
      Layer: Capacitor ID
   Layer: N Well
**************************************************
11.5  Min Poly2 spacing Poly Contact (Cap)
Type: Spacing, Distance: 6 Lambda
   Layer: Poly Contact
   Layer: p2p1 capacitor
      Layer: Poly
      AND
      Layer: Poly2
      AND
      Layer: Capacitor ID
**************************************************
** DISABLED **
??? 11.6a  Min Poly2 spacing to unrelated metal1
Type: Spacing:E, Distance: 2 Lambda
   Layer: Poly2
   Layer: Metal1
**************************************************
** DISABLED **
??? 11.6b  Min Poly2 spacing to unrelated metal2
Type: Spacing:E, Distance: 2 Lambda
   Layer: Poly2
   Layer: Metal2
**************************************************
11.6c  Min Poly2 spacing to unrelated metal3
Type: Spacing:E, Distance: 2 Lambda
   Layer: Poly2
   Layer: Metal3
**************************************************
12.1   Min Poly2 Width for Trans
Type: Minimum Width, Distance: 2 Lambda
   Layer: Poly2
**************************************************
12.3   Min Gate Extension (Trans)
Type: Extension, Distance: 2 Lambda
   Layer: Active
   Layer: Poly2
**************************************************
12.4    Min Poly2 to Active spacing
Type: Spacing:I:E, Distance: 1 Lambda
   Layer: Poly2
   Layer: Active
**************************************************
12.5a   Min Poly2 to Poly spacing (Trans)
Type: Spacing:I:E, Distance: 2 Lambda
   Layer: Poly2
   Layer: Poly
**************************************************
12.5b/19.6   Min Poly2 overlap  Poly (Trans)
Type: Overlap, Distance: 2 Lambda
   Layer: Poly2
   Layer: Poly
**************************************************
12.5c   Min overlap of Poly/Poly2 (Trans)
Type: Extension, Distance: 2 Lambda
   Layer: Poly
   Layer: Poly2
**************************************************
** DISABLED **
??? 12.5d   Min overlap of Poly2/Poly (Trans)
Type: Extension, Distance: 2 Lambda
   Layer: Poly2
   Layer: Poly
**************************************************
12.6a   Min Poly2 spacing Poly Contact (Trans)
Type: Spacing, Distance: 3 Lambda
   Layer: Poly2
   Layer: Poly Contact
**************************************************
12.6b   Min Poly2 spacing to Act Contant (Trans)
Type: Spacing, Distance: 2 Lambda
   Layer: Poly2
   Layer: Active Contact
**************************************************
13.1   Poly2 Contact exact size
Type: Exact Width, Distance: 2 Lambda
   Layer: Poly2 Contact
**************************************************
13.2   Min Poly2 Contact spacing
Type: Spacing, Distance: 3 Lambda
   Layer: Poly2 Contact
**************************************************
13.3   Min Cap Top Plate overlap Poly2 Contact
Type: Surround:O, Distance: 3 Lambda
   Layer: Poly2 Contact
   Layer: p2p1 capacitor
      Layer: Poly
      AND
      Layer: Poly2
      AND
      Layer: Capacitor ID
**************************************************
13.4a   Min Poly2 overlap Poly2 Contact (Trans)
Type: Surround:O, Distance: 2 Lambda
   Layer: Poly2 Contact
   Layer: Poly2
**************************************************
13.4b   Not Exist: Poly2 Contact not on Poly2
Type: NotExists, Distance: 0 Locator Units
   Layer: Poly2Cnt_not_on_Poly2
      Layer: Poly2 Contact
      AND
      NOT Layer: Poly2
**************************************************
13.5a   Min Poly2 spacing to Active
Type: Spacing, Distance: 3 Lambda
   Layer: Poly2 Contact
   Layer: Active
**************************************************
13.5b   Min Poly2 spacing to Poly
Type: Spacing:E, Distance: 3 Lambda
   Layer: Poly2 Contact
   Layer: Poly
**************************************************
14.1 Via2 Exact Size
Type: Exact Width, Distance: 2 Lambda
   Layer: Via2
**************************************************
14.2 Via2 to Via2 Spacing
Type: Spacing, Distance: 3 Lambda
   Layer: Via2
**************************************************
14.3 Metal2 overlap of Via2
Type: Surround, Distance: 1 Lambda
   Layer: Via2
   Layer: Metal2
**************************************************
15.1 Width of Metal 3
Type: Minimum Width, Distance: 5 Lambda
   Layer: Metal3
**************************************************
15.2 Metal3 to Metal3 Spacing
Type: Spacing, Distance: 3 Lambda
   Layer: Metal3
**************************************************
15.3 Metal3 Overlap of Via2 
Type: Surround, Distance: 2 Lambda
   Layer: Via2
   Layer: Metal3
**************************************************
15.4  Min Metal3 Spacing to Metal3(W>10um)
Type: Spacing:C:I:E, Distance: 6 Lambda
   Layer: Metal3(W>10um)-16.5+16.5
      Layer: (GROW 16500)Metal3 (W>10um)-16.5
         Layer: (GROW -16500)Metal3
   Layer: Metal3
**************************************************
27.1  Min HiRes Width
Type: Minimum Width, Distance: 4 Lambda
   Layer: High Res Implant
**************************************************
27.2 Min HiRes Spacing
Type: Spacing, Distance: 4 Lambda
   Layer: High Res Implant
**************************************************
27.3a Min HiRes Spacing to External Contacts
Type: Spacing, Distance: 2 Lambda
   Layer: contacts
      Layer: Poly Contact
      OR
      Layer: Poly2 Contact
      OR
      Layer: Active Contact
   Layer: High Res Implant
**************************************************
27.3b Contacts not allowed inside HiRes !!!
Type: NotExists, Distance: 0 Lambda
   Layer: contacts and HiRes
      Layer: High Res Implant
      AND
      Layer: contacts
         Layer: Poly Contact
         OR
         Layer: Poly2 Contact
         OR
         Layer: Active Contact
**************************************************
27.4  Min HiRes Spacing to External Act
Type: Spacing:E, Distance: 2 Lambda
   Layer: Active
   Layer: High Res Implant
**************************************************
27.5 Min HiRes Spacing to External Poly2
Type: Spacing:I:E, Distance: 2 Lambda
   Layer: Poly2
   Layer: High Res Implant
**************************************************
27.6a HiRes resistor must be outside well and over field !
Type: NotExists, Distance: 0 Lambda
   Layer: nwell and HiRes resistor
      Layer: N Well
      AND
      Layer: HiRes resistor
         Layer: High Res Implant
         AND
         Layer: Poly2
**************************************************
27.6b Poly2 extension of HiRes Implant for resistor contacts
Type: Extension, Distance: 2 Lambda
   Layer: High Res Implant
   Layer: Poly2
**************************************************
27.7 Min HiRes Resistor Width
Type: Minimum Width, Distance: 5 Lambda
   Layer: HiRes resistor
      Layer: High Res Implant
      AND
      Layer: Poly2
**************************************************
27.8 Min HiRes Resistor Spacing
Type: Spacing, Distance: 7 Lambda
   Layer: HiRes resistor
      Layer: High Res Implant
      AND
      Layer: Poly2
**************************************************
27.9 Min HiRes Overlaping Poly2
Type: Extension, Distance: 2 Lambda
   Layer: Poly2
   Layer: High Res Implant
**************************************************
xx.1a Minimum Poly1 layer density 
Type: Density, 
   Layer: Poly Density
            Layer: allsubs
         NOT Layer: NotExists
      DENSITY
      Layer: Poly
**************************************************
** DISABLED **
xx.1b Minimum Poly2 layer density 
Type: Density, 
   Layer: Poly2 Density
            Layer: allsubs
         NOT Layer: NotExists
      DENSITY
      Layer: Poly2
**************************************************
xx.2a Minimum Metal1 layer density 
Type: Density, 
   Layer: Metal1 Density
            Layer: allsubs
         NOT Layer: NotExists
      DENSITY
      Layer: Metal1
**************************************************
xx.2b Minimum Metal2 layer density 
Type: Density, 
   Layer: Metal2 Density
            Layer: allsubs
         NOT Layer: NotExists
      DENSITY
      Layer: Metal2
**************************************************
