|
||||||||||
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.Subcircuit
public class Subcircuit
A Cell instance that is being treated as a primitive circuit component during a hierarchical netlist comparison
Nested Class Summary | |
---|---|
static class |
Subcircuit.SubcircuitPinType
presume that no ports are interchangeable |
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 | |
---|---|
Subcircuit(NccNameProxy.PartNameProxy instName,
SubcircuitInfo subcircuitInfo,
Wire[] pins)
|
Method Summary | |
---|---|
java.lang.String |
connectionDescription(int maxCon)
human readable description of things connected this NetObject |
java.lang.String |
connectionDescription(Wire w)
comma separated list of pins connected to w |
int |
getHashFor(Wire w)
Subcircuits can have tens of thousands of pins. |
int[] |
getPinCoeffs()
Here is an accessor method for the coefficient array for this Part. |
PinType |
getPinTypeOfNthPin(int n)
|
java.lang.Integer |
hashCodeForParallelMerge()
I never parallel merge subcircuits so this really doesn't matter. |
boolean |
parallelMerge(Part p,
NccOptions nccOpt)
This method attempts to merge this Part in parallel with another Part |
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, computeHashCode, getConnected, getLength, getName, getNameProxy, getNetObjType, getWidth, 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 Subcircuit(NccNameProxy.PartNameProxy instName, SubcircuitInfo subcircuitInfo, Wire[] pins)
Method Detail |
---|
public java.lang.String valueDescription()
Part
valueDescription
in class Part
public int[] getPinCoeffs()
Part
getPinCoeffs
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 java.lang.Integer hashCodeForParallelMerge()
hashCodeForParallelMerge
in class Part
public java.lang.String typeString()
Part
typeString
in interface PartReport.PartReportable
typeString
in class Part
public int typeCode()
Part
typeCode
in class Part
public PinType getPinTypeOfNthPin(int n)
getPinTypeOfNthPin
in class Part
public java.lang.String connectionDescription(Wire w)
Part
connectionDescription
in class Part
public java.lang.String connectionDescription(int maxCon)
NetObject
connectionDescription
in class NetObject
public int getHashFor(Wire w)
getHashFor
in class Part
w
- the Wire for which a hash code is needed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |