public class Pin
extends java.lang.Object
This should only be used in the context of the Logical Effort Tool.
Modifier and Type | Class and Description |
---|---|
protected static class |
Pin.Dir
Dir is a typesafe enum class that describes the direction of the pin
|
Modifier | Constructor and Description |
---|---|
protected |
Pin(java.lang.String name,
Pin.Dir dir,
float le,
java.lang.String netName)
Create new pin.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 onprotected 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)