Skip to content

Commit 2daf153

Browse files
committed
vpr: run make format
Signed-off-by: Alessandro Comodi <[email protected]>
1 parent 056b6b4 commit 2daf153

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

vpr/src/place/place.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3282,20 +3282,20 @@ static void initial_placement_pl_macros(int macros_max_num_tries, int* free_loca
32823282

32833283
if (no_free_locations) {
32843284
VPR_FATAL_ERROR(VPR_ERROR_PLACE, __FILE__, __LINE__,
3285-
"Initial placement failed.\n"
3286-
"Could not place macro length %d with head block %s (#%zu); not enough free locations.\n"
3287-
"VPR cannot auto-size for your circuit, please resize the FPGA manually.\n",
3288-
pl_macros[imacro].members.size(), cluster_ctx.clb_nlist.block_name(blk_id).c_str(), size_t(blk_id));
3285+
"Initial placement failed.\n"
3286+
"Could not place macro length %d with head block %s (#%zu); not enough free locations.\n"
3287+
"VPR cannot auto-size for your circuit, please resize the FPGA manually.\n",
3288+
pl_macros[imacro].members.size(), cluster_ctx.clb_nlist.block_name(blk_id).c_str(), size_t(blk_id));
32893289
}
32903290

32913291
// If macro could not be placed even after exhaustive placement, error out
32923292
if (macro_placed == false) {
32933293
// Error out
32943294
VPR_FATAL_ERROR(VPR_ERROR_PLACE, __FILE__, __LINE__,
3295-
"Initial placement failed.\n"
3296-
"Could not place macro length %d with head block %s (#%zu); not enough free locations.\n"
3297-
"Please manually size the FPGA because VPR can't do this yet.\n",
3298-
pl_macros[imacro].members.size(), cluster_ctx.clb_nlist.block_name(blk_id).c_str(), size_t(blk_id));
3295+
"Initial placement failed.\n"
3296+
"Could not place macro length %d with head block %s (#%zu); not enough free locations.\n"
3297+
"Please manually size the FPGA because VPR can't do this yet.\n",
3298+
pl_macros[imacro].members.size(), cluster_ctx.clb_nlist.block_name(blk_id).c_str(), size_t(blk_id));
32993299
} else {
33003300
// This macro has been placed successfully, proceed to place the next macro
33013301
continue;
@@ -3363,9 +3363,9 @@ static void initial_placement_blocks(int* free_locations, enum e_pad_loc_type pa
33633363
// Check if there were no available locations
33643364
if (no_free_locations) {
33653365
VPR_FATAL_ERROR(VPR_ERROR_PLACE, __FILE__, __LINE__,
3366-
"Initial placement failed.\n"
3367-
"Could not place block %s (#%zu); no free locations\n",
3368-
cluster_ctx.clb_nlist.block_name(blk_id).c_str(), size_t(blk_id));
3366+
"Initial placement failed.\n"
3367+
"Could not place block %s (#%zu); no free locations\n",
3368+
cluster_ctx.clb_nlist.block_name(blk_id).c_str(), size_t(blk_id));
33693369
}
33703370
}
33713371
}

vpr/src/util/vpr_utils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,9 @@ void sync_grid_to_blocks() {
221221
if (logic_type != physical_type) {
222222
if (!try_sync_equivalent_tiles(blk_id, logic_type, physical_type)) {
223223
VPR_FATAL_ERROR(VPR_ERROR_PLACE, "A block is in a grid location (%d x %d) with a conflicting types '%s' and '%s' .\n",
224-
blk_x, blk_y,
225-
cluster_ctx.clb_nlist.block_type(blk_id)->name,
226-
device_ctx.grid[blk_x][blk_y].type->name);
224+
blk_x, blk_y,
225+
cluster_ctx.clb_nlist.block_type(blk_id)->name,
226+
device_ctx.grid[blk_x][blk_y].type->name);
227227
}
228228
}
229229

0 commit comments

Comments
 (0)