Skip to content

Commit 1b1ddcc

Browse files
committed
grt: clang-format
Signed-off-by: Eder Monteiro <[email protected]>
1 parent d78819c commit 1b1ddcc

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

src/grt/src/cugr/include/CUGR.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ class CUGR
6565
stt::SteinerTreeBuilder* stt_builder,
6666
sta::dbSta* sta);
6767
~CUGR();
68-
void init(int min_routing_layer, int max_routing_layer, std::set<odb::dbNet*> clock_nets);
68+
void init(int min_routing_layer,
69+
int max_routing_layer,
70+
std::set<odb::dbNet*> clock_nets);
6971
void route();
7072
void write(const std::string& guide_file);
7173
NetRouteMap getRoutes();

src/grt/src/cugr/src/CUGR.cpp

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,17 @@ CUGR::CUGR(odb::dbDatabase* db,
4040

4141
CUGR::~CUGR() = default;
4242

43-
void CUGR::init(const int min_routing_layer, const int max_routing_layer, std::set<odb::dbNet*> clock_nets)
43+
void CUGR::init(const int min_routing_layer,
44+
const int max_routing_layer,
45+
std::set<odb::dbNet*> clock_nets)
4446
{
45-
design_ = std::make_unique<Design>(
46-
db_, logger_, sta_, constants_, min_routing_layer, max_routing_layer, clock_nets);
47+
design_ = std::make_unique<Design>(db_,
48+
logger_,
49+
sta_,
50+
constants_,
51+
min_routing_layer,
52+
max_routing_layer,
53+
clock_nets);
4754
grid_graph_ = std::make_unique<GridGraph>(design_.get(), constants_, logger_);
4855
// Instantiate the global routing netlist
4956
const std::vector<CUGRNet>& baseNets = design_->getAllNets();

src/grt/src/cugr/src/Design.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

3-
#include <vector>
43
#include <set>
4+
#include <vector>
55

66
#include "CUGR.h"
77
#include "GeoTypes.h"

0 commit comments

Comments
 (0)