|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.logicaleffort.Pin
public class Pin
A Pin is connection between a network and an instance. A Pin's direction is relative to the node (Instance, etc) it connects to, not the network it connects to.
This should only be used in the context of the Logical Effort Tool.
Nested Class Summary | |
---|---|
protected static class |
Pin.Dir
Dir is a typesafe enum class that describes the direction of the pin |
Constructor Summary | |
---|---|
protected |
Pin(java.lang.String name,
Pin.Dir dir,
float le,
java.lang.String netName)
Create new pin. |
Method Summary | |
---|---|
protected Pin.Dir |
getDir()
Return the direction of the pin. |
protected static java.util.ArrayList<Pin> |
getInoutPins(java.util.ArrayList<Pin> pins)
Return list of bidirectional pins; |
protected static java.util.ArrayList<Pin> |
getInputPins(java.util.ArrayList<Pin> pins)
Return list of input pins; |
protected Instance |
getInstance()
Return the instance that is attached to the pin. |
protected float |
getLE()
Return the logical effort of the pin. |
protected java.lang.String |
getName()
Return the name of the pin. |
protected Net |
getNet()
Return the net attached to pin. |
protected java.lang.String |
getNetName()
Return the net name |
protected static java.util.ArrayList<Pin> |
getOutputPins(java.util.ArrayList<Pin> pins)
Return list of output pins; |
protected static java.util.ArrayList<Pin> |
getPinListType(java.util.ArrayList<Pin> pins,
Pin.Dir dir)
Return list of specified pins |
protected void |
setInstance(Instance instance)
Set the instance to which the pin is attached. |
protected void |
setNet(Net net)
Set the net attached to pin. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Pin(java.lang.String name, Pin.Dir dir, float le, java.lang.String netName)
name
- name of pindir
- pin direction (Pin.INPUT, Pin.OUTPUT, Pin.INOUT, Pin.NODIR)netName
- net pin is onMethod Detail |
---|
protected Pin.Dir getDir()
protected java.lang.String getName()
protected float getLE()
protected java.lang.String getNetName()
protected Instance getInstance()
protected void setInstance(Instance instance)
protected Net getNet()
protected void setNet(Net net)
protected static java.util.ArrayList<Pin> getPinListType(java.util.ArrayList<Pin> pins, Pin.Dir dir)
protected static java.util.ArrayList<Pin> getInoutPins(java.util.ArrayList<Pin> pins)
protected static java.util.ArrayList<Pin> getInputPins(java.util.ArrayList<Pin> pins)
protected static java.util.ArrayList<Pin> getOutputPins(java.util.ArrayList<Pin> pins)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |