OL1404 Flow crashes during writing timing model

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2022-10-07 11:04:27 -07:00
parent 072245345f
commit b55b5cd0f1
1 changed files with 26 additions and 24 deletions

View File

@ -208,6 +208,7 @@ void
MakeEndTimingArcs::visit(PathEnd *path_end)
{
ClockEdge *tgt_clk_edge = path_end->targetClkEdge(sta_);
if (tgt_clk_edge) {
Debug *debug = sta_->debug();
const MinMax *min_max = path_end->minMax(sta_);
debugPrint(debug, "make_timing_model", 2, "%s %s -> clock %s %s %s",
@ -232,6 +233,7 @@ MakeEndTimingArcs::visit(PathEnd *path_end)
// Always max margin, even for min/hold checks.
margins.setValue(input_rf_, min_max,
max_exists ? max(max_margin, delay1) : delay1);
}
}
// input -> register setup/hold