|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.logicaleffort.LEPin
public class LEPin
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 |
LEPin.Dir
Dir is a typesafe enum class that describes the direction of the pin |
Constructor Summary | |
---|---|
protected |
LEPin(java.lang.String name,
LEPin.Dir dir,
float le,
Network net,
LENodable instance)
Create new pin. |
Method Summary | |
---|---|
protected LEPin.Dir |
getDir()
Return the direction of the pin. |
protected static java.util.ArrayList<LEPin> |
getInoutPins(java.util.List<LEPin> pins)
Return list of bidirectional pins; |
protected static java.util.ArrayList<LEPin> |
getInputPins(java.util.List<LEPin> pins)
Return list of input pins; |
protected LENodable |
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 Network |
getNetwork()
Return the Network this pin is on |
protected static java.util.ArrayList<LEPin> |
getOutputPins(java.util.List<LEPin> pins)
Return list of output pins; |
protected static java.util.ArrayList<LEPin> |
getPinListType(java.util.List<LEPin> pins,
LEPin.Dir dir)
Return list of specified pins |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LEPin(java.lang.String name, LEPin.Dir dir, float le, Network net, LENodable instance)
name
- name of pindir
- pin direction (Pin.INPUT, Pin.OUTPUT, Pin.INOUT, Pin.NODIR)instance
- the instance this belongs toMethod Detail |
---|
protected LEPin.Dir getDir()
protected java.lang.String getName()
protected float getLE()
protected LENodable getInstance()
protected Network getNetwork()
protected static java.util.ArrayList<LEPin> getPinListType(java.util.List<LEPin> pins, LEPin.Dir dir)
protected static java.util.ArrayList<LEPin> getInoutPins(java.util.List<LEPin> pins)
protected static java.util.ArrayList<LEPin> getInputPins(java.util.List<LEPin> pins)
protected static java.util.ArrayList<LEPin> getOutputPins(java.util.List<LEPin> pins)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |