NMosTransistors.mesa (part of ChipNDale)
Copyright © 1983, 1984 by Xerox Corporation. All rights reserved.
by Christian Jacobi May 3, 1983 11:22 am
last edited by Christian Jacobi September 26, 1983 11:15 am
DIRECTORY
CD USING [DesignNumber, ObPtr, lambda];
NMosTransistors: CEDAR DEFINITIONS =
BEGIN
Implant: TYPE = [0..4);
enhancement: Implant = 0;
zeroTresh: Implant = 1;
weakDepletion: Implant = 2;
strongDepletion: Implant = 3;
wXExtension: CD.DesignNumber = 2*CD.lambda;
lXExtension: CD.DesignNumber = 2*CD.lambda;
TransistorPtr: TYPE = REF TransistorRec;
TransistorRec: TYPE = RECORD [
width: CD.DesignNumber,
length: CD.DesignNumber,
wExt: CD.DesignNumber ← wXExtension,
lExt: CD.DesignNumber ← lXExtension,
implant: Implant𡤎nhancement,
angle: BOOLFALSE,
pullup: BOOLFALSE -- pullup ==> NOT (angle OR implant)
];
CreateTransistor: PROC [w, l: CD.DesignNumber,
implant: Implant𡤎nhancement,
wExt: CD.DesignNumber←wXExtension,
lExt: CD.DesignNumber←lXExtension]
RETURNS [CD.ObPtr];
--Do not use wExt, lExt, it is included for compatibility only
CreatePullUp: PROC [w, l: CD.DesignNumber,
wExt: CD.DesignNumber←wXExtension,
lExt: CD.DesignNumber←lXExtension]
RETURNS [CD.ObPtr];
--Do not use wExt, lExt, it is included for compatibility only
CreateAngleTransistor: PROC [w, l: CD.DesignNumber,
implant: Implant𡤎nhancement,
wExt: CD.DesignNumber←wXExtension,
lExt: CD.DesignNumber←lXExtension,
aExt: CD.DesignNumber𡤀]
RETURNS [CD.ObPtr];
--Do not use wExt, lExt, it is included for compatibility only
--All create procedures create in an orientation
--w in direction of increasing x
--l in direction of increasing y
--All create procedures may (or may not) create references to
--the same object. Therefore consider the transistor objects as
--readonly. If a transistor needs to be modified create a new one!
END.