|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.ncc.netlist.NetObject
com.sun.electric.tool.ncc.netlist.Part
com.sun.electric.tool.ncc.netlist.Mos
public class Mos
One or more MOS transistors in series. All gates have the same width and length. If MOS has body port then last entry in pins array is body wire
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.electric.tool.ncc.netlist.NetObject |
---|
NetObject.Type |
Field Summary |
---|
Fields inherited from class com.sun.electric.tool.ncc.netlist.Part |
---|
pins, TYPE_FIELD_WIDTH |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.sun.electric.tool.ncc.netlist.Part |
---|
checkMe, getConnected, getHashFor, getName, getNameProxy, getNetObjType, instanceDescription, isDeleted, isMos, isResistor, numDistinctWires, numPins, numPinsConnected, setDeleted, type |
Methods inherited from class com.sun.electric.tool.ncc.netlist.NetObject |
---|
error, fullDescription, getCode, getParent, setParent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.electric.tool.ncc.result.NetObjReport.NetObjReportable |
---|
fullDescription |
Constructor Detail |
---|
public 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)
Method Detail |
---|
public PinType getPinTypeOfNthPin(int n)
getPinTypeOfNthPin
in class Part
public double getLength()
getLength
in interface PartReport.PartReportable
getLength
in class Part
public double getWidth()
getWidth
in interface PartReport.PartReportable
getWidth
in class Part
public int numSeries()
public int[] getPinCoeffs()
Part
getPinCoeffs
in class Part
public boolean touchesOnlyOneDiffAndNoGate(Wire w)
public boolean isCapacitor()
public java.lang.Integer hashCodeForParallelMerge()
Part
hashCodeForParallelMerge
in class Part
public boolean parallelMerge(Part p, NccOptions nccOpt)
Part
parallelMerge
in class Part
p
- the other Part with which to mergenccOpt
- NccOptions. Used for size tolerance specification.
public int typeCode()
Part
typeCode
in class Part
public java.lang.String typeString()
Part
typeString
in interface PartReport.PartReportable
typeString
in class Part
public java.lang.String valueDescription()
Part
valueDescription
in class Part
public java.lang.String connectionDescription(int n)
NetObject
connectionDescription
in class NetObject
public java.lang.String connectionDescription(Wire w)
Part
connectionDescription
in class Part
public boolean isLike(Mos t, NccOptions nccOpt)
t
- Transistor to compare to
public static boolean joinOnWire(Wire w, NccOptions nccOpt)
w
- wire joining diffusions of two transistors
public java.lang.Integer computeHashCode()
computeHashCode
in class Part
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |