public class NetworkTool extends Tool
Modifier and Type | Class and Description |
---|---|
static class |
NetworkTool.NetlistNotReady
Signals that a method has been invoked at an illegal or
inappropriate time.
|
Modifier and Type | Field and Description |
---|---|
static int |
totalNumErrors
total number of errors for statistics
|
Constructor and Description |
---|
NetworkTool()
The constructor sets up the Network tool.
|
Modifier and Type | Method and Description |
---|---|
static Netlist |
acquireUserNetlist(Cell cell)
Returns Netlist for a given cell obtain with user-default set of options.
|
static Setting |
getIgnoreResistorsSetting()
Returns project preferences to tell whether resistors are ignored in the circuit.
|
static Netlist |
getNetlist(Cell cell,
Netlist.ShortResistors shortResistors)
Recompute the Netlist structure for given Cell.
|
static java.util.Set<Network> |
getNetworks(Geometric geom,
Netlist netlist,
java.util.Set<Network> nets)
Method to retrieve all networks on a Geometric object.
|
static java.util.Set<Network> |
getNetworksOnPort(PortInst pi,
Netlist netlist,
java.util.Set<Network> nets)
Method to retrieve all networks for a portInst.
|
static NetworkTool |
getNetworkTool() |
static Netlist |
getUserNetlist(Cell cell)
Returns Netlist for a given cell obtain with user-default set of options.
|
void |
init()
Method to initialize a tool.
|
static boolean |
isBusAscending()
Method to tell whether unnamed busses should be numbered ascending.
|
static boolean |
isBusAscendingInNetlistEngine()
Method to tell whether unnamed busses should be numbered ascending in Netlist Engine.
|
static boolean |
isFactoryBusAscending()
Method to tell whether unnamed busses should be numbered ascending, by default.
|
static boolean |
isIgnoreResistors()
Method to tell whether resistors are ignored in the circuit.
|
static void |
renumberNetlists()
Method to renumber the netlists.
|
static void |
setBusAscending(boolean a)
Method to set whether unnamed busses should be numbered ascending.
|
static void |
setInformationOutput(boolean infoOutput)
Method to set the level of information that is displayed.
|
clearAnalysis, clearBackground, clearFixErrors, clearIncremental, clearOn, clearSynthesis, compareTo, findTool, getIndex, getListeners, getName, getNumTools, getProjectSettings, getTools, initAllTools, isAnalysis, isBackground, isFixErrors, isIncremental, isOn, isSynthesis, setAnalysis, setBackground, setFixErrors, setIncremental, setOn, setSynthesis, setVarInJob, testAll, toString
public static void renumberNetlists()
public static NetworkTool getNetworkTool()
public static void setInformationOutput(boolean infoOutput)
infoOutput
- true for normal information output, false for quiet.public static Netlist acquireUserNetlist(Cell cell)
cell
- cell to get Netlist.public static Netlist getUserNetlist(Cell cell)
cell
- cell to get Netlist.public static Netlist getNetlist(Cell cell, Netlist.ShortResistors shortResistors)
cell
- cell to recompute Netlist structure.
Because shorting resistors is a fairly common request, it is implemented in the method if @param shortResistors is set to true.
public static java.util.Set<Network> getNetworksOnPort(PortInst pi, Netlist netlist, java.util.Set<Network> nets)
pi
- the PortInst being considered.netlist
- the netlist being searched.nets
- a set into which all found networks will be added.public static java.util.Set<Network> getNetworks(Geometric geom, Netlist netlist, java.util.Set<Network> nets)
geom
- the Geometric being considered.netlist
- the netlist being searched.nets
- a set into which all found networks will be added.public static boolean isIgnoreResistors()
public static Setting getIgnoreResistorsSetting()
public static boolean isBusAscending()
public static void setBusAscending(boolean a)
a
- true if unnamed busses should be numbered ascending.public static boolean isFactoryBusAscending()
public static boolean isBusAscendingInNetlistEngine()