|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.electric.database.network.Netlist
public abstract class Netlist
This is the Netlist class. It contains information about electric networks of a cell for a given set of options. Networks are 0-based indices. First positions occupies indices of networks connected to global signals, then networks connected to exports, and then local networks.
| Nested Class Summary | |
|---|---|
static class |
Netlist.ShortResistors
Enumaration defines mode of short resistors in Netlist. |
| Method Summary | |
|---|---|
Name |
getBusName(ArcInst ai)
Method to return the name of the bus on this ArcInst. |
int |
getBusWidth(ArcInst ai)
Method to return the bus width on this ArcInst. |
int |
getBusWidth(Export e)
Method to return the bus width on an Export. |
Cell |
getCell()
A cell of this netlist. |
Global.Set |
getGlobals()
Returns set of global signals in this Netlist. |
Netlist |
getNetlist(Nodable no)
Returns subnetlist for a given Nodable. |
Network |
getNetwork(ArcInst ai,
int busIndex)
Get network of signal on arc. |
Network |
getNetwork(Export export,
int busIndex)
Get network of signal in export. |
Network |
getNetwork(Global global)
Get network of a global signal. |
Network |
getNetwork(int netIndex)
Get Network with specified index. |
Network |
getNetwork(Nodable no,
Global global)
Get network of a global signal of nodable. |
Network |
getNetwork(Nodable no,
Network subNetwork)
Get network of signal connected to specified external network of nodable. |
Network |
getNetwork(Nodable no,
PortProto portProto,
int busIndex)
Get network of signal in a port instance of nodable. |
Network |
getNetwork(PortInst pi)
Get network of port instance. |
java.lang.String |
getNetworkName(ArcInst ai)
Method to return either the network name or the bus name on this ArcInst. |
java.util.Iterator<Network> |
getNetworks()
Get an iterator over all of the Networks of this Netlist. |
static Nodable |
getNodableFor(NodeInst ni,
int arrayIndex)
Returns Nodable for given NodeInst and array index. |
java.util.Iterator<Nodable> |
getNodables()
Get an iterator over all of the Nodables of this Cell. |
int |
getNumExternalNetworks()
Get number of networks in this Netlist, which are connected to exports or globals. |
int |
getNumNetworks()
Get number of networks in this Netlist. |
Netlist.ShortResistors |
getShortResistors()
|
boolean |
portsConnected(Nodable no,
PortProto port1,
PortProto port2)
Method to tell whether two PortProtos are electrically connected. |
boolean |
sameNetwork(ArcInst ai1,
ArcInst ai2)
Method to tell whether two ArcInsts are electrically equivalent. |
boolean |
sameNetwork(Nodable no,
PortProto pp,
ArcInst ai)
Method to tell whether a PortProto on a Nodable is electrically equivalent to an ArcInst. |
boolean |
sameNetwork(Nodable no1,
PortProto pp1,
Nodable no2,
PortProto pp2)
Method to tell whether two PortProto / Nodable pairs are electrically equivalent. |
java.lang.String |
toString()
Returns a printable version of this Netlist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Cell getCell()
public static Nodable getNodableFor(NodeInst ni,
int arrayIndex)
ni - node instancearrayIndex - array index for arrayed icons or zero.
public java.util.Iterator<Nodable> getNodables()
Warning: before getNodables() is called, Networks must be build by calling Cell.rebuildNetworks()
public Netlist getNetlist(Nodable no)
no - Nadable in this Netlist
public Global.Set getGlobals()
public int getNumNetworks()
public int getNumExternalNetworks()
public Network getNetwork(int netIndex)
netIndex - index of Network
public java.util.Iterator<Network> getNetworks()
public Network getNetwork(Global global)
global - global signal.
public Network getNetwork(Nodable no,
Global global)
no - nodable.global - global signal.
public Network getNetwork(Nodable no,
Network subNetwork)
no - nodable (subcell)subNetwork - a network
java.lang.IllegalArgumentException - if nodable is not subcell
public Network getNetwork(Nodable no,
PortProto portProto,
int busIndex)
no - nodableportProto - port of nodablebusIndex - index of signal in a bus or zero.
public boolean portsConnected(Nodable no,
PortProto port1,
PortProto port2)
no - the Nodable on which the PortProtos reside.port1 - the first PortProto.port2 - the second PortProto.
public Network getNetwork(PortInst pi)
pi - port instance.
public Network getNetwork(Export export,
int busIndex)
export - given Export.busIndex - index of signal in a bus or zero.
public Network getNetwork(ArcInst ai,
int busIndex)
ai - arc instancebusIndex - index of signal in a bus or zero.
public boolean sameNetwork(ArcInst ai1,
ArcInst ai2)
ai1 - the first ArcInst.ai2 - the second ArcInst.
public boolean sameNetwork(Nodable no,
PortProto pp,
ArcInst ai)
no - the Nodable.pp - the PortProto on the Nodable.ai - the ArcInst.
public boolean sameNetwork(Nodable no1,
PortProto pp1,
Nodable no2,
PortProto pp2)
no1 - the first Nodable.pp1 - the PortProto on the first Nodable.no2 - the second Nodable.pp2 - the PortProto on the second Nodable.
public java.lang.String getNetworkName(ArcInst ai)
public Name getBusName(ArcInst ai)
public int getBusWidth(Export e)
e - the Export to examine.
public int getBusWidth(ArcInst ai)
public Netlist.ShortResistors getShortResistors()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||