parallel driver dcalc seg fault

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2024-01-08 16:18:54 -07:00
parent 3b721ba40a
commit e0024709f4
1 changed files with 2 additions and 2 deletions

View File

@ -935,12 +935,12 @@ GraphDelayCalc::findParallelEdge(Vertex *vertex,
Edge *&edge,
const TimingArc *&arc)
{
LibertyCell *drvr_cell = network_->libertyCell(network_->instance(drvr_edge->to(graph_)->pin()));
LibertyCell *drvr_cell = drvr_arc->from()->libertyCell();
LibertyCell *vertex_cell = network_->libertyCell(network_->instance(vertex->pin()));
if (vertex_cell == drvr_cell) {
// Homogeneous drivers.
arc = drvr_arc;
LibertyPort *from_port = network_->libertyPort(edge->from(graph_)->pin());
LibertyPort *from_port = network_->libertyPort(drvr_edge->from(graph_)->pin());
VertexInEdgeIterator edge_iter(vertex, graph_);
while (edge_iter.hasNext()) {
edge = edge_iter.next();