clk skew 0.0 for degenerate case with no launch/capture

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2022-09-23 09:08:25 -07:00
parent 95b8a84684
commit 38add49d7f
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ ClkSkews::findWorstClkSkew(const Corner *corner,
ClockSet clks;
for (Clock *clk : *sdc_->clocks())
clks.insert(clk);
float worst_skew = INF;
float worst_skew = 0.0;
ClkSkewMap skews;
findClkSkew(&clks, corner, setup_hold, skews);
for (auto clk_skew_itr : skews) {