public class Mos extends Part
NetObject.Typepins, TYPE_FIELD_WIDTH| Constructor and Description |
|---|
Mos(PrimitiveNode.Function np,
NccNameProxy.PartNameProxy name,
double width,
double length,
Wire src,
Wire gate,
Wire drn)
Transistor without body port.
|
Mos(PrimitiveNode.Function np,
NccNameProxy.PartNameProxy name,
double width,
double length,
Wire src,
Wire gate,
Wire drn,
Wire body)
Transistor with body port.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
computeHashCode() |
java.lang.String |
connectionDescription(int n)
human readable description of things connected this NetObject
|
java.lang.String |
connectionDescription(Wire w)
comma separated list of pins connected to w
|
double |
getLength() |
int[] |
getPinCoeffs()
Here is an accessor method for the coefficient array for this
Part.
|
PinType |
getPinTypeOfNthPin(int n) |
double |
getWidth() |
java.lang.Integer |
hashCodeForParallelMerge()
Compute a hash code for this part for the purpose of performing
parallel merge.
|
boolean |
isCapacitor() |
boolean |
isLike(Mos t,
NccOptions nccOpt)
Compare the type (N vs P) and the gate length
|
static boolean |
joinOnWire(Wire w,
NccOptions nccOpt)
Merge two series Transistors into a single Transistor.
|
int |
numSeries() |
boolean |
parallelMerge(Part p,
NccOptions nccOpt)
This method attempts to merge this Part in parallel with another Part
|
boolean |
touchesOnlyOneDiffAndNoGate(Wire w) |
int |
typeCode()
returns a unique int value for each distinct Part type
|
java.lang.String |
typeString()
returns String describing Part's type
|
java.lang.String |
valueDescription()
Report the numeric values of this Part,
for example: width, length, resistance.
|
checkMe, getConnected, getHashFor, getName, getNameProxy, getNetObjType, instanceDescription, isDeleted, isMos, isResistor, numDistinctWires, numPins, numPinsConnected, setDeleted, typeerror, fullDescription, getCode, getParent, setParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfullDescriptionpublic Mos(PrimitiveNode.Function np, NccNameProxy.PartNameProxy name, double width, double length, Wire src, Wire gate, Wire drn)
public Mos(PrimitiveNode.Function np, NccNameProxy.PartNameProxy name, double width, double length, Wire src, Wire gate, Wire drn, Wire body)
public PinType getPinTypeOfNthPin(int n)
getPinTypeOfNthPin in class Partpublic double getLength()
getLength in interface PartReport.PartReportablegetLength in class Partpublic double getWidth()
getWidth in interface PartReport.PartReportablegetWidth in class Partpublic int numSeries()
public int[] getPinCoeffs()
PartgetPinCoeffs in class Partpublic boolean touchesOnlyOneDiffAndNoGate(Wire w)
public boolean isCapacitor()
public java.lang.Integer hashCodeForParallelMerge()
ParthashCodeForParallelMerge in class Partpublic boolean parallelMerge(Part p, NccOptions nccOpt)
PartparallelMerge in class Partp - the other Part with which to mergenccOpt - NccOptions. Used for size tolerance specification.public int typeCode()
Partpublic java.lang.String typeString()
ParttypeString in interface PartReport.PartReportabletypeString in class Partpublic java.lang.String valueDescription()
PartvalueDescription in class Partpublic java.lang.String connectionDescription(int n)
NetObjectconnectionDescription in class NetObjectpublic java.lang.String connectionDescription(Wire w)
PartconnectionDescription in class Partpublic boolean isLike(Mos t, NccOptions nccOpt)
t - Transistor to compare topublic static boolean joinOnWire(Wire w, NccOptions nccOpt)
w - wire joining diffusions of two transistorspublic java.lang.Integer computeHashCode()
computeHashCode in class Part