comopile warning

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2021-10-26 07:46:35 -07:00
parent db871138a0
commit cd593bb88f
1 changed files with 1 additions and 1 deletions

View File

@ -3090,7 +3090,7 @@ MinPeriodEndVisitor::visit(PathEnd *path_end)
|| !(network->isTopLevelPort(path->pin(sta_))
|| pathIsFromInputPort(path_end)))) {
Slack slack = path_end->slack(sta_);
float period = clk_->period() - slack;
float period = clk_->period() - delayAsFloat(slack);
min_period_ = max(min_period_, period);
}
}