Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/cts/src/LatencyBalancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ void LatencyBalancer::buildGraph(odb::dbNet* clkInputNet)
0.0, sta::RiseFall::fall(), sta::MinMax::max());

if (rise != 0 || fall != 0) {
insDelay = (rise + fall) / 2.0;
insDelay = (rise + fall);
if (rise != 0 && fall != 0) {
insDelay /= 2.0;
}
}
}
}
Expand Down Expand Up @@ -341,7 +344,10 @@ void LatencyBalancer::computeSinkArrivalRecur(odb::dbNet* topClokcNet,
0.0, sta::RiseFall::fall(), sta::MinMax::max());

if (rise != 0 || fall != 0) {
insDelay = (rise + fall) / 2.0;
insDelay = (rise + fall);
if (rise != 0 && fall != 0) {
insDelay /= 2.0;
}
}
}
}
Expand Down
5 changes: 4 additions & 1 deletion src/cts/src/TritonCTS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2203,7 +2203,10 @@ double TritonCTS::computeInsertionDelay(const std::string& name,
if (rise != 0 || fall != 0) {
// use average of max rise and max fall
// TODO: do we need to look at min insertion delays?
double delayPerSec = (rise + fall) / 2.0;
double delayPerSec = (rise + fall);
if (rise != 0 && fall != 0) {
delayPerSec /= 2.0;
}
// convert delay to length because HTree uses lengths
sta::Scene* corner = openSta_->cmdScene();
double capPerMicron
Expand Down
6 changes: 3 additions & 3 deletions src/gui/src/clockWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1338,9 +1338,9 @@ ClockNodeGraphicsViewItem* ClockTreeView::addLeafToScene(
0.0, sta::RiseFall::rise(), sta::MinMax::max());
const float fall = lib_port->clkTreeDelay(
0.0, sta::RiseFall::fall(), sta::MinMax::max());

if (rise != 0 || fall != 0) {
ins_delay = (rise + fall) / 2.0;
ins_delay = (rise + fall);
if (rise != 0 && fall != 0) {
ins_delay /= 2.0;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/sta
Submodule sta updated 168 files
Loading