public class Subcircuit extends Part
| Modifier and Type | Class and Description |
|---|---|
static class |
Subcircuit.SubcircuitPinType
presume that no ports are interchangeable
|
NetObject.Typepins, TYPE_FIELD_WIDTH| Constructor and Description |
|---|
Subcircuit(NccNameProxy.PartNameProxy instName,
SubcircuitInfo subcircuitInfo,
Wire[] pins) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
checkMe, computeHashCode, getConnected, getLength, getName, getNameProxy, getNetObjType, getWidth, instanceDescription, isDeleted, isMos, isResistor, numDistinctWires, numPins, numPinsConnected, setDeleted, typeerror, fullDescription, getCode, getParent, setParent, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfullDescriptionpublic Subcircuit(NccNameProxy.PartNameProxy instName, SubcircuitInfo subcircuitInfo, Wire[] pins)
public java.lang.String valueDescription()
PartvalueDescription in class Partpublic int[] getPinCoeffs()
PartgetPinCoeffs 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 java.lang.Integer hashCodeForParallelMerge()
hashCodeForParallelMerge in class Partpublic java.lang.String typeString()
ParttypeString in interface PartReport.PartReportabletypeString in class Partpublic int typeCode()
Partpublic PinType getPinTypeOfNthPin(int n)
getPinTypeOfNthPin in class Partpublic java.lang.String connectionDescription(Wire w)
PartconnectionDescription in class Partpublic java.lang.String connectionDescription(int maxCon)
NetObjectconnectionDescription in class NetObjectpublic int getHashFor(Wire w)
getHashFor in class Partw - the Wire for which a hash code is needed