com.sun.electric.tool.ncc.netlist
Class Bipolar

java.lang.Object
  extended by com.sun.electric.tool.ncc.netlist.NetObject
      extended by com.sun.electric.tool.ncc.netlist.Part
          extended by com.sun.electric.tool.ncc.netlist.Bipolar
All Implemented Interfaces:
NetObjReport.NetObjReportable, PartReport.PartReportable

public class Bipolar
extends Part

One or more MOS transistors in series. All gates have the same width and length.


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
Bipolar(PrimitiveNode.Function np, NccNameProxy.PartNameProxy name, double area, Wire emit, Wire base, Wire coll)
           
 
Method Summary
 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 getArea()
           
 int[] getPinCoeffs()
          Here is an accessor method for the coefficient array for this Part.
 PinType getPinTypeOfNthPin(int n)
           
 java.lang.Integer hashCodeForParallelMerge()
          Compute a hash code for this part for the purpose of performing parallel merge.
 boolean parallelMerge(Part p)
          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, getHashFor, 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

Bipolar

public Bipolar(PrimitiveNode.Function np,
               NccNameProxy.PartNameProxy name,
               double area,
               Wire emit,
               Wire base,
               Wire coll)
Method Detail

getPinTypeOfNthPin

public PinType getPinTypeOfNthPin(int n)
Specified by:
getPinTypeOfNthPin in class Part
Returns:
the PinType for the nth pin

getArea

public double getArea()

getPinCoeffs

public int[] getPinCoeffs()
Description copied from class: Part
Here is an accessor method for the coefficient array for this Part. The terminal coefficients are used to compute new hash codes.

Specified by:
getPinCoeffs in class Part
Returns:
the array of terminal coefficients for this Part

hashCodeForParallelMerge

public java.lang.Integer hashCodeForParallelMerge()
Description copied from class: Part
Compute a hash code for this part for the purpose of performing parallel merge. If two parallel Parts should be merged into one then hashCodeForParallelMerge() must return the same value for both Parts.

Specified by:
hashCodeForParallelMerge in class Part

parallelMerge

public boolean parallelMerge(Part p)
Description copied from class: Part
This method attempts to merge this Part in parallel with another Part

Specified by:
parallelMerge in class Part
Parameters:
p - the other Part with which to merge
Returns:
true if merge was successful, false otherwise

typeCode

public int typeCode()
Description copied from class: Part
returns a unique int value for each distinct Part type

Specified by:
typeCode in class Part

typeString

public java.lang.String typeString()
Description copied from class: Part
returns String describing Part's type

Specified by:
typeString in interface PartReport.PartReportable
Specified by:
typeString in class Part

valueDescription

public java.lang.String valueDescription()
Description copied from class: Part
Report the numeric values of this Part, for example: width, length, resistance.

Specified by:
valueDescription in class Part
Returns:
a String describing the Part's numeric values.

connectionDescription

public java.lang.String connectionDescription(int n)
Description copied from class: NetObject
human readable description of things connected this NetObject

Specified by:
connectionDescription in class NetObject

connectionDescription

public java.lang.String connectionDescription(Wire w)
Description copied from class: Part
comma separated list of pins connected to w

Specified by:
connectionDescription in class Part