Skip to content

Commit 1feffa0

Browse files
committed
clang-format
Signed-off-by: arthurjolo <[email protected]>
1 parent d8c593b commit 1feffa0

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/cts/src/TritonCTS.cpp

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,8 @@ void TritonCTS::findLongEdges(
10781078
odb::Point driverPt,
10791079
std::map<odb::Point, std::vector<odb::dbITerm*>>& point2pin)
10801080
{
1081-
double maxWlMicrons = resizer_->findMaxWireLength(/* don't issue error */false) * 1e+6;
1081+
double maxWlMicrons
1082+
= resizer_->findMaxWireLength(/* don't issue error */ false) * 1e+6;
10821083
int threshold = block_->micronsToDbu(maxWlMicrons);
10831084
debugPrint(
10841085
logger_, CTS, "clock gate cloning", 1, "Threshold = {}", threshold);
@@ -1177,10 +1178,11 @@ void TritonCTS::findLongEdges(
11771178
sinksBbox.merge({sinkX, sinkY});
11781179
}
11791180
}
1180-
if(validCluster) {
1181+
if (validCluster) {
11811182
validClusters += 1;
1182-
int64_t dist2Driver = odb::Point::manhattanDistance(sinksBbox.center(), driverPt);
1183-
if(dist2Driver < minDist2Driver) {
1183+
int64_t dist2Driver
1184+
= odb::Point::manhattanDistance(sinksBbox.center(), driverPt);
1185+
if (dist2Driver < minDist2Driver) {
11841186
driverClusterID = n;
11851187
minDist2Driver = dist2Driver;
11861188
}
@@ -1194,7 +1196,8 @@ void TritonCTS::findLongEdges(
11941196
"Found {} clusters",
11951197
validClusters);
11961198

1197-
// Insert original ICG to its closest cluster, create a clone to drive the other clusters
1199+
// Insert original ICG to its closest cluster, create a clone to drive the
1200+
// other clusters
11981201
int count = 0;
11991202
// hierarchy fix, make the clone net in the right scope
12001203
sta::Pin* driver = nullptr;

0 commit comments

Comments
 (0)