Skip to content

Commit 790b867

Browse files
make format
1 parent b9e25c6 commit 790b867

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

vpr/src/route/check_route.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ static bool check_adjacent(RRNodeId from_node, RRNodeId to_node, bool is_flat) {
346346

347347
t_physical_tile_type_ptr from_grid_type, to_grid_type;
348348

349-
// Layer numbers are should not be more than one layer apart for connected nodes
349+
// Layer numbers are should not be more than one layer apart for connected nodes
350350
VTR_ASSERT(abs(from_layer - to_layer) <= 1);
351351
switch (from_type) {
352352
case e_rr_type::SOURCE:

vpr/src/route/rr_graph_generation/rr_graph2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1589,7 +1589,7 @@ static void get_switchblocks_edges(RRGraphBuilder& rr_graph_builder,
15891589
// +-------------+ +-------------+ +--------------+ +--------------+
15901590

15911591
const int chanz_track_num = num_of_3d_conns_custom_SB[tile_x][tile_y] / custom_3d_sb_fanin_fanout;
1592-
RRNodeId track_to_chanx_node = rr_graph_builder.node_lookup().find_node(layer, tile_x, tile_y, e_rr_type::CHANZ, chanz_track_num);
1592+
RRNodeId track_to_chanx_node = rr_graph_builder.node_lookup().find_node(layer, tile_x, tile_y, e_rr_type::CHANZ, chanz_track_num);
15931593
RRNodeId diff_layer_chanx_node = rr_graph_builder.node_lookup().find_node(to_layer, tile_x, tile_y, e_rr_type::CHANZ, chanz_track_num);
15941594
RRNodeId chanx_to_track_node = rr_graph_builder.node_lookup().find_node(to_layer, to_x, to_y, to_chan_type, to_wire);
15951595

vpr/src/route/rr_graph_generation/rr_graph_area.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ void count_bidir_routing_transistors(int num_switch, int wire_to_ipin_switch, fl
113113

114114
vtr::vector<RRNodeId, int> num_inputs_to_cblock(rr_graph.num_nodes(), 0); // entries not corresponding to IPINs will be 0
115115

116-
117-
118116
bool* cblock_counted; /* [0..max(device_ctx.grid.width(),device_ctx.grid.height())] -- 0th element unused. */
119117
float* shared_buffer_trans; /* [0..max(device_ctx.grid.width(),device_ctx.grid.height())] */
120118
float *unsharable_switch_trans, *sharable_switch_trans; /* [0..num_switch-1] */
@@ -311,7 +309,7 @@ void count_unidir_routing_transistors(std::vector<t_segment_inf>& /*segment_inf*
311309
auto& device_ctx = g_vpr_ctx.device();
312310
const auto& rr_graph = device_ctx.rr_graph;
313311

314-
bool* cblock_counted; /* [0..max(device_ctx.grid.width(),device_ctx.grid.height())] -- 0th element unused. */
312+
bool* cblock_counted; /* [0..max(device_ctx.grid.width(),device_ctx.grid.height())] -- 0th element unused. */
315313
vtr::vector<RRNodeId, int> num_inputs_to_cblock(rr_graph.num_nodes(), 0); // entries not corresponding to IPINs will be 0
316314

317315
e_rr_type from_rr_type, to_rr_type;

0 commit comments

Comments
 (0)