@@ -103,7 +103,6 @@ void setup_vpr_floorplan_constraints_cutpoints(VprConstraints& constraints, int
103
103
// load two arrays - one for horizontal cutpoints and one for vertical
104
104
105
105
std::vector<int > horizontal_cuts;
106
-
107
106
std::vector<int > vertical_cuts;
108
107
109
108
// This function has not been tested for multi-layer grids
@@ -147,7 +146,7 @@ void setup_vpr_floorplan_constraints_cutpoints(VprConstraints& constraints, int
147
146
int ymin = vertical_cuts[j];
148
147
int ymax = vertical_cuts[j + 1 ] - 1 ;
149
148
150
- Region reg (xmin, ymin, xmax, ymax, 0 , n_layers- 1 );
149
+ Region reg (xmin, ymin, xmax, ymax, 0 , n_layers - 1 );
151
150
// This function has not been tested for multi-layer grids. An assertion is used earlier to make sure that the grid has only one layer
152
151
std::vector<AtomBlockId> atoms;
153
152
region_atoms.insert ({reg, atoms});
@@ -158,7 +157,7 @@ void setup_vpr_floorplan_constraints_cutpoints(VprConstraints& constraints, int
158
157
* For each cluster block, see which region it belongs to, and add its atoms to the
159
158
* appropriate region accordingly
160
159
*/
161
- for (auto blk_id : cluster_ctx.clb_nlist .blocks ()) {
160
+ for (ClusterBlockId blk_id : cluster_ctx.clb_nlist .blocks ()) {
162
161
const std::unordered_set<AtomBlockId>& atoms = cluster_to_atoms (blk_id);
163
162
int x = place_ctx.block_locs [blk_id].loc .x ;
164
163
int y = place_ctx.block_locs [blk_id].loc .y ;
0 commit comments