set_max_delay -ignore_clock_latency -from clk1 -to clk2 from input

This commit is contained in:
James Cherry 2020-05-27 20:41:27 -07:00
parent 6e6415f6e2
commit 31b05c5d83
1 changed files with 7 additions and 2 deletions

View File

@ -2262,8 +2262,13 @@ Search::pathClkPathArrival(const Path *path) const
pathClkPathArrival1(path, src_clk_path);
if (!src_clk_path.isNull())
return clkPathArrival(&src_clk_path);
else
return 0.0;
else {
// Check for input arrival clock.
ClockEdge *clk_edge = path->clkEdge(this);
if (clk_edge)
return clk_edge->time();
}
return 0.0;
}
// PathExpanded::expand() and PathExpanded::clkPath().