Skip to content

Commit 5563683

Browse files
committed
drt: clang-format
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
1 parent 753ac53 commit 5563683

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/drt/src/io/io.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3937,8 +3937,7 @@ int io::TopLayerBTermHandler::countNetBTermsAboveMaxLayer(odb::dbNet* net)
39373937
odb::dbTech* tech = db_->getTech();
39383938
odb::dbBlock* block = db_->getChip()->getBlock();
39393939
const int max_routing_layer = block->getMaxRoutingLayer();
3940-
odb::dbTechLayer* top_tech_layer
3941-
= tech->findRoutingLayer(max_routing_layer);
3940+
odb::dbTechLayer* top_tech_layer = tech->findRoutingLayer(max_routing_layer);
39423941
int bterm_count = 0;
39433942
for (auto bterm : net->getBTerms()) {
39443943
int bterm_bottom_layer_idx = std::numeric_limits<int>::max();
@@ -4061,8 +4060,7 @@ void io::TopLayerBTermHandler::processBTermsAboveTopLayer(bool has_routing)
40614060
}
40624061
odb::dbTech* tech = db_->getTech();
40634062

4064-
odb::dbTechLayer* top_tech_layer
4065-
= tech->findRoutingLayer(max_routing_layer);
4063+
odb::dbTechLayer* top_tech_layer = tech->findRoutingLayer(max_routing_layer);
40664064
if (top_tech_layer != nullptr) {
40674065
int top_layer_idx = top_tech_layer->getRoutingLevel();
40684066
for (auto bterm : block->getBTerms()) {

0 commit comments

Comments
 (0)