public class TimingEdge
extends org.jgrapht.graph.DefaultEdge
Constructor and Description |
---|
TimingEdge(TimingGraph graph,
TimingVertex u,
TimingVertex v) |
TimingEdge(TimingGraph timingGraph,
TimingVertex srcPort,
TimingVertex dstPort,
EDIFNet edifNet,
Net net)
Constructs a TimingEdge with the expected information for the TimingGraph.
|
TimingEdge(TimingVertex u,
TimingVertex v)
Constructs a TimingEdge based only on specifying two vertices.
|
Modifier and Type | Method and Description |
---|---|
String |
delaysInfo() |
boolean |
equals(Object obj) |
float |
getDelay()
Gets the total delay in ps for this edge.
|
TimingVertex |
getDst()
Gets the second vertex of this edge.
|
EDIFNet |
getEdifNet()
Gets the logical "EDIFNet" object associated with this edge, if one has been set.
|
SitePinInst |
getFirstPin()
For debug, gets the first SitePinInst for this edge.
|
float |
getIntraSiteDelay() |
float |
getLogicDelay()
Gets the logic-related component of the delay in ps for this edge.
|
Net |
getNet()
Gets the physical "Net" object associated with this edge.
|
float |
getNetDelay()
Gets the net-related component of the delay in ps for this edge.
|
SitePinInst |
getSecondPin()
For debug, gets the second SitePinInst for this edge.
|
TimingVertex |
getSrc()
Gets the first vertex of this edge.
|
int |
hashCode() |
void |
setFirstSitePinInst(SitePinInst spi)
For debug, sets the first SitePinInst for this edge.
|
void |
setIntraSiteDelay(float intraSiteDelay) |
void |
setLogicDelay(float logicDelay)
Sets the logic-related component of the delay in ps for this edge.
|
void |
setNetDelay(float netDelay)
Sets the net-related component of the delay in ps for this edge.
|
void |
setRouteDelay(float routeDelay) |
void |
setSecondSitePinInst(SitePinInst spi)
For debug, sets the second SitePinInst for this edge.
|
String |
toGraphvizDotString()
Returns a string representing the edge to help towards printing out a textual dot file for
creating a GraphViz dot visualization of the graph.
|
String |
toString()
Represents this edge as a String for debug, etc.
|
String |
toStringOnSitePinInsts() |
public TimingEdge(TimingVertex u, TimingVertex v)
u
- First vertex as a TimingVertex.v
- Second vertex as a TimingVertex.public TimingEdge(TimingGraph graph, TimingVertex u, TimingVertex v)
public TimingEdge(TimingGraph timingGraph, TimingVertex srcPort, TimingVertex dstPort, EDIFNet edifNet, Net net)
timingGraph
- TimingGraph object where this edge will belong.srcPort
- First vertex as a TimingVertex.dstPort
- Second vertex as a TimingVertex.edifNet
- Logical EDIFNet representing this edge. In some cases this is set to null.net
- Physical "Net" representing this edge.public void setFirstSitePinInst(SitePinInst spi)
spi
- First SitePinInst.public void setSecondSitePinInst(SitePinInst spi)
spi
- Second SitePinInst.public SitePinInst getFirstPin()
public SitePinInst getSecondPin()
public String toString()
toString
in class org.jgrapht.graph.DefaultEdge
public String toGraphvizDotString()
public float getLogicDelay()
public float getNetDelay()
public float getDelay()
public float getIntraSiteDelay()
public void setIntraSiteDelay(float intraSiteDelay)
public String toStringOnSitePinInsts()
public String delaysInfo()
public void setRouteDelay(float routeDelay)
public void setNetDelay(float netDelay)
netDelay
- Net delay in picoseconds.public void setLogicDelay(float logicDelay)
logicDelay
- Logic delay in picoseconds.public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public TimingVertex getSrc()
public TimingVertex getDst()
public Net getNet()
public EDIFNet getEdifNet()