public class TimingVertex
extends Object
Constructor and Description |
---|
TimingVertex(String name)
Creates a vertex for insertion into the TimingGraph.
|
TimingVertex(String name,
boolean isFlopInput)
Create a timing vertex for insertion into the timing graph
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o)
Implements the comparable object interface so that Vertices can be compared.
|
boolean |
equals(Object o)
Implements the comparable object interface so that vertices can be compared.
|
float |
getArrivalTime()
Gets the arrival time stored at this vertex.
|
String |
getClockName()
This will be used in a future release to get the name of the clock associated with this vertex.
|
boolean |
getFlopInput()
This is used for checking if the vertex represents on input to a flip flop.
|
boolean |
getFlopOutput()
This is used for checking if the vertex represents an output from a flip flop.
|
String |
getName()
Gets the name of the vertex.
|
TimingVertex |
getPrev() |
float |
getRequiredTime()
Gets the required time stored at this vertex.
|
Float |
getSlack()
Gets the slack stored at this vertex.
|
int |
hashCode()
This method is used when storing TimingVertices in HashTables and HashMaps.
|
void |
resetArrivalTime() |
void |
resetRequiredTime() |
void |
setArrivalTime(float arrivalTime)
Sets the arrival time stored at this vertex.
|
void |
setClockName(String clockName)
This will be used in a future release to set the name of the clock associated with this vertex.
|
void |
setFlopInput()
This is used for setting that the vertex represents an input to a flip flop.
|
void |
setFlopOutput()
This is used for setting that the vertex represents an output from a flip flop.
|
void |
setMaxArrivalTime(float arrivalTime)
Sets the arrival time stored at this vertex WHEN the new arrival time is larger than the current.
|
void |
setMaxArrivalTime(float arrivalTime,
TimingVertex prev) |
void |
setMinRequiredTime(float requiredTime) |
void |
setPrev(TimingVertex prev) |
void |
setRequiredTime(float requiredTime)
Sets the required time stored at this vertex.
|
void |
setSlack(float slack)
Sets the slack value stored at this vertex.
|
String |
toString()
Returns a String representation of this object.
|
public TimingVertex(String name)
name
- Name is typically the hierarchical logical name of an input or output pin. In
some cases this timing library is using the EDIFPortInst name for the name. This is
noteworthy because the EDIFPortInst name may contain square brackets on pins that are indexed
slices of a bus (for example some pins on CARRY8 have indices). The physical name for pins
do not contain square brackets.public TimingVertex(String name, boolean isFlopInput)
name
- - name is the cell name of an input or output pinisFlopInput
- - to indicate if it is an input or outputpublic String toString()
toString
in class Object
public int compareTo(Object o)
o
- Object to be compared to.public boolean equals(Object o)
equals
in class Object
o
- Object to be compared to.public int hashCode()
hashCode
in class Object
public void setSlack(float slack)
slack
- Slack in picoseconds.public void setRequiredTime(float requiredTime)
requiredTime
- Required time in picoseconds.public void setMinRequiredTime(float requiredTime)
public void setMaxArrivalTime(float arrivalTime)
arrivalTime
- Arrival time in picoseconds. This is the sum of delay edges leading to
this vertexpublic void setMaxArrivalTime(float arrivalTime, TimingVertex prev)
public void resetRequiredTime()
public void resetArrivalTime()
public void setArrivalTime(float arrivalTime)
arrivalTime
- Arrival time in picoseconds. This is the sum of delay edges leading to
this vertex.public Float getSlack()
public float getArrivalTime()
public float getRequiredTime()
public String getName()
public String getClockName()
public void setClockName(String clockName)
clockName
- Clock name.public boolean getFlopInput()
public boolean getFlopOutput()
public void setFlopInput()
public void setFlopOutput()
public TimingVertex getPrev()
public void setPrev(TimingVertex prev)