com.sun.electric.tool.ncc.netlist
Class NccNetlist
java.lang.Object
com.sun.electric.tool.ncc.netlist.NccNetlist
public class NccNetlist
- extends java.lang.Object
NCC's representation of a netlist.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHORT_RESISTORS
public static final Netlist.ShortResistors SHORT_RESISTORS
NccNetlist
public NccNetlist(Cell root,
VarContext context,
HierarchyInfo hierInfo,
boolean blackBox,
NccGlobals globals)
- Build a netlist for Cell root. Mos transistors are represented by
Mos. Instances of lower level Cells that have already been checked
by NCC are represented by SubCircuit. Instances of lower level Cells
that haven't been checked by NCC are flattened.
- Parameters:
root
- the top Cellcontext
- the VarContext for the top CellhierInfo
- information about what's already been checked by NCCblackBox
- we're not actually going to check so just build an
empty netlistglobals
- variables shared by all parts of NCC
getWireArray
public java.util.ArrayList<Wire> getWireArray()
- Returns:
- a list of all the Wires
getPartArray
public java.util.ArrayList<Part> getPartArray()
- Returns:
- a list of all the Parts
getPortArray
public java.util.ArrayList<Port> getPortArray()
- Returns:
- a list of all the Ports
cantBuildNetlist
public boolean cantBuildNetlist()
- Returns:
- true if some error prevents us from building a netlist
userAbort
public boolean userAbort()
- Returns:
- true if user has requested an abort of NCC run
getRootCell
public Cell getRootCell()
- Returns:
- the root Cell
getRootContext
public VarContext getRootContext()
- Returns:
- the VarContext of the root Cell