com.sun.electric.tool.ncc.netlist
Class PartTypeTable
java.lang.Object
com.sun.electric.tool.ncc.netlist.PartTypeTable
public class PartTypeTable
- extends java.lang.Object
Transistor and resistor types have long and short names. In Electric,
schematic and layout primitive transistors have different names. NCC uses
the long name to match types between the schematic and layout. Except for
the basic NMOS and PMOS types, each schematic transistor contains an
annotation specifying which layout transistor it matches.
The short names are used internally for NCC print-outs because the long
names are too verbose.
Scalable transistors, in the layout, have a different long name than
regular transistor but map to the same type as ordinary layout transistors.
Constructor Summary |
PartTypeTable(java.lang.String[][] typeNames)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartTypeTable
public PartTypeTable(java.lang.String[][] typeNames)
log2NumTypes
public int log2NumTypes()
iterator
public java.util.Iterator<PartType> iterator()
get
public PartType get(java.lang.String nm)
getTypeFromLongName
public PartType getTypeFromLongName(java.lang.String nm)