@@ -1498,12 +1498,12 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
14981498 }
14991499
15001500 add_edges_opin_chanz (rr_graph,
1501- layer, i, j,
1502- Fc_out,
1503- seg_index_map,
1504- num_seg_types,
1505- rr_edges_to_create,
1506- interdie_3d_links[i][j]);
1501+ layer, i, j,
1502+ Fc_out,
1503+ seg_index_map,
1504+ num_seg_types,
1505+ rr_edges_to_create,
1506+ interdie_3d_links[i][j]);
15071507
15081508 // Create the actual OPIN->CHANX/CHANY edges
15091509 uniquify_edges (rr_edges_to_create);
@@ -1993,10 +1993,10 @@ static vtr::NdMatrix<std::vector<int>, 4> alloc_and_load_pin_to_track_map(const
19931993 // allocate 'result' matrix and initialize entries to UNDEFINED. also allocate and initialize matrix which will be used
19941994 // to index into the correct entries when loading up 'result'
19951995 auto result = vtr::NdMatrix<std::vector<int >, 4 >({
1996- size_t (tile_type->num_pins ), // [0..num_pins-1]
1997- size_t (tile_type->width ), // [0..width-1]
1998- size_t (tile_type->height ), // [0..height-1]
1999- 4 , // [0..sides-1]
1996+ size_t (tile_type->num_pins ), // [0..num_pins-1]
1997+ size_t (tile_type->width ), // [0..width-1]
1998+ size_t (tile_type->height ), // [0..height-1]
1999+ 4 , // [0..sides-1]
20002000 });
20012001
20022002 // multiplier for unidirectional vs bidirectional architectures
@@ -2074,11 +2074,11 @@ static vtr::NdMatrix<int, 5> alloc_and_load_pin_to_seg_type(const e_pin_type pin
20742074 }
20752075
20762076 auto tracks_connected_to_pin = vtr::NdMatrix<int , 5 >({
2077- size_t (tile_type->num_pins ), // [0..num_pins-1]
2078- size_t (tile_type->width ), // [0..width-1]
2079- size_t (tile_type->height ), // [0..height-1]
2080- NUM_2D_SIDES, // [0..NUM_2D_SIDES-1]
2081- size_t (max_Fc) // [0..Fc-1]
2077+ size_t (tile_type->num_pins ), // [0..num_pins-1]
2078+ size_t (tile_type->width ), // [0..width-1]
2079+ size_t (tile_type->height ), // [0..height-1]
2080+ NUM_2D_SIDES, // [0..NUM_2D_SIDES-1]
2081+ size_t (max_Fc) // [0..Fc-1]
20822082 },
20832083 UNDEFINED); // Unconnected
20842084
@@ -2087,9 +2087,9 @@ static vtr::NdMatrix<int, 5> alloc_and_load_pin_to_seg_type(const e_pin_type pin
20872087 // Type->num_pins) if a logical pin has multiple specified physical
20882088 // pinlocations (i.e. appears on multiple sides of the block)
20892089 auto num_dir = vtr::NdMatrix<int , 3 >({
2090- size_t (tile_type->width ), // [0..width-1]
2091- size_t (tile_type->height ), // [0..height-1]
2092- NUM_2D_SIDES // [0..NUM_2D_SIDES-1]
2090+ size_t (tile_type->width ), // [0..width-1]
2091+ size_t (tile_type->height ), // [0..height-1]
2092+ NUM_2D_SIDES // [0..NUM_2D_SIDES-1]
20932093 },
20942094 0 );
20952095
@@ -2099,18 +2099,18 @@ static vtr::NdMatrix<int, 5> alloc_and_load_pin_to_seg_type(const e_pin_type pin
20992099 //
21002100 // Max possible space allocated for simplicity
21012101 auto dir_list = vtr::NdMatrix<int , 4 >({
2102- size_t (tile_type->width ), // [0..width-1]
2103- size_t (tile_type->height ), // [0..height-1]
2104- NUM_2D_SIDES, // [0..NUM_2D_SIDES-1]
2105- size_t (tile_type->num_pins ) // [0..num_pins * num_layers-1]
2102+ size_t (tile_type->width ), // [0..width-1]
2103+ size_t (tile_type->height ), // [0..height-1]
2104+ NUM_2D_SIDES, // [0..NUM_2D_SIDES-1]
2105+ size_t (tile_type->num_pins ) // [0..num_pins * num_layers-1]
21062106 },
21072107 -1 ); // Defensive coding: Initialize to invalid
21082108
21092109 // Number of currently assigned physical pins
21102110 auto num_done_per_dir = vtr::NdMatrix<int , 3 >({
2111- size_t (tile_type->width ), // [0..width-1]
2112- size_t (tile_type->height ), // [0..height-1]
2113- NUM_2D_SIDES // [0..NUM_2D_SIDES-1]
2111+ size_t (tile_type->width ), // [0..width-1]
2112+ size_t (tile_type->height ), // [0..height-1]
2113+ NUM_2D_SIDES // [0..NUM_2D_SIDES-1]
21142114 },
21152115 0 );
21162116
@@ -2124,7 +2124,6 @@ static vtr::NdMatrix<int, 5> alloc_and_load_pin_to_seg_type(const e_pin_type pin
21242124 if (tile_type->is_ignored_pin [pin])
21252125 continue ;
21262126
2127-
21282127 for (int width = 0 ; width < tile_type->width ; ++width) {
21292128 for (int height = 0 ; height < tile_type->height ; ++height) {
21302129 for (e_side side : TOTAL_2D_SIDES) {
@@ -2195,7 +2194,6 @@ static vtr::NdMatrix<int, 5> alloc_and_load_pin_to_seg_type(const e_pin_type pin
21952194
21962195 VTR_ASSERT (pin == num_phys_pins);
21972196
2198-
21992197 if (perturb_switch_pattern) {
22002198 load_perturbed_connection_block_pattern (tracks_connected_to_pin,
22012199 pin_ordering,
0 commit comments