From cd593bb88f67c40f518886397f1ca764f04fa939 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Tue, 26 Oct 2021 07:46:35 -0700 Subject: [PATCH] comopile warning Signed-off-by: James Cherry --- search/Sta.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/Sta.cc b/search/Sta.cc index 24668585..6c0814f6 100644 --- a/search/Sta.cc +++ b/search/Sta.cc @@ -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); } }