NMosTransistors.mesa (part of Chip'N Dale)
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: BOOL ← FALSE,
pullup: BOOL ← FALSE -- 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];
CreatePullUp:
PROC [w, l:
CD.DesignNumber,
wExt: CD.DesignNumber←wXExtension,
lExt: CD.DesignNumber←lXExtension]
RETURNS [CD.ObPtr];
CreateAngleTransistor:
PROC [w, l:
CD.DesignNumber,
implant: Implant𡤎nhancement,
wExt: CD.DesignNumber←wXExtension,
lExt: CD.DesignNumber←lXExtension,
aExt: CD.DesignNumber𡤀]
RETURNS [CD.ObPtr];
--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.