com.sun.electric.tool.ncc.processing
Class SubcircuitInfo
java.lang.Object
com.sun.electric.tool.ncc.processing.SubcircuitInfo
public class SubcircuitInfo
- extends java.lang.Object
Holds information necessary to treat this Cell as a primitive subcircuit
when performing hierarchical netlist comparison at a higher level
Constructor Summary |
SubcircuitInfo(java.lang.String name,
int ID,
Port[] refPorts)
Create the first SubcircuitInfo for the reference Cell |
SubcircuitInfo(SubcircuitInfo referenceInfo,
java.util.Map<java.lang.String,java.lang.Integer> exportNameToPortIndex)
Create SubcircuitInfos for all the rest of the Cells in the
CellGroup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubcircuitInfo
public SubcircuitInfo(java.lang.String name,
int ID,
Port[] refPorts)
- Create the first SubcircuitInfo for the reference Cell
SubcircuitInfo
public SubcircuitInfo(SubcircuitInfo referenceInfo,
java.util.Map<java.lang.String,java.lang.Integer> exportNameToPortIndex)
- Create SubcircuitInfos for all the rest of the Cells in the
CellGroup
getID
public int getID()
getName
public java.lang.String getName()
numPorts
public int numPorts()
getPortName
public java.lang.String getPortName(int i)
getPortIndex
public int getPortIndex(java.lang.String exportName)
getPortCoeffs
public int[] getPortCoeffs()
getPinTypes
public PinType[] getPinTypes()
- Returns:
- array of PinTypes, one per Port