Properties::edgeDelay resolves #254

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2025-06-05 17:32:07 -07:00
parent 849426fc96
commit f2a94a6ffa
1 changed files with 3 additions and 4 deletions

View File

@ -1182,11 +1182,10 @@ Properties::edgeDelay(Edge *edge,
DcalcAnalysisPt *dcalc_ap = corner->findDcalcAnalysisPt(min_max);
ArcDelay arc_delay = sta_->arcDelay(edge, arc, dcalc_ap);
if (!delay_exists
|| ((min_max == MinMax::max()
&& delayGreater(arc_delay, delay, sta_))
|| (min_max == MinMax::min()
&& delayLess(arc_delay, delay, sta_))))
|| delayGreater(arc_delay, delay, min_max, sta_)) {
delay = arc_delay;
delay_exists = true;
}
}
}
}