<?xml version="1.0" encoding="UTF-8"?>

<!--
 *
 * Electric(tm) VLSI Design System
 *
 * File: mocmosold.xml
 * mocmosold technology description
 * Generated automatically from a library
 *
 * Copyright (c) 2008 Sun Microsystems and Static Free Software
 *
 * Electric(tm) is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * Electric(tm) is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Electric(tm); see the file COPYING.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 * Boston, Mass 02111-1307, USA.
 */
-->

<technology name="mocmosold"
     xmlns="http://electric.sun.com/Technology"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://electric.sun.com/Technology ../../technology/Technology.xsd">

    <shortName>Old MOSIS CMOS</shortName>
    <description>MOSIS CMOS (old rules, P-Well, double metal)</description>
    <version tech="1" electric="8.05g"/>
    <version tech="2" electric="8.05o"/>
    <numMetals min="2" max="2" default="2"/>
    <scale value="1000.0" relevant="true"/>
    <defaultFoundry value="MOSIS"/>
    <minResistance value="50.0"/>
    <minCapacitance value="50.0"/>

    <!-- Transparent layers -->
    <transparentLayer transparent="1">
        <r>96</r>
        <g>209</g>
        <b>255</b>
    </transparentLayer>
    <transparentLayer transparent="2">
        <r>255</r>
        <g>155</g>
        <b>192</b>
    </transparentLayer>
    <transparentLayer transparent="3">
        <r>107</r>
        <g>226</g>
        <b>96</b>
    </transparentLayer>
    <transparentLayer transparent="4">
        <r>224</r>
        <g>95</g>
        <b>255</b>
    </transparentLayer>
    <transparentLayer transparent="5">
        <r>240</r>
        <g>221</g>
        <b>181</b>
    </transparentLayer>

    <!-- **************************************** LAYERS **************************************** -->
    <layer name="Metal-1" fun="METAL1">
        <transparentColor transparent="1"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>  X   X   X   X </pattern>
        <pattern>                </pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>                </pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>                </pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>                </pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern>                </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="0.5" height="11.0" mode="NONE" factor="0.2"/>
        <cifLayer cif="CMF"/>
        <parasitics resistance="0.03" capacitance="0.03" edgeCapacitance="0.0"/>
        <pureLayerNode name="Metal-1-Node" port="metal-1">
            <lambda>4.0</lambda>
            <portArc>Metal-1</portArc>
        </pureLayerNode>
    </layer>

    <layer name="Metal-2" fun="METAL2">
        <transparentColor transparent="4"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>   X       X    </pattern>
        <pattern>  X       X     </pattern>
        <pattern> X       X      </pattern>
        <pattern>X       X       </pattern>
        <pattern>       X       X</pattern>
        <pattern>      X       X </pattern>
        <pattern>     X       X  </pattern>
        <pattern>    X       X   </pattern>
        <pattern>   X       X    </pattern>
        <pattern>  X       X     </pattern>
        <pattern> X       X      </pattern>
        <pattern>X       X       </pattern>
        <pattern>       X       X</pattern>
        <pattern>      X       X </pattern>
        <pattern>     X       X  </pattern>
        <pattern>    X       X   </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="0.5" height="12.0" mode="NONE" factor="0.2"/>
        <cifLayer cif="CMS"/>
        <parasitics resistance="0.03" capacitance="0.03" edgeCapacitance="0.0"/>
        <pureLayerNode name="Metal-2-Node" port="metal-2">
            <lambda>4.0</lambda>
            <portArc>Metal-2</portArc>
        </pureLayerNode>
    </layer>

    <layer name="Polysilicon" fun="POLY1">
        <transparentColor transparent="2"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>    X       X   </pattern>
        <pattern>     X       X  </pattern>
        <pattern>      X       X </pattern>
        <pattern>       X       X</pattern>
        <pattern>X       X       </pattern>
        <pattern> X       X      </pattern>
        <pattern>  X       X     </pattern>
        <pattern>   X       X    </pattern>
        <pattern>    X       X   </pattern>
        <pattern>     X       X  </pattern>
        <pattern>      X       X </pattern>
        <pattern>       X       X</pattern>
        <pattern>X       X       </pattern>
        <pattern> X       X      </pattern>
        <pattern>  X       X     </pattern>
        <pattern>   X       X    </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="0.5" height="9.0" mode="NONE" factor="0.2"/>
        <cifLayer cif="CPG"/>
        <parasitics resistance="50.0" capacitance="0.04" edgeCapacitance="0.0"/>
        <pureLayerNode name="Polysilicon-Node" port="polysilicon">
            <lambda>4.0</lambda>
            <portArc>Polysilicon</portArc>
        </pureLayerNode>
    </layer>

    <layer name="S-Active" fun="DIFFP">
        <transparentColor transparent="3"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>      XX      XX</pattern>
        <pattern> X  X    X  X   </pattern>
        <pattern>      XX      XX</pattern>
        <pattern>                </pattern>
        <pattern>  XX      XX    </pattern>
        <pattern>X    X  X    X  </pattern>
        <pattern>  XX      XX    </pattern>
        <pattern>                </pattern>
        <pattern>      XX      XX</pattern>
        <pattern> X  X    X  X   </pattern>
        <pattern>      XX      XX</pattern>
        <pattern>                </pattern>
        <pattern>  XX      XX    </pattern>
        <pattern>X    X  X    X  </pattern>
        <pattern>  XX      XX    </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="2.0" height="7.0" mode="NONE" factor="0.2"/>
        <cifLayer cif="CAA"/>
        <parasitics resistance="10.0" capacitance="0.1" edgeCapacitance="0.0"/>
        <pureLayerNode name="Active-Node" port="active">
            <lambda>4.0</lambda>
            <portArc>Active</portArc>
            <portArc>S-Active</portArc>
            <portArc>D-Active</portArc>
        </pureLayerNode>
    </layer>

    <layer name="D-Active" fun="DIFFN">
        <transparentColor transparent="3"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>      XX      XX</pattern>
        <pattern> X  X    X  X   </pattern>
        <pattern>      XX      XX</pattern>
        <pattern>                </pattern>
        <pattern>  XX      XX    </pattern>
        <pattern>X    X  X    X  </pattern>
        <pattern>  XX      XX    </pattern>
        <pattern>                </pattern>
        <pattern>      XX      XX</pattern>
        <pattern> X  X    X  X   </pattern>
        <pattern>      XX      XX</pattern>
        <pattern>                </pattern>
        <pattern>  XX      XX    </pattern>
        <pattern>X    X  X    X  </pattern>
        <pattern>  XX      XX    </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="2.0" height="7.0" mode="NONE" factor="0.2"/>
        <cifLayer cif="CAA"/>
        <parasitics resistance="10.0" capacitance="0.1" edgeCapacitance="0.0"/>
        <pureLayerNode name="D-Active-Node" port="active">
            <lambda>4.0</lambda>
            <portArc>Active</portArc>
            <portArc>S-Active</portArc>
            <portArc>D-Active</portArc>
        </pureLayerNode>
    </layer>

    <layer name="P-Select" fun="IMPLANTP">
        <opaqueColor r="89" g="44" b="51"/>
        <patternedOnDisplay>true</patternedOnDisplay>
        <patternedOnPrinter>true</patternedOnPrinter>
        <pattern>   X       X    </pattern>
        <pattern>  X       X     </pattern>
        <pattern> X       X      </pattern>
        <pattern>X       X       </pattern>
        <pattern>       X       X</pattern>
        <pattern>      X       X </pattern>
        <pattern>     X       X  </pattern>
        <pattern>    X       X   </pattern>
        <pattern>   X       X    </pattern>
        <pattern>  X       X     </pattern>
        <pattern> X       X      </pattern>
        <pattern>X       X       </pattern>
        <pattern>       X       X</pattern>
        <pattern>      X       X </pattern>
        <pattern>     X       X  </pattern>
        <pattern>    X       X   </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="5.0" height="4.0" mode="SCREEN_DOOR" factor="0.4"/>
        <cifLayer cif="CSG"/>
        <pureLayerNode name="P-Select-Node" port="select">
            <lambda>6.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="N-Select" fun="IMPLANTN">
        <opaqueColor r="89" g="44" b="51"/>
        <patternedOnDisplay>true</patternedOnDisplay>
        <patternedOnPrinter>true</patternedOnPrinter>
        <pattern>   X       X    </pattern>
        <pattern>  X       X     </pattern>
        <pattern> X       X      </pattern>
        <pattern>X       X       </pattern>
        <pattern>       X       X</pattern>
        <pattern>      X       X </pattern>
        <pattern>     X       X  </pattern>
        <pattern>    X       X   </pattern>
        <pattern>   X       X    </pattern>
        <pattern>  X       X     </pattern>
        <pattern> X       X      </pattern>
        <pattern>X       X       </pattern>
        <pattern>       X       X</pattern>
        <pattern>      X       X </pattern>
        <pattern>     X       X  </pattern>
        <pattern>    X       X   </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="5.0" height="4.0" mode="SCREEN_DOOR" factor="0.4"/>
        <cifLayer cif="CSG"/>
        <pureLayerNode name="N-Select-Node" port="select">
            <lambda>6.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="P-Well" fun="WELLP">
        <transparentColor transparent="5"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>   X            </pattern>
        <pattern>          X     </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>               X</pattern>
        <pattern>      X         </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>   X            </pattern>
        <pattern>          X     </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>               X</pattern>
        <pattern>      X         </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="9.0" height="0.0" mode="NICEST" factor="0.8"/>
        <cifLayer cif="CWG"/>
        <pureLayerNode name="P-Well-Node" port="well">
            <lambda>6.0</lambda>
            <portArc>S-Active</portArc>
        </pureLayerNode>
    </layer>

    <layer name="N-Well" fun="WELLN">
        <transparentColor transparent="5"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>   X            </pattern>
        <pattern>          X     </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>               X</pattern>
        <pattern>      X         </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>   X            </pattern>
        <pattern>          X     </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>               X</pattern>
        <pattern>      X         </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="9.0" height="0.0" mode="NICEST" factor="0.8"/>
        <cifLayer cif="CWG"/>
        <pureLayerNode name="N-Well-Node" port="well">
            <lambda>6.0</lambda>
            <portArc>D-Active</portArc>
        </pureLayerNode>
    </layer>

    <layer name="Contact-Cut" fun="CONTACT1">
        <opaqueColor r="107" g="137" b="72"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="2.0" height="9.0" mode="NONE" factor="0.2"/>
        <cifLayer cif="CC"/>
        <pureLayerNode name="Cut-Node" port="cut">
            <lambda>2.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="Via" fun="CONTACT2" extraFun="connects-metal">
        <opaqueColor r="107" g="137" b="72"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="0.5" height="11.0" mode="NONE" factor="0.2"/>
        <cifLayer cif="CVA"/>
        <pureLayerNode name="Via-Node" style="CLOSED" port="via">
            <lambda>2.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="Passivation" fun="OVERGLASS">
        <opaqueColor r="0" g="0" b="0"/>
        <patternedOnDisplay>true</patternedOnDisplay>
        <patternedOnPrinter>true</patternedOnPrinter>
        <pattern>   XXX     XXX  </pattern>
        <pattern>  XXXXX   XXXXX </pattern>
        <pattern>  XX XX   XX XX </pattern>
        <pattern>  XXXXX   XXXXX </pattern>
        <pattern>   XXX     XXX  </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>   XXX     XXX  </pattern>
        <pattern>  XXXXX   XXXXX </pattern>
        <pattern>  XX XX   XX XX </pattern>
        <pattern>  XXXXX   XXXXX </pattern>
        <pattern>   XXX     XXX  </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="1.0" height="13.0" mode="NONE" factor="0.2"/>
        <cifLayer cif="COG"/>
        <pureLayerNode name="Passivation-Node" port="passivation">
            <lambda>8.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="Transistor" fun="TRANSISTOR">
        <opaqueColor r="200" g="200" b="200"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
    </layer>

    <layer name="Poly-Cut" fun="CONTACT1" extraFun="connects-poly">
        <opaqueColor r="107" g="137" b="72"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="2.0" height="9.5" mode="NONE" factor="0.2"/>
        <cifLayer cif="CCP"/>
        <pureLayerNode name="Poly-Cut-Node" port="polycut">
            <lambda>2.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="Active-Cut" fun="CONTACT1" extraFun="connects-diff">
        <opaqueColor r="107" g="137" b="72"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="2.0" height="9.0" mode="NONE" factor="0.2"/>
        <cifLayer cif="CCA"/>
        <pureLayerNode name="Active-Cut-Node" port="activecut">
            <lambda>2.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="S-Active-Well" fun="DIFFP">
        <transparentColor transparent="3"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>      XX      XX</pattern>
        <pattern> X  X    X  X   </pattern>
        <pattern>      XX      XX</pattern>
        <pattern>                </pattern>
        <pattern>  XX      XX    </pattern>
        <pattern>X    X  X    X  </pattern>
        <pattern>  XX      XX    </pattern>
        <pattern>                </pattern>
        <pattern>      XX      XX</pattern>
        <pattern> X  X    X  X   </pattern>
        <pattern>      XX      XX</pattern>
        <pattern>                </pattern>
        <pattern>  XX      XX    </pattern>
        <pattern>X    X  X    X  </pattern>
        <pattern>  XX      XX    </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="2.0" height="7.0" mode="NONE" factor="0.2"/>
        <cifLayer cif="CAA"/>
        <pureLayerNode name="S-Active-Well-Node" port="s-active-well">
            <lambda>8.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="Pad-Frame" fun="ART">
        <opaqueColor r="224" g="57" b="192"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <cifLayer cif="CX"/>
        <pureLayerNode name="Pad-Frame-Node" style="CLOSED" port="pad-frame">
            <lambda>8.0</lambda>
        </pureLayerNode>
    </layer>

    <!-- ******************** ARCS ******************** -->
    <arcProto name="Metal-1" fun="METAL1">
        <wipable/>
        <extended>true</extended>
        <fixedAngle>true</fixedAngle>
        <angleIncrement>90</angleIncrement>
        <antennaRatio>400.0</antennaRatio>
        <diskOffset untilVersion="2" width="1.5"/>
        <arcLayer layer="Metal-1" style="FILLED">
            <lambda>1.5</lambda>
        </arcLayer>
    </arcProto>

    <arcProto name="Metal-2" fun="METAL2">
        <wipable/>
        <extended>true</extended>
        <fixedAngle>true</fixedAngle>
        <angleIncrement>90</angleIncrement>
        <antennaRatio>400.0</antennaRatio>
        <diskOffset untilVersion="2" width="1.5"/>
        <arcLayer layer="Metal-2" style="FILLED">
            <lambda>1.5</lambda>
        </arcLayer>
    </arcProto>

    <arcProto name="Polysilicon" fun="POLY1">
        <wipable/>
        <extended>true</extended>
        <fixedAngle>true</fixedAngle>
        <angleIncrement>90</angleIncrement>
        <antennaRatio>200.0</antennaRatio>
        <diskOffset untilVersion="2" width="1.0"/>
        <arcLayer layer="Polysilicon" style="FILLED">
            <lambda>1.0</lambda>
        </arcLayer>
    </arcProto>

    <arcProto name="S-Active" fun="DIFFP">
        <wipable/>
        <extended>true</extended>
        <fixedAngle>true</fixedAngle>
        <angleIncrement>90</angleIncrement>
        <antennaRatio>200.0</antennaRatio>
        <diskOffset untilVersion="1" width="3.0"/>
        <diskOffset untilVersion="2" width="1.0"/>
        <arcLayer layer="S-Active" style="FILLED">
            <lambda>1.0</lambda>
        </arcLayer>
        <arcLayer layer="P-Select" style="FILLED">
            <lambda>3.0</lambda>
        </arcLayer>
    </arcProto>

    <arcProto name="D-Active" fun="DIFFN">
        <wipable/>
        <extended>true</extended>
        <fixedAngle>true</fixedAngle>
        <angleIncrement>90</angleIncrement>
        <antennaRatio>200.0</antennaRatio>
        <diskOffset untilVersion="1" width="5.0"/>
        <diskOffset untilVersion="2" width="1.0"/>
        <arcLayer layer="D-Active" style="FILLED">
            <lambda>1.0</lambda>
        </arcLayer>
        <arcLayer layer="P-Well" style="FILLED">
            <lambda>5.0</lambda>
        </arcLayer>
    </arcProto>

    <arcProto name="Active" fun="DIFF">
        <wipable/>
        <extended>true</extended>
        <fixedAngle>true</fixedAngle>
        <angleIncrement>90</angleIncrement>
        <antennaRatio>200.0</antennaRatio>
        <diskOffset untilVersion="2" width="1.0"/>
        <arcLayer layer="D-Active" style="FILLED">
            <lambda>1.0</lambda>
        </arcLayer>
        <arcLayer layer="S-Active" style="FILLED">
            <lambda>1.0</lambda>
        </arcLayer>
    </arcProto>

    <!-- ******************** NODES ******************** -->
    <primitiveNode name="Metal-1-Pin" fun="PIN">
        <shrinkArcs/>
        <diskOffset untilVersion="2" x="1.5" y="1.5"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-1.5" khx="1.5" kly="-1.5" khy="1.5"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Metal-1" style="CROSSED">
            <box>
                <lambdaBox klx="-1.5" khx="1.5" kly="-1.5" khy="1.5"/>
            </box>
        </nodeLayer>
        <primitivePort name="metal-1">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Metal-1</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Metal-2-Pin" fun="PIN">
        <shrinkArcs/>
        <diskOffset untilVersion="2" x="1.5" y="1.5"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-1.5" khx="1.5" kly="-1.5" khy="1.5"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Metal-2" style="CROSSED">
            <box>
                <lambdaBox klx="-1.5" khx="1.5" kly="-1.5" khy="1.5"/>
            </box>
        </nodeLayer>
        <primitivePort name="metal-2">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Metal-2</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Polysilicon-Pin" fun="PIN">
        <shrinkArcs/>
        <diskOffset untilVersion="2" x="1.0" y="1.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Polysilicon" style="CROSSED">
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeLayer>
        <primitivePort name="polysilicon">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="S-Active-Pin" fun="PIN">
        <shrinkArcs/>
        <diskOffset untilVersion="1" x="3.0" y="3.0"/>
        <diskOffset untilVersion="2" x="1.0" y="1.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="S-Active" style="CROSSED">
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="P-Select" style="CROSSED">
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-3.0" khy="3.0"/>
            </box>
        </nodeLayer>
        <primitivePort name="s-active">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>S-Active</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="D-Active-Pin" fun="PIN">
        <shrinkArcs/>
        <diskOffset untilVersion="1" x="5.0" y="5.0"/>
        <diskOffset untilVersion="2" x="1.0" y="1.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="D-Active" style="CROSSED">
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="P-Well" style="CROSSED">
            <box>
                <lambdaBox klx="-5.0" khx="5.0" kly="-5.0" khy="5.0"/>
            </box>
        </nodeLayer>
        <primitivePort name="d-active">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>D-Active</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Active-Pin" fun="PIN">
        <shrinkArcs/>
        <diskOffset untilVersion="2" x="1.0" y="1.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="D-Active" style="CROSSED">
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="S-Active" style="CROSSED">
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeLayer>
        <primitivePort name="active">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Active</portArc>
            <portArc>S-Active</portArc>
            <portArc>D-Active</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Metal-1-S-Active-Con" fun="CONTACT">
        <diskOffset untilVersion="1" x="5.0" y="5.0"/>
        <diskOffset untilVersion="2" x="3.0" y="3.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-3.0" khy="3.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Metal-1" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="S-Active" style="FILLED">
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-3.0" khy="3.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="P-Select" style="FILLED">
            <box>
                <lambdaBox klx="-5.0" khx="5.0" kly="-5.0" khy="5.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Active-Cut" style="FILLED">
            <multicutbox sizex="2.0" sizey="2.0" sep1d="2.0" sep2d="2.0">
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </multicutbox>
        </nodeLayer>
        <primitivePort name="metal-1-s-act">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
            <portArc>S-Active</portArc>
            <portArc>Metal-1</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Metal-1-D-Active-Con" fun="CONTACT">
        <diskOffset untilVersion="1" x="7.0" y="7.0"/>
        <diskOffset untilVersion="2" x="3.0" y="3.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-3.0" khy="3.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Metal-1" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="D-Active" style="FILLED">
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-3.0" khy="3.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="P-Well" style="FILLED">
            <box>
                <lambdaBox klx="-7.0" khx="7.0" kly="-7.0" khy="7.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Active-Cut" style="FILLED">
            <multicutbox sizex="2.0" sizey="2.0" sep1d="2.0" sep2d="2.0">
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </multicutbox>
        </nodeLayer>
        <primitivePort name="metal-1-d-act">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
            <portArc>D-Active</portArc>
            <portArc>Metal-1</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Metal-1-Polysilicon-Con" fun="CONTACT">
        <diskOffset untilVersion="2" x="3.0" y="3.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-3.0" khy="3.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Metal-1" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Polysilicon" style="FILLED">
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-3.0" khy="3.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Poly-Cut" style="FILLED">
            <multicutbox sizex="2.0" sizey="2.0" sep1d="2.0" sep2d="2.0">
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </multicutbox>
        </nodeLayer>
        <primitivePort name="metal-1-polysilicon">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
            <portArc>Polysilicon</portArc>
            <portArc>Metal-1</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="S-Transistor" fun="TRAPMOS">
        <diskOffset untilVersion="1" x="3.0" y="5.0"/>
        <diskOffset untilVersion="2" x="1.0" y="1.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Polysilicon" style="FILLED">
            <serpbox lWidth="1.0" rWidth="1.0" tExtent="2.0" bExtent="2.0">
                <lambdaBox klx="-3.0" khx="3.0" kly="-1.0" khy="1.0"/>
            </serpbox>
        </nodeLayer>
        <nodeLayer layer="S-Active" style="FILLED" electrical="false">
            <serpbox lWidth="3.0" rWidth="3.0" tExtent="0.0" bExtent="0.0">
                <lambdaBox klx="-1.0" khx="1.0" kly="-3.0" khy="3.0"/>
            </serpbox>
        </nodeLayer>
        <nodeLayer layer="P-Select" style="FILLED" portNum="-1">
            <serpbox lWidth="5.0" rWidth="5.0" tExtent="2.0" bExtent="2.0">
                <lambdaBox klx="-3.0" khx="3.0" kly="-5.0" khy="5.0"/>
            </serpbox>
        </nodeLayer>
        <nodeLayer layer="S-Active" style="FILLED" portNum="3" electrical="true">
            <serpbox kly="0.0" lWidth="3.0" rWidth="0.0" tExtent="0.0" bExtent="0.0">
                <lambdaBox klx="-1.0" khx="1.0" kly="0.0" khy="3.0"/>
            </serpbox>
        </nodeLayer>
        <nodeLayer layer="S-Active" style="FILLED" portNum="1" electrical="true">
            <serpbox khy="0.0" lWidth="0.0" rWidth="3.0" tExtent="0.0" bExtent="0.0">
                <lambdaBox klx="-1.0" khx="1.0" kly="-3.0" khy="0.0"/>
            </serpbox>
        </nodeLayer>
        <primitivePort name="s-trans-poly-left">
            <portAngle primary="180" range="90"/>
            <portTopology>0</portTopology>
            <box khx="-1.0">
                <lambdaBox klx="-3.0" khx="-2.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="s-trans-diff-top">
            <portAngle primary="90" range="90"/>
            <portTopology>1</portTopology>
            <box kly="1.0">
                <lambdaBox klx="0.0" khx="0.0" kly="2.0" khy="3.0"/>
            </box>
            <portArc>S-Active</portArc>
        </primitivePort>
        <primitivePort name="s-trans-poly-right">
            <portAngle primary="0" range="90"/>
            <portTopology>0</portTopology>
            <box klx="1.0">
                <lambdaBox klx="2.0" khx="3.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="s-trans-diff-bottom">
            <portAngle primary="270" range="90"/>
            <portTopology>3</portTopology>
            <box khy="-1.0">
                <lambdaBox klx="0.0" khx="0.0" kly="-3.0" khy="-2.0"/>
            </box>
            <portArc>S-Active</portArc>
        </primitivePort>
        <serpTrans>
            <specialValue>4.0</specialValue>
            <specialValue>1.0</specialValue>
            <specialValue>1.0</specialValue>
            <specialValue>2.0</specialValue>
            <specialValue>1.0</specialValue>
            <specialValue>1.0</specialValue>
        </serpTrans>
    </primitiveNode>

    <primitiveNode name="D-Transistor" fun="TRANMOS">
        <diskOffset untilVersion="1" x="5.0" y="7.0"/>
        <diskOffset untilVersion="2" x="1.0" y="1.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Polysilicon" style="FILLED">
            <serpbox lWidth="1.0" rWidth="1.0" tExtent="2.0" bExtent="2.0">
                <lambdaBox klx="-3.0" khx="3.0" kly="-1.0" khy="1.0"/>
            </serpbox>
        </nodeLayer>
        <nodeLayer layer="D-Active" style="FILLED" electrical="false">
            <serpbox lWidth="3.0" rWidth="3.0" tExtent="0.0" bExtent="0.0">
                <lambdaBox klx="-1.0" khx="1.0" kly="-3.0" khy="3.0"/>
            </serpbox>
        </nodeLayer>
        <nodeLayer layer="P-Well" style="FILLED" portNum="-1">
            <serpbox lWidth="7.0" rWidth="7.0" tExtent="4.0" bExtent="4.0">
                <lambdaBox klx="-5.0" khx="5.0" kly="-7.0" khy="7.0"/>
            </serpbox>
        </nodeLayer>
        <nodeLayer layer="D-Active" style="FILLED" portNum="3" electrical="true">
            <serpbox kly="0.0" lWidth="3.0" rWidth="0.0" tExtent="0.0" bExtent="0.0">
                <lambdaBox klx="-1.0" khx="1.0" kly="0.0" khy="3.0"/>
            </serpbox>
        </nodeLayer>
        <nodeLayer layer="D-Active" style="FILLED" portNum="1" electrical="true">
            <serpbox khy="0.0" lWidth="0.0" rWidth="3.0" tExtent="0.0" bExtent="0.0">
                <lambdaBox klx="-1.0" khx="1.0" kly="-3.0" khy="0.0"/>
            </serpbox>
        </nodeLayer>
        <primitivePort name="d-trans-poly-left">
            <portAngle primary="180" range="90"/>
            <portTopology>0</portTopology>
            <box khx="-1.0">
                <lambdaBox klx="-3.0" khx="-2.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="d-trans-diff-top">
            <portAngle primary="90" range="90"/>
            <portTopology>1</portTopology>
            <box kly="1.0">
                <lambdaBox klx="0.0" khx="0.0" kly="2.0" khy="3.0"/>
            </box>
            <portArc>D-Active</portArc>
        </primitivePort>
        <primitivePort name="d-trans-poly-right">
            <portAngle primary="0" range="90"/>
            <portTopology>0</portTopology>
            <box klx="1.0">
                <lambdaBox klx="2.0" khx="3.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="d-trans-diff-bottom">
            <portAngle primary="270" range="90"/>
            <portTopology>3</portTopology>
            <box khy="-1.0">
                <lambdaBox klx="0.0" khx="0.0" kly="-3.0" khy="-2.0"/>
            </box>
            <portArc>D-Active</portArc>
        </primitivePort>
        <serpTrans>
            <specialValue>4.0</specialValue>
            <specialValue>1.0</specialValue>
            <specialValue>1.0</specialValue>
            <specialValue>2.0</specialValue>
            <specialValue>1.0</specialValue>
            <specialValue>1.0</specialValue>
        </serpTrans>
    </primitiveNode>

    <primitiveNode name="Metal-1-Metal-2-Con" fun="CONTACT">
        <diskOffset untilVersion="2" x="2.0" y="2.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Metal-1" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Metal-2" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Via" style="CLOSED">
            <multicutbox sizex="2.0" sizey="2.0" sep1d="2.0" sep2d="2.0">
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </multicutbox>
        </nodeLayer>
        <primitivePort name="metal-1-metal-2">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="-0.5" khx="0.5" kly="-0.5" khy="0.5"/>
            </box>
            <portArc>Metal-1</portArc>
            <portArc>Metal-2</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Metal-1-Well-Con" fun="WELL">
        <diskOffset untilVersion="1" x="7.0" y="7.0"/>
        <diskOffset untilVersion="2" x="3.0" y="3.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-3.0" khy="3.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="S-Active-Well" style="FILLED">
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-3.0" khy="3.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Metal-1" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="P-Well" style="FILLED">
            <box>
                <lambdaBox klx="-7.0" khx="7.0" kly="-7.0" khy="7.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="P-Select" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Active-Cut" style="FILLED">
            <multicutbox sizex="2.0" sizey="2.0" sep1d="2.0" sep2d="2.0">
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </multicutbox>
        </nodeLayer>
        <primitivePort name="metal-1-well">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="-1.5" khx="1.5" kly="-1.5" khy="1.5"/>
            </box>
            <portArc>Metal-1</portArc>
            <portArc>Active</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Metal-1-Substrate-Con" fun="SUBSTRATE">
        <diskOffset untilVersion="2" x="3.0" y="3.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-3.0" khy="3.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Metal-1" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="D-Active" style="FILLED">
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-3.0" khy="3.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Active-Cut" style="FILLED">
            <multicutbox sizex="2.0" sizey="2.0" sep1d="2.0" sep2d="2.0">
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </multicutbox>
        </nodeLayer>
        <primitivePort name="metal-1-substrate">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="-1.5" khx="1.5" kly="-1.5" khy="1.5"/>
            </box>
            <portArc>Metal-1</portArc>
            <portArc>Active</portArc>
        </primitivePort>
    </primitiveNode>

    <spiceHeader level="1">
        <spiceLine line="*CMOS/BULK-NWELL (PRELIMINARY PARAMETERS)"/>
        <spiceLine line=".OPTIONS NOMOD DEFL=3UM DEFW=3UM DEFAD=70P DEFAS=70P LIMPTS=1000"/>
        <spiceLine line="+ITL4=1000 ITL5=0 RELTOL=0.01 ABSTOL=500PA VNTOL=500UV LVLTIM=2"/>
        <spiceLine line="+LVLCOD=1"/>
        <spiceLine line=".MODEL N NMOS LEVEL=1"/>
        <spiceLine line="+KP=60E-6 VTO=0.7 GAMMA=0.3 LAMBDA=0.05 PHI=0.6"/>
        <spiceLine line="+LD=0.4E-6 TOX=40E-9 CGSO=2.0E-10 CGDO=2.0E-10 CJ=.2MF/M^2"/>
        <spiceLine line=".MODEL P PMOS LEVEL=1"/>
        <spiceLine line="+KP=20E-6 VTO=0.7 GAMMA=0.4 LAMBDA=0.05 PHI=0.6"/>
        <spiceLine line="+LD=0.6E-6 TOX=40E-9 CGSO=3.0E-10 CGDO=3.0E-10 CJ=.2MF/M^2"/>
        <spiceLine line=".MODEL DIFFCAP D CJO=.2MF/M^2"/>
    </spiceHeader>

    <spiceHeader level="2">
        <spiceLine line="* MOSIS 3u CMOS PARAMS"/>
        <spiceLine line=".OPTIONS NOMOD DEFL=2UM DEFW=6UM DEFAD=100P DEFAS=100P"/>
        <spiceLine line="+LIMPTS=1000 ITL4=1000 ITL5=0 ABSTOL=500PA VNTOL=500UV"/>
        <spiceLine line="* Note that ITL5=0 sets ITL5 to infinity"/>
        <spiceLine line=".MODEL N NMOS LEVEL=2 LD=0.3943U TOX=502E-10"/>
        <spiceLine line="+NSUB=1.22416E+16 VTO=0.756 KP=4.224E-05 GAMMA=0.9241"/>
        <spiceLine line="+PHI=0.6 UO=623.661 UEXP=8.328627E-02 UCRIT=54015.0"/>
        <spiceLine line="+DELTA=5.218409E-03 VMAX=50072.2 XJ=0.4U LAMBDA=2.975321E-02"/>
        <spiceLine line="+NFS=4.909947E+12 NEFF=1.001E-02 NSS=0.0 TPG=1.0"/>
        <spiceLine line="+RSH=20.37 CGDO=3.1E-10 CGSO=3.1E-10"/>
        <spiceLine line="+CJ=3.205E-04 MJ=0.4579 CJSW=4.62E-10 MJSW=0.2955 PB=0.7"/>
        <spiceLine line=".MODEL P PMOS LEVEL=2 LD=0.2875U TOX=502E-10"/>
        <spiceLine line="+NSUB=1.715148E+15 VTO=-0.7045 KP=1.686E-05 GAMMA=0.3459"/>
        <spiceLine line="+PHI=0.6 UO=248.933 UEXP=1.02652 UCRIT=182055.0"/>
        <spiceLine line="+DELTA=1.0E-06 VMAX=100000.0 XJ=0.4U LAMBDA=1.25919E-02"/>
        <spiceLine line="+NFS=1.0E+12 NEFF=1.001E-02 NSS=0.0 TPG=-1.0"/>
        <spiceLine line="+RSH=79.10 CGDO=2.89E-10 CGSO=2.89E-10"/>
        <spiceLine line="+CJ=1.319E-04 MJ=0.4125 CJSW=3.421E-10 MJSW=0.198 PB=0.66"/>
        <spiceLine line=".TEMP 25.0"/>
    </spiceHeader>

    <menuPalette numColumns="3">

        <menuBox>
            <menuNode>S-Transistor</menuNode>
        </menuBox>
        <menuBox>
            <menuNode>D-Transistor</menuNode>
        </menuBox>
        <menuBox>
            <menuNode>Metal-1-Substrate-Con</menuNode>
        </menuBox>

        <menuBox>
            <menuArc>S-Active</menuArc>
        </menuBox>
        <menuBox>
            <menuNodeInst protoName="S-Active-Pin" function="PIN"/>
        </menuBox>
        <menuBox>
            <menuNode>Metal-1-S-Active-Con</menuNode>
        </menuBox>

        <menuBox>
            <menuArc>D-Active</menuArc>
        </menuBox>
        <menuBox>
            <menuNodeInst protoName="D-Active-Pin" function="PIN"/>
        </menuBox>
        <menuBox>
            <menuNode>Metal-1-D-Active-Con</menuNode>
        </menuBox>

        <menuBox>
            <menuArc>Active</menuArc>
        </menuBox>
        <menuBox>
            <menuNodeInst protoName="Active-Pin" function="PIN"/>
        </menuBox>
        <menuBox>
            <menuNode>Metal-1-Well-Con</menuNode>
        </menuBox>

        <menuBox>
            <menuArc>Polysilicon</menuArc>
        </menuBox>
        <menuBox>
            <menuNodeInst protoName="Polysilicon-Pin" function="PIN"/>
        </menuBox>
        <menuBox>
            <menuNode>Metal-1-Polysilicon-Con</menuNode>
        </menuBox>

        <menuBox>
            <menuArc>Metal-1</menuArc>
        </menuBox>
        <menuBox>
            <menuNodeInst protoName="Metal-1-Pin" function="PIN"/>
        </menuBox>
        <menuBox>
            <menuNode>Metal-1-Metal-2-Con</menuNode>
        </menuBox>

        <menuBox>
            <menuArc>Metal-2</menuArc>
        </menuBox>
        <menuBox>
            <menuNodeInst protoName="Metal-2-Pin" function="PIN"/>
        </menuBox>
        <menuBox/>

        <menuBox>
            <menuText>Pure</menuText>
        </menuBox>
        <menuBox>
            <menuText>Misc.</menuText>
        </menuBox>
        <menuBox>
            <menuText>Cell</menuText>
        </menuBox>

    </menuPalette>

    <Foundry name="MOSIS">

        <layerGds layer="Metal-1" gds="10"/>
        <layerGds layer="Metal-2" gds="19"/>
        <layerGds layer="Polysilicon" gds="12"/>
        <layerGds layer="S-Active" gds="2"/>
        <layerGds layer="D-Active" gds="2"/>
        <layerGds layer="P-Select" gds="8"/>
        <layerGds layer="N-Select" gds="7"/>
        <layerGds layer="P-Well" gds="1"/>
        <layerGds layer="N-Well" gds="1"/>
        <layerGds layer="Contact-Cut" gds="9"/>
        <layerGds layer="Via" gds="18"/>
        <layerGds layer="Passivation" gds="11"/>
        <layerGds layer="Poly-Cut" gds="9"/>
        <layerGds layer="Active-Cut" gds="9"/>
        <layerGds layer="S-Active-Well" gds="2"/>

        <LayerRule ruleName="W_10" layerName="Via" type="MINWID" when="ALL" value="2.0"/>
        <LayerRule ruleName="W_13" layerName="Poly-Cut" type="MINWID" when="ALL" value="2.0"/>
        <LayerRule ruleName="W_14" layerName="Active-Cut" type="MINWID" when="ALL" value="2.0"/>
        <LayersRule ruleName="U_0_0" layerNames="{Metal-1,Metal-1}" type="UCONSPA" when="ALL" value="3.0"/>
        <LayersRule ruleName="U_1_1" layerNames="{Metal-2,Metal-2}" type="UCONSPA" when="ALL" value="4.0"/>
        <LayersRule ruleName="U_2_2" layerNames="{Polysilicon,Polysilicon}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="C_2_3" layerNames="{Polysilicon,S-Active}" type="CONSPA" when="ALL" value="1.0"/>
        <LayersRule ruleName="U_2_3" layerNames="{Polysilicon,S-Active}" type="UCONSPA" when="ALL" value="1.0"/>
        <LayersRule ruleName="C_2_4" layerNames="{Polysilicon,D-Active}" type="CONSPA" when="ALL" value="1.0"/>
        <LayersRule ruleName="U_2_4" layerNames="{Polysilicon,D-Active}" type="UCONSPA" when="ALL" value="1.0"/>
        <LayersRule ruleName="U_2_10" layerNames="{Polysilicon,Via}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="U_2_13" layerNames="{Polysilicon,Poly-Cut}" type="UCONSPA" when="ALL" value="4.0"/>
        <LayersRule ruleName="U_3_3" layerNames="{S-Active,S-Active}" type="UCONSPA" when="ALL" value="3.0"/>
        <LayersRule ruleName="U_3_4" layerNames="{S-Active,D-Active}" type="UCONSPA" when="ALL" value="3.0"/>
        <LayersRule ruleName="U_3_7" layerNames="{S-Active,P-Well}" type="UCONSPA" when="ALL" value="4.0"/>
        <LayersRule ruleName="U_3_10" layerNames="{S-Active,Via}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="U_3_14" layerNames="{S-Active,Active-Cut}" type="UCONSPA" when="ALL" value="5.0"/>
        <LayersRule ruleName="U_4_4" layerNames="{D-Active,D-Active}" type="UCONSPA" when="ALL" value="3.0"/>
        <LayersRule ruleName="U_4_10" layerNames="{D-Active,Via}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="U_4_14" layerNames="{D-Active,Active-Cut}" type="UCONSPA" when="ALL" value="5.0"/>
        <LayersRule ruleName="U_9_9" layerNames="{Contact-Cut,Contact-Cut}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="U_9_10" layerNames="{Contact-Cut,Via}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="C_10_10" layerNames="{Via,Via}" type="CONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="U_10_10" layerNames="{Via,Via}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="U_10_12" layerNames="{Via,Transistor}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="C_10_13" layerNames="{Via,Poly-Cut}" type="CONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="C_10_14" layerNames="{Via,Active-Cut}" type="CONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="C_13_13" layerNames="{Poly-Cut,Poly-Cut}" type="CONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="C_14_14" layerNames="{Active-Cut,Active-Cut}" type="CONSPA" when="ALL" value="2.0"/>
    </Foundry>
</technology>
