com.sun.electric.tool.ncc.processing
Class SubcircuitInfo

java.lang.Object
  extended by 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
 
Method Summary
 int getID()
           
 java.lang.String getName()
           
 PinType[] getPinTypes()
           
 int[] getPortCoeffs()
           
 int getPortIndex(java.lang.String exportName)
           
 java.lang.String getPortName(int i)
           
 int numPorts()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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

Method Detail

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