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

<!--
 *
 * Electric(tm) VLSI Design System
 *
 * File: nmos.xml
 * nmos technology description
 * Generated automatically from a library
 *
 * Copyright (c) 2008, Static Free Software. All rights reserved.
 *
 * 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 this program.  If not, see <http://www.gnu.org/licenses/>.
 */
-->

<technology name="nmos"
     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>nMOS</shortName>
    <description>nMOS (Mead &amp; Conway abstract rules)</description>
    <version tech="1" electric="8.05g"/>
    <version tech="2" electric="8.05o"/>
    <numMetals min="1" max="1" default="1"/>
    <scale value="2000.0" relevant="true"/>
    <defaultFoundry value="NONE"/>
    <minResistance value="50.0"/>
    <minCapacitance value="50.0"/>

    <!-- Transparent layers -->
    <transparentLayer transparent="1">
        <r>0</r>
        <g>0</g>
        <b>200</b>
    </transparentLayer>
    <transparentLayer transparent="2">
        <r>220</r>
        <g>0</g>
        <b>120</b>
    </transparentLayer>
    <transparentLayer transparent="3">
        <r>70</r>
        <g>250</g>
        <b>70</b>
    </transparentLayer>
    <transparentLayer transparent="4">
        <r>250</r>
        <g>250</g>
        <b>0</b>
    </transparentLayer>
    <transparentLayer transparent="5">
        <r>180</r>
        <g>180</g>
        <b>180</b>
    </transparentLayer>

    <!-- **************************************** LAYERS **************************************** -->
    <layer name="Metal" fun="METAL1">
        <transparentColor transparent="1"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>X   X   X   X   </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="NM"/>
        <parasitics resistance="0.03" capacitance="0.03" edgeCapacitance="0.0" inductanceAreaFactor="0" inductanceLengthFactor="0"/>
        <pureLayerNode name="Metal-Node" port="metal">
            <lambda>3.0</lambda>
            <portArc>Metal</portArc>
        </pureLayerNode>
    </layer>

    <layer name="Polysilicon" fun="POLY1">
        <transparentColor transparent="2"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>   X   X   X   X</pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>  X   X   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="NP"/>
        <parasitics resistance="50.0" capacitance="0.04" edgeCapacitance="0.0" inductanceAreaFactor="0" inductanceLengthFactor="0"/>
        <pureLayerNode name="Polysilicon-Node" port="polysilicon">
            <lambda>2.0</lambda>
            <portArc>Polysilicon</portArc>
        </pureLayerNode>
    </layer>

    <layer name="Diffusion" fun="DIFF">
        <transparentColor transparent="3"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern> X   X   X   X  </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>   X   X   X   X</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="ND"/>
        <parasitics resistance="10.0" capacitance="0.1" edgeCapacitance="0.0" inductanceAreaFactor="0" inductanceLengthFactor="0"/>
        <pureLayerNode name="Diffusion-Node" port="diffusion">
            <lambda>2.0</lambda>
            <portArc>Diffusion</portArc>
        </pureLayerNode>
    </layer>

    <layer name="Implant" fun="IMPLANT" extraFun="depletion_heavy">
        <transparentColor transparent="4"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>   X   X   X   X</pattern>
        <pattern>                </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="NI"/>
        <pureLayerNode name="Implant-Node" port="implant">
            <lambda>2.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="Contact-Cut" fun="CONTACT1">
        <opaqueColor r="180" g="130" b="0"/>
        <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="NC"/>
        <pureLayerNode name="Cut-Node" style="CROSSED" port="cut">
            <lambda>2.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="Buried-Contact" fun="IMPLANT">
        <transparentColor transparent="5"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>X   X   X   X   </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern> X   X   X   X  </pattern>
        <pattern>X   X   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="NB"/>
        <pureLayerNode name="Buried-Node" port="buried">
            <lambda>2.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="Overglass" fun="OVERGLASS">
        <opaqueColor r="0" g="0" b="0"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern> X X X X X X X X</pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern> X X X X X X X X</pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern> X X X X X X X X</pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern>                </pattern>
        <pattern>  X   X   X   X </pattern>
        <pattern> X X X X X X X X</pattern>
        <pattern>  X   X   X   X </pattern>
        <outlined>NOPAT</outlined>
        <opacity>0.8</opacity>
        <foreground>true</foreground>
        <display3D thick="2.0" height="13.0" mode="NONE" factor="0.2"/>
        <cifLayer cif="NG"/>
        <pureLayerNode name="Overglass-Node" port="overglass">
            <lambda>2.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="Light-Implant" fun="IMPLANT" extraFun="depletion_light">
        <opaqueColor r="150" g="90" b="0"/>
        <patternedOnDisplay>false</patternedOnDisplay>
        <patternedOnPrinter>false</patternedOnPrinter>
        <pattern>                </pattern>
        <pattern>XX  XX  XX  XX  </pattern>
        <pattern>                </pattern>
        <pattern>XX  XX  XX  XX  </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>XX  XX  XX  XX  </pattern>
        <pattern>                </pattern>
        <pattern>XX  XX  XX  XX  </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </pattern>
        <pattern>                </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="NJ"/>
        <pureLayerNode name="Light-Implant-Node" port="light-implant">
            <lambda>2.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="Oversize-Contact" fun="CONTACT3">
        <opaqueColor r="0" g="0" b="0"/>
        <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="1.0" height="12.0" mode="NONE" factor="0.2"/>
        <cifLayer cif="NO"/>
        <pureLayerNode name="Oversize-Cut-Node" style="CLOSED" port="oversize-contact">
            <lambda>2.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="Hard-Enhancement" fun="IMPLANT" extraFun="enhancement_heavy">
        <opaqueColor r="0" g="0" b="0"/>
        <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="5.0" height="4.0" mode="SCREEN_DOOR" factor="0.4"/>
        <cifLayer cif="NE"/>
        <pureLayerNode name="Hard-Enhancement-Node" port="hard-enhancement">
            <lambda>2.0</lambda>
        </pureLayerNode>
    </layer>

    <layer name="Light-Enhancement" fun="IMPLANT" extraFun="enhancement_light">
        <opaqueColor r="0" g="0" b="0"/>
        <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="5.0" height="4.0" mode="SCREEN_DOOR" factor="0.4"/>
        <cifLayer cif="NF"/>
        <pureLayerNode name="Light-Enhancement-Node" port="light-enhancement">
            <lambda>2.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>

    <!-- ******************** ARCS ******************** -->
    <arcProto name="Metal" 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" 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="Diffusion" fun="DIFF">
        <wipable/>
        <extended>true</extended>
        <fixedAngle>true</fixedAngle>
        <angleIncrement>90</angleIncrement>
        <antennaRatio>200.0</antennaRatio>
        <diskOffset untilVersion="2" width="1.0"/>
        <arcLayer layer="Diffusion" style="FILLED">
            <lambda>1.0</lambda>
        </arcLayer>
    </arcProto>

    <!-- ******************** NODES ******************** -->
    <primitiveNode name="Metal-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" style="CROSSED">
            <box>
                <lambdaBox klx="-1.5" khx="1.5" kly="-1.5" khy="1.5"/>
            </box>
        </nodeLayer>
        <primitivePort name="metal">
            <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</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="Diffusion-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="Diffusion" style="CROSSED">
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeLayer>
        <primitivePort name="diffusion">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="0.0" khx="0.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Metal-Polysilicon-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="Polysilicon" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Metal" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Contact-Cut" style="CROSSED">
            <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-poly">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
            <portArc>Metal</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Metal-Diffusion-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="Diffusion" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Metal" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Contact-Cut" style="CROSSED">
            <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-diff">
            <portAngle primary="0" range="180"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="1.0"/>
            </box>
            <portArc>Diffusion</portArc>
            <portArc>Metal</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Butting-Con" fun="CONNECT">
        <diskOffset untilVersion="2" x="3.0" y="2.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Diffusion" style="FILLED">
            <box khx="0.0">
                <lambdaBox klx="-3.0" khx="1.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Metal" style="FILLED">
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Polysilicon" style="FILLED">
            <box klx="0.0">
                <lambdaBox klx="0.0" khx="3.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Contact-Cut" style="CROSSED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeLayer>
        <primitivePort name="but-diff">
            <portAngle primary="180" range="90"/>
            <portTopology>0</portTopology>
            <box khx="-1.0">
                <lambdaBox klx="-2.0" khx="0.0" kly="-1.0" khy="1.0"/>
            </box>
            <portArc>Diffusion</portArc>
            <portArc>Metal</portArc>
        </primitivePort>
        <primitivePort name="but-poly">
            <portAngle primary="0" range="90"/>
            <portTopology>0</portTopology>
            <box klx="1.0">
                <lambdaBox klx="1.0" khx="2.0" kly="-1.0" khy="1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
            <portArc>Metal</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Buried-Con-Cross" fun="CONNECT">
        <diskOffset untilVersion="2" x="3.0" y="2.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Polysilicon" style="FILLED">
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Diffusion" style="FILLED">
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Buried-Contact" style="FILLED">
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <primitivePort name="bur-diff-right">
            <portAngle primary="0" range="45"/>
            <portTopology>0</portTopology>
            <box klx="1.0">
                <lambdaBox klx="2.0" khx="2.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
        <primitivePort name="bur-diff-left">
            <portAngle primary="180" range="45"/>
            <portTopology>0</portTopology>
            <box khx="-1.0">
                <lambdaBox klx="-2.0" khx="-2.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
        <primitivePort name="bur-poly-bottom">
            <portAngle primary="270" range="45"/>
            <portTopology>0</portTopology>
            <box khy="-1.0">
                <lambdaBox klx="0.0" khx="0.0" kly="-1.0" khy="-1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="bur-poly-top">
            <portAngle primary="90" range="45"/>
            <portTopology>0</portTopology>
            <box kly="1.0">
                <lambdaBox klx="0.0" khx="0.0" kly="1.0" khy="1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Transistor" fun="TRANMOS">
        <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="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="Diffusion" style="FILLED" portNum="1" electrical="true">
            <serpbox kly="1.0" lWidth="3.0" rWidth="0.0" tExtent="0.0" bExtent="0.0">
                <lambdaBox klx="-1.0" khx="1.0" kly="1.0" khy="3.0"/>
            </serpbox>
        </nodeLayer>
        <nodeLayer layer="Diffusion" style="FILLED" portNum="3" electrical="true">
            <serpbox khy="-1.0" lWidth="0.0" rWidth="3.0" tExtent="0.0" bExtent="0.0">
                <lambdaBox klx="-1.0" khx="1.0" kly="-3.0" khy="-1.0"/>
            </serpbox>
        </nodeLayer>
        <nodeLayer layer="Diffusion" 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>
        <primitivePort name="trans-poly-left">
            <portAngle primary="180" range="85"/>
            <portTopology>0</portTopology>
            <box khx="-1.0">
                <lambdaBox klx="-2.0" khx="-2.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="trans-diff-top">
            <portAngle primary="90" range="85"/>
            <portTopology>1</portTopology>
            <box kly="1.0">
                <lambdaBox klx="0.0" khx="0.0" kly="2.0" khy="2.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
        <primitivePort name="trans-poly-right">
            <portAngle primary="0" range="85"/>
            <portTopology>0</portTopology>
            <box klx="1.0">
                <lambdaBox klx="2.0" khx="2.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="trans-diff-bottom">
            <portAngle primary="270" range="85"/>
            <portTopology>3</portTopology>
            <box khy="-1.0">
                <lambdaBox klx="0.0" khx="0.0" kly="-2.0" khy="-2.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
        <serpTrans>
            <specialValue>3.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="Implant-Transistor" fun="TRADMOS">
        <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="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="Diffusion" 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="Implant" style="FILLED" portNum="-1">
            <serpbox lWidth="2.5" rWidth="2.5" tExtent="1.5" bExtent="1.5">
                <lambdaBox klx="-2.5" khx="2.5" kly="-2.5" khy="2.5"/>
            </serpbox>
        </nodeLayer>
        <nodeLayer layer="Diffusion" style="FILLED" portNum="1" electrical="true">
            <serpbox kly="1.0" lWidth="3.0" rWidth="0.0" tExtent="0.0" bExtent="0.0">
                <lambdaBox klx="-1.0" khx="1.0" kly="1.0" khy="3.0"/>
            </serpbox>
        </nodeLayer>
        <nodeLayer layer="Diffusion" style="FILLED" portNum="3" electrical="true">
            <serpbox khy="-1.0" lWidth="0.0" rWidth="3.0" tExtent="0.0" bExtent="0.0">
                <lambdaBox klx="-1.0" khx="1.0" kly="-3.0" khy="-1.0"/>
            </serpbox>
        </nodeLayer>
        <primitivePort name="imp-trans-poly-left">
            <portAngle primary="180" range="85"/>
            <portTopology>0</portTopology>
            <box khx="-1.0">
                <lambdaBox klx="-2.0" khx="-2.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="imp-trans-diff-top">
            <portAngle primary="90" range="85"/>
            <portTopology>1</portTopology>
            <box kly="1.0">
                <lambdaBox klx="0.0" khx="0.0" kly="2.0" khy="2.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
        <primitivePort name="imp-trans-poly-right">
            <portAngle primary="0" range="85"/>
            <portTopology>0</portTopology>
            <box klx="1.0">
                <lambdaBox klx="2.0" khx="2.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="imp-trans-diff-bottom">
            <portAngle primary="270" range="85"/>
            <portTopology>3</portTopology>
            <box khy="-1.0">
                <lambdaBox klx="0.0" khx="0.0" kly="-2.0" khy="-2.0"/>
            </box>
            <portArc>Diffusion</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="Buried-Con-Cross-S" fun="CONNECT">
        <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="Diffusion" style="FILLED">
            <box>
                <lambdaBox klx="-2.0" khx="2.0" kly="-1.0" khy="1.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Buried-Contact" 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="0.0" khx="2.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <primitivePort name="bur-diff-left">
            <portAngle primary="180" range="45"/>
            <portTopology>0</portTopology>
            <box khx="-1.0">
                <lambdaBox klx="-1.0" khx="-1.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
        <primitivePort name="bur-poly-bottom">
            <portAngle primary="270" range="45"/>
            <portTopology>0</portTopology>
            <box khy="-1.0">
                <lambdaBox klx="1.0" khx="1.0" kly="-1.0" khy="-1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="bur-poly-top">
            <portAngle primary="90" range="45"/>
            <portTopology>0</portTopology>
            <box kly="1.0">
                <lambdaBox klx="1.0" khx="1.0" kly="1.0" khy="1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="bur-end-right">
            <portAngle primary="0" range="45"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="1.0" khx="1.0" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Diffusion</portArc>
            <portArc>Polysilicon</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Buried-Con-Cross-T" fun="CONNECT">
        <diskOffset untilVersion="2" x="2.5" y="2.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-2.5" khx="2.5" kly="-2.0" khy="2.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Diffusion" style="FILLED">
            <box>
                <lambdaBox klx="-2.5" khx="2.5" kly="-1.0" khy="1.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Buried-Contact" style="FILLED">
            <box>
                <lambdaBox klx="-2.5" khx="2.5" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Polysilicon" style="FILLED">
            <box>
                <lambdaBox klx="-0.5" khx="1.5" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <primitivePort name="bur-poly-top">
            <portAngle primary="90" range="45"/>
            <portTopology>0</portTopology>
            <box kly="1.0">
                <lambdaBox klx="0.5" khx="0.5" kly="1.0" khy="1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="bur-poly-bottom">
            <portAngle primary="270" range="45"/>
            <portTopology>0</portTopology>
            <box khy="-1.0">
                <lambdaBox klx="0.5" khx="0.5" kly="-1.0" khy="-1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="bur-diff-left">
            <portAngle primary="180" range="45"/>
            <portTopology>0</portTopology>
            <box khx="-1.0">
                <lambdaBox klx="-1.5" khx="-1.5" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Buried-Con-Polysurr" fun="CONNECT">
        <diskOffset untilVersion="2" x="2.5" y="2.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-2.5" khx="2.5" kly="-2.0" khy="2.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Polysilicon" style="FILLED">
            <box>
                <lambdaBox klx="-0.5" khx="2.5" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Buried-Contact" style="FILLED">
            <box>
                <lambdaBox klx="-2.5" khx="2.5" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Diffusion" style="FILLED">
            <box>
                <lambdaBox klx="-2.5" khx="1.5" kly="-1.0" khy="1.0"/>
            </box>
        </nodeLayer>
        <primitivePort name="bur-diff-left">
            <portAngle primary="180" range="45"/>
            <portTopology>0</portTopology>
            <box khx="-1.0">
                <lambdaBox klx="-1.5" khx="-1.5" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
        <primitivePort name="bur-poly-3">
            <portAngle primary="0" range="135"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="0.5" khx="1.5" kly="-1.0" khy="1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="bur-poly-1">
            <portAngle primary="0" range="135"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="0.5" khx="1.5" kly="-1.0" khy="1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="bur-poly-2">
            <portAngle primary="0" range="135"/>
            <portTopology>0</portTopology>
            <box>
                <lambdaBox klx="0.5" khx="1.5" kly="-1.0" khy="1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Buried-Con-Diffsurr-I" fun="CONNECT">
        <diskOffset untilVersion="2" x="2.5" y="2.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-2.5" khx="2.5" kly="-2.0" khy="2.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Polysilicon" style="FILLED">
            <box>
                <lambdaBox klx="-0.5" khx="2.5" kly="-1.0" khy="1.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Diffusion" style="FILLED">
            <points/>
            <techPoint xm="-0.5" xa="-2.5" ym="-0.5" ya="-1.0"/>
            <techPoint xm="-0.5" xa="-2.5" ym="0.5" ya="1.0"/>
            <techPoint xm="-0.5" xa="-1.5" ym="0.5" ya="1.0"/>
            <techPoint xm="-0.5" xa="-1.5" ym="0.5" ya="2.0"/>
            <techPoint xm="0.5" xa="1.5" ym="0.5" ya="2.0"/>
            <techPoint xm="0.5" xa="1.5" ym="-0.5" ya="-2.0"/>
            <techPoint xm="-0.5" xa="-1.5" ym="-0.5" ya="-2.0"/>
            <techPoint xm="-0.5" xa="-1.5" ym="-0.5" ya="-1.0"/>
        </nodeLayer>
        <nodeLayer layer="Buried-Contact" style="FILLED">
            <box>
                <lambdaBox klx="-2.5" khx="2.5" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <primitivePort name="bur-diff-left">
            <portAngle primary="180" range="45"/>
            <portTopology>0</portTopology>
            <box khx="-1.0">
                <lambdaBox klx="-1.5" khx="-1.5" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
        <primitivePort name="bur-poly-right">
            <portAngle primary="0" range="45"/>
            <portTopology>0</portTopology>
            <box klx="1.0">
                <lambdaBox klx="1.5" khx="1.5" kly="0.0" khy="0.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Buried-Con-Diffsurr-T" fun="CONNECT">
        <diskOffset untilVersion="2" x="3.0" y="2.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Polysilicon" style="FILLED">
            <box>
                <lambdaBox klx="-1.0" khx="1.0" kly="-1.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Diffusion" style="FILLED">
            <points/>
            <techPoint xm="-0.5" xa="-3.0" ym="-0.5" ya="-2.0"/>
            <techPoint xm="-0.5" xa="-3.0" ym="0.5" ya="0.0"/>
            <techPoint xm="-0.5" xa="-2.0" ym="0.5" ya="0.0"/>
            <techPoint xm="-0.5" xa="-2.0" ym="0.5" ya="1.0"/>
            <techPoint xm="0.5" xa="2.0" ym="0.5" ya="1.0"/>
            <techPoint xm="0.5" xa="2.0" ym="0.5" ya="0.0"/>
            <techPoint xm="0.5" xa="3.0" ym="0.5" ya="0.0"/>
            <techPoint xm="0.5" xa="3.0" ym="-0.5" ya="-2.0"/>
        </nodeLayer>
        <nodeLayer layer="Buried-Contact" style="FILLED">
            <box>
                <lambdaBox klx="-3.0" khx="3.0" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <primitivePort name="bur-diff-left">
            <portAngle primary="180" range="45"/>
            <portTopology>0</portTopology>
            <box khx="-1.0">
                <lambdaBox klx="-2.0" khx="-2.0" kly="-1.0" khy="-1.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
        <primitivePort name="bur-poly-top">
            <portAngle primary="90" range="45"/>
            <portTopology>0</portTopology>
            <box kly="1.0">
                <lambdaBox klx="0.0" khx="0.0" kly="1.0" khy="1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
        <primitivePort name="bur-diff-right">
            <portAngle primary="0" range="45"/>
            <portTopology>0</portTopology>
            <box klx="1.0">
                <lambdaBox klx="2.0" khx="2.0" kly="-1.0" khy="-1.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
    </primitiveNode>

    <primitiveNode name="Buried-Con-Diffsurr-L" fun="CONNECT">
        <diskOffset untilVersion="2" x="2.5" y="2.0"/>
        <nodeBase>
            <box>
                <lambdaBox klx="-2.5" khx="2.5" kly="-2.0" khy="2.0"/>
            </box>
        </nodeBase>
        <nodeLayer layer="Buried-Contact" style="FILLED">
            <box>
                <lambdaBox klx="-2.5" khx="2.5" kly="-2.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Polysilicon" style="FILLED">
            <box>
                <lambdaBox klx="-0.5" khx="1.5" kly="-1.0" khy="2.0"/>
            </box>
        </nodeLayer>
        <nodeLayer layer="Diffusion" style="FILLED">
            <points/>
            <techPoint xm="-0.5" xa="-2.5" ym="-0.5" ya="-2.0"/>
            <techPoint xm="-0.5" xa="-2.5" ym="0.5" ya="0.0"/>
            <techPoint xm="-0.5" xa="-1.5" ym="0.5" ya="0.0"/>
            <techPoint xm="-0.5" xa="-1.5" ym="0.5" ya="1.0"/>
            <techPoint xm="0.5" xa="2.5" ym="0.5" ya="1.0"/>
            <techPoint xm="0.5" xa="2.5" ym="-0.5" ya="-2.0"/>
        </nodeLayer>
        <primitivePort name="bur-diff-left">
            <portAngle primary="180" range="45"/>
            <portTopology>0</portTopology>
            <box khx="-1.0">
                <lambdaBox klx="-1.5" khx="-1.5" kly="-1.0" khy="-1.0"/>
            </box>
            <portArc>Diffusion</portArc>
        </primitivePort>
        <primitivePort name="bur-poly-top">
            <portAngle primary="90" range="45"/>
            <portTopology>0</portTopology>
            <box kly="1.0">
                <lambdaBox klx="0.5" khx="0.5" kly="1.0" khy="1.0"/>
            </box>
            <portArc>Polysilicon</portArc>
        </primitivePort>
    </primitiveNode>

    <spiceHeader level="1">
        <spiceLine line="*NMOS 4UM PROCESS"/>
        <spiceLine line=".OPTIONS DEFL=4UM DEFW=4UM DEFAS=80PM^2 DEFAD=80PM^2"/>
        <spiceLine line=".MODEL N NMOS LEVEL=1 VTO=1.1 KP=33UA/V^2 TOX=68NM GAMMA=.41"/>
        <spiceLine line="+             LAMBDA=0.05 CGSO=0.18NF/M CGDO=0.18NF/M LD=0.4UM"/>
        <spiceLine line="+             JS=.2A/M^2 CJ=.11MF/M^2"/>
        <spiceLine line=".MODEL D NMOS LEVEL=1 VTO=-3.4 KP=31UA/V^2 TOX=68NM GAMMA=.44"/>
        <spiceLine line="+             LAMBDA=0.05 CGSO=0.18NF/M CGDO=0.18NF/M LD=0.4UM"/>
        <spiceLine line="+             JS=.2A/M^2 CJ=.11MF/M^2"/>
        <spiceLine line=".MODEL DIFFCAP D CJO=.11MF/M^2"/>
    </spiceHeader>

    <spiceHeader level="3">
        <spiceLine line="*NMOS 4UM PROCESS"/>
        <spiceLine line=".OPTIONS DEFL=4UM DEFW=4UM DEFAS=80PM^2 DEFAD=80PM^2"/>
        <spiceLine line="* RSH SET TO ZERO (MOSIS: RSH = 12)"/>
        <spiceLine line=".MODEL N NMOS LEVEL=3 VTO=0.849 LD=0.17U KP=2.98E-5 GAMMA=0.552"/>
        <spiceLine line="+PHI=0.6 TOX=0.601E-7 NSUB=2.11E15 NSS=0 NFS=8.89E11 TPG=1 XJ=7.73E-7"/>
        <spiceLine line="+UO=400 UEXP=1E-3 UCRIT=1.74E5 VMAX=1E5 NEFF=1E-2 DELTA=1.19"/>
        <spiceLine line="+THETA=9.24E-3 ETA=0.77 KAPPA=3.25 RSH=0 CGSO=1.6E-10 CGDO=1.6E-10"/>
        <spiceLine line="+CGBO=1.7E-10 CJ=1.1E-4 MJ=0.5 CJSW=1E-9"/>
        <spiceLine line=".MODEL D NMOS LEVEL=3 VTO=-3.07 LD=0.219U KP=2.76E-5 GAMMA=0.315"/>
        <spiceLine line="+PHI=0.6 TOX=0.601E-7 NSUB=8.76E14 NSS=0 NFS=4.31E12 TPG=1 XJ=0.421U"/>
        <spiceLine line="+UO=650 UEXP=1E-3 UCRIT=8.05E5 VMAX=1.96E5 NEFF=1E-2 DELTA=2.41"/>
        <spiceLine line="+THETA=0 ETA=2.0 KAPPA=0.411 RSH=0 CGSO=1.6E-10 CGDO=1.6E-10"/>
        <spiceLine line="+CGBO=1.7E-10 CJ=1.1E-4 MJ=0.5 CJSW=1E-9"/>
        <spiceLine line="*MOSIS IS NOT RESPONSIBLE FOR THE FOLLOWING DIOD DATA"/>
        <spiceLine line=".MODEL DIFFCAP D CJO=.11MF/m^2"/>
    </spiceHeader>

    <menuPalette numColumns="3">

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

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

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

        <menuBox>
            <menuNode>Buried-Con-Cross</menuNode>
        </menuBox>
        <menuBox>
            <menuNode>Transistor</menuNode>
        </menuBox>
        <menuBox>
            <menuNode>Implant-Transistor</menuNode>
        </menuBox>

        <menuBox>
            <menuNode>Buried-Con-Cross-S</menuNode>
        </menuBox>
        <menuBox>
            <menuNode>Buried-Con-Cross-T</menuNode>
        </menuBox>
        <menuBox>
            <menuNode>Buried-Con-Polysurr</menuNode>
        </menuBox>

        <menuBox>
            <menuNode>Buried-Con-Diffsurr-I</menuNode>
        </menuBox>
        <menuBox>
            <menuNode>Buried-Con-Diffsurr-T</menuNode>
        </menuBox>
        <menuBox>
            <menuNode>Buried-Con-Diffsurr-L</menuNode>
        </menuBox>

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

    </menuPalette>

    <Foundry name="NONE">


        <LayerRule ruleName="W_4" layerName="Contact-Cut" type="MINWID" when="ALL" value="2.0"/>
        <LayersRule ruleName="U_0_0" layerNames="{Metal,Metal}" type="UCONSPA" when="ALL" value="3.0"/>
        <LayersRule ruleName="U_1_1" layerNames="{Polysilicon,Polysilicon}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="C_1_2" layerNames="{Polysilicon,Diffusion}" type="CONSPA" when="ALL" value="0.0"/>
        <LayersRule ruleName="U_1_2" layerNames="{Polysilicon,Diffusion}" type="UCONSPA" when="ALL" value="1.0"/>
        <LayersRule ruleName="U_1_3" layerNames="{Polysilicon,Implant}" type="UCONSPA" when="ALL" value="1.0"/>
        <LayersRule ruleName="U_1_5" layerNames="{Polysilicon,Buried-Contact}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="U_2_2" layerNames="{Diffusion,Diffusion}" type="UCONSPA" when="ALL" value="3.0"/>
        <LayersRule ruleName="U_2_3" layerNames="{Diffusion,Implant}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="U_2_5" layerNames="{Diffusion,Buried-Contact}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="U_3_11" layerNames="{Implant,Transistor}" type="UCONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="C_4_4" layerNames="{Contact-Cut,Contact-Cut}" type="CONSPA" when="ALL" value="2.0"/>
        <LayersRule ruleName="U_4_11" layerNames="{Contact-Cut,Transistor}" type="UCONSPA" when="ALL" value="2.0"/>
    </Foundry>
</technology>
