Skip to content

Commit 5192d2c

Browse files
committed
Ran make format
1 parent 2102256 commit 5192d2c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

vpr/src/base/read_place.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,12 @@ void read_place_body(std::ifstream& placement_file,
234234

235235
//Check if block is listed multiple times with conflicting locations in constraints file
236236
if (seen_blocks[blk_id] > 0) {
237-
if (block_x != place_ctx.block_locs[blk_id].loc.x || block_y != place_ctx.block_locs[blk_id].loc.y || sub_tile_index != place_ctx.block_locs[blk_id].loc.sub_tile) {
238-
VPR_THROW(VPR_ERROR_PLACE, "The location of cluster %d is specified %d times in the constraints file with conflicting locations. \n"
239-
"Its location was last specified with block %s. \n", blk_id, seen_blocks[blk_id] + 1, c_block_name);
240-
}
237+
if (block_x != place_ctx.block_locs[blk_id].loc.x || block_y != place_ctx.block_locs[blk_id].loc.y || sub_tile_index != place_ctx.block_locs[blk_id].loc.sub_tile) {
238+
VPR_THROW(VPR_ERROR_PLACE,
239+
"The location of cluster %d is specified %d times in the constraints file with conflicting locations. \n"
240+
"Its location was last specified with block %s. \n",
241+
blk_id, seen_blocks[blk_id] + 1, c_block_name);
242+
}
241243
}
242244

243245
//Check if block location is out of range of grid dimensions
@@ -270,7 +272,7 @@ void read_place_body(std::ifstream& placement_file,
270272
place_ctx.block_locs[blk_id].is_fixed = true;
271273
place_ctx.grid_blocks[block_x][block_y].blocks[sub_tile_index] = blk_id;
272274
if (seen_blocks[blk_id] == 0) {
273-
place_ctx.grid_blocks[block_x][block_y].usage++;
275+
place_ctx.grid_blocks[block_x][block_y].usage++;
274276
}
275277
}
276278

0 commit comments

Comments
 (0)