|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.Tool
com.sun.electric.database.network.NetworkTool
public class NetworkTool
This is the Network tool.
Nested Class Summary | |
---|---|
static class |
NetworkTool.NetlistNotReady
Signals that a method has been invoked at an illegal or inappropriate time. |
Field Summary | |
---|---|
static int |
totalNumErrors
total number of errors for statistics |
Fields inherited from class com.sun.electric.tool.Tool |
---|
prefs |
Constructor Summary | |
---|---|
NetworkTool()
The constructor sets up the Network tool. |
Method Summary | |
---|---|
static Netlist |
acquireUserNetlist(Cell cell)
Returns Netlist for a given cell obtain with user-default set of options. |
static Setting |
getIgnoreResistorsSetting()
Returns project Setting 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. |
protected void |
initProjectSettings()
Subclasses override this method to create ProjectSettings by Tool.makeXXXSetting methods declared below. |
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. |
Methods inherited from class com.sun.electric.tool.Tool |
---|
clearAnalysis, clearBackground, clearFixErrors, clearIncremental, clearOn, clearSynthesis, compareTo, findTool, getDiskSettings, getIndex, getListeners, getName, getNumTools, getProjectSettings, getSetting, getTools, initAllTools, isAnalysis, isBackground, isFixErrors, isIncremental, isOn, isSynthesis, makeBooleanSetting, makeDoubleSetting, makeIntSetting, makeLongSetting, makeStringSetting, setAnalysis, setBackground, setFixErrors, setIncremental, setOn, setSynthesis, setVarInJob, testAll, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int totalNumErrors
Constructor Detail |
---|
public NetworkTool()
Method Detail |
---|
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 void init()
init
in class Tool
public static boolean isIgnoreResistors()
public static Setting getIgnoreResistorsSetting()
protected void initProjectSettings()
Tool
initProjectSettings
in class Tool
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |