public class Instance
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 |
Instance.Type
Type is a typesafe enum class that describes the type of Instance this is
|
Modifier | Constructor and Description |
---|---|
protected |
Instance(java.lang.String name,
Instance.Type type,
float leSU,
float leX,
Nodable no)
Creates a new instance of Instance
|
Modifier and Type | Method and Description |
---|---|
protected java.util.ArrayList<Pin> |
getAllPins()
Return list of bidirectional pins;
|
protected VarContext |
getContext()
Get VarContext
|
protected java.util.ArrayList |
getInoutPins()
Get inout pins
|
protected java.util.ArrayList |
getInputPins()
Get input pins
|
protected float |
getLeSU()
Get the step-up/delay
|
protected int |
getLevel()
Get the level of the gate
|
protected float |
getLeX()
Get the size of the gate
|
protected double |
getMfactor()
Get mfactor
|
protected java.lang.String |
getName()
Get name of gate
|
protected Nodable |
getNodable()
Get the Nodable
|
protected java.util.ArrayList<Pin> |
getOutputPins()
Get output pins
|
protected int |
getParallelGroup()
Get parallelGroup
|
protected Instance.Type |
getType()
Get Type of leGate
|
protected boolean |
isGate()
True if this is a gate
|
protected boolean |
isLeGate()
True if this is a sizable gate
|
protected void |
print() |
protected float |
printLoadInfo(Pin pin,
float alpha) |
protected void |
printShortInfo() |
protected void |
setContext(VarContext context)
Set VarContext
|
protected void |
setLeSU(float leSU)
Set the step-up/delay
|
protected void |
setLevel(int level)
Set the level of the gate
|
protected void |
setLeX(float LeX)
Set the size of the gate
|
protected void |
setMfactor(double m)
Set mfactor
|
protected void |
setParallelGroup(int group)
Set parallelGroup
|
protected void |
setPins(java.util.ArrayList<Pin> pins)
Set the pin list
|
protected Instance(java.lang.String name, Instance.Type type, float leSU, float leX, Nodable no)
protected java.util.ArrayList<Pin> getAllPins()
protected java.util.ArrayList<Pin> getOutputPins()
protected java.util.ArrayList getInputPins()
protected java.util.ArrayList getInoutPins()
protected boolean isLeGate()
protected boolean isGate()
protected Instance.Type getType()
protected java.lang.String getName()
protected int getLevel()
protected void setLevel(int level)
protected float getLeSU()
protected void setLeSU(float leSU)
protected float getLeX()
protected void setLeX(float LeX)
protected VarContext getContext()
protected void setContext(VarContext context)
protected Nodable getNodable()
protected int getParallelGroup()
protected void setParallelGroup(int group)
protected double getMfactor()
protected void setMfactor(double m)
protected void setPins(java.util.ArrayList<Pin> pins)
protected void print()
protected void printShortInfo()
protected float printLoadInfo(Pin pin, float alpha)