Skip to content

Commit b51ccec

Browse files
committed
make format
Signed-off-by: Alessandro Comodi <[email protected]>
1 parent 880e40b commit b51ccec

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

vpr/src/route/connection_box_lookahead_map.cpp

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,18 @@ struct t_reachable_wire_inf {
101101
};
102102

103103
typedef std::vector<std::vector<std::map<int, t_reachable_wire_inf>>> t_src_opin_delays; //[0..device_ctx.physical_tile_types.size()-1][0..max_ptc-1][wire_seg_index]
104-
// ^ ^ ^
105-
// | | |
106-
// physical block type index | Reachable wire info
107-
// |
108-
// SOURCE/OPIN ptc
104+
// ^ ^ ^
105+
// | | |
106+
// physical block type index | Reachable wire info
107+
// |
108+
// SOURCE/OPIN ptc
109109

110110
typedef std::vector<std::vector<std::map<int, t_reachable_wire_inf>>> t_chan_ipins_delays; //[0..device_ctx.physical_tile_types.size()-1][0..max_ptc-1][wire_seg_index]
111-
// ^ ^ ^
112-
// | | |
113-
// physical block type index | Wire to IPIN segment info
114-
// |
115-
// SINK/IPIN ptc
111+
// ^ ^ ^
112+
// | | |
113+
// physical block type index | Wire to IPIN segment info
114+
// |
115+
// SINK/IPIN ptc
116116

117117
//Look-up table from SOURCE/OPIN to CHANX/CHANY of various types
118118
t_src_opin_delays f_src_opin_delays;
@@ -421,7 +421,6 @@ std::pair<util::Cost_Entry, int> CostMap::get_nearby_cost_entry(const vtr::NdMat
421421
return std::make_pair(fill, n);
422422
}
423423

424-
425424
std::pair<float, float> ConnectionBoxMapLookahead::get_src_opin_delays(RRNodeId from_node, int delta_x, int delta_y, float criticality_fac) const {
426425
auto& device_ctx = g_vpr_ctx.device();
427426
auto& rr_graph = device_ctx.rr_nodes;
@@ -492,7 +491,6 @@ std::pair<float, float> ConnectionBoxMapLookahead::get_src_opin_delays(RRNodeId
492491
rr_node_arch_name(size_t(from_node)).c_str(),
493492
describe_rr_node(size_t(from_node)).c_str())
494493
.c_str());
495-
496494
}
497495

498496
return std::pair<float, float>(0.f, 0.f);
@@ -612,7 +610,6 @@ static bool add_paths(int start_node_ind,
612610
}
613611
path.push_back(start_node_ind);
614612

615-
616613
current.adjust_Tsw(-site_pin_delay);
617614

618615
// add each node along the path subtracting the incremental costs from the current costs
@@ -1434,7 +1431,6 @@ static void dijkstra_flood_to_ipins(RRNodeId node, t_chan_ipins_delays& chan_ipi
14341431
}
14351432
}
14361433

1437-
14381434
// get an expected minimum cost for routing from the current node to the target node
14391435
float ConnectionBoxMapLookahead::get_expected_cost(
14401436
int current_node,

0 commit comments

Comments
 (0)