Properties::edgeDelay resolves #254
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
849426fc96
commit
f2a94a6ffa
|
|
@ -1182,11 +1182,10 @@ Properties::edgeDelay(Edge *edge,
|
||||||
DcalcAnalysisPt *dcalc_ap = corner->findDcalcAnalysisPt(min_max);
|
DcalcAnalysisPt *dcalc_ap = corner->findDcalcAnalysisPt(min_max);
|
||||||
ArcDelay arc_delay = sta_->arcDelay(edge, arc, dcalc_ap);
|
ArcDelay arc_delay = sta_->arcDelay(edge, arc, dcalc_ap);
|
||||||
if (!delay_exists
|
if (!delay_exists
|
||||||
|| ((min_max == MinMax::max()
|
|| delayGreater(arc_delay, delay, min_max, sta_)) {
|
||||||
&& delayGreater(arc_delay, delay, sta_))
|
|
||||||
|| (min_max == MinMax::min()
|
|
||||||
&& delayLess(arc_delay, delay, sta_))))
|
|
||||||
delay = arc_delay;
|
delay = arc_delay;
|
||||||
|
delay_exists = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue