com.sun.electric.tool.logicaleffort
Class Net

java.lang.Object
  extended by com.sun.electric.tool.logicaleffort.Net

public class Net
extends java.lang.Object

Stores information about a Net for the Logical Effort Tool.

This should only be used in the context of the Logical Effort Tool.

Author:
gainsley

Constructor Summary
protected Net(java.lang.String name)
           
 
Method Summary
protected  void addPin(Pin pin)
          Add a pin to the net
protected  boolean drivesLoad()
          Returns true if this net drives a load or a wire
protected  boolean drivesSizableGate()
          Returns true if this net drives a sizeable gate.
protected  boolean drivesStaticGate()
          Returns true if this net drives a static gate.
protected  java.util.ArrayList<Pin> getAllPins()
          Get a list of pins attached to the net
protected  java.util.ArrayList getInoutPins()
          Get inout pins
protected  java.util.ArrayList getInputPins()
          Get input pins
protected  java.lang.String getName()
          Get net name
protected  java.util.ArrayList getOutputPins()
          Get output pins
protected  boolean isDrivenByGate()
          Returns true if this net is driven by a sizeable or fixed size gate.
protected  boolean isDrivenBySizeableGate()
          Returns true if this net is driven by a sizeable gate.
protected  boolean isDrivenByStaticGate()
          Returns true if this net is driven by a static gate (non-sizeable).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Net

protected Net(java.lang.String name)
Method Detail

isDrivenBySizeableGate

protected boolean isDrivenBySizeableGate()
Returns true if this net is driven by a sizeable gate.


isDrivenByStaticGate

protected boolean isDrivenByStaticGate()
Returns true if this net is driven by a static gate (non-sizeable).


isDrivenByGate

protected boolean isDrivenByGate()
Returns true if this net is driven by a sizeable or fixed size gate.


drivesSizableGate

protected boolean drivesSizableGate()
Returns true if this net drives a sizeable gate.


drivesStaticGate

protected boolean drivesStaticGate()
Returns true if this net drives a static gate.


drivesLoad

protected boolean drivesLoad()
Returns true if this net drives a load or a wire


addPin

protected void addPin(Pin pin)
Add a pin to the net


getAllPins

protected java.util.ArrayList<Pin> getAllPins()
Get a list of pins attached to the net


getOutputPins

protected java.util.ArrayList getOutputPins()
Get output pins


getInputPins

protected java.util.ArrayList getInputPins()
Get input pins


getInoutPins

protected java.util.ArrayList getInoutPins()
Get inout pins


getName

protected java.lang.String getName()
Get net name