Skip to content

Commit ea52b13

Browse files
committed
print debugging message when weighted move aborted
1 parent a9c3074 commit ea52b13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vpr/src/place/median_move_generator.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ e_create_move MedianMoveGenerator::propose_move(t_pl_blocks_to_be_moved& blocks_
101101
place_move_ctx.Y_coord.push_back(coords.ymax);
102102
}
103103

104-
if ((place_move_ctx.X_coord.empty()) || (place_move_ctx.Y_coord.empty()))
104+
if ((place_move_ctx.X_coord.empty()) || (place_move_ctx.Y_coord.empty())) {
105+
VTR_LOGV_DEBUG(g_vpr_ctx.placement().f_placer_debug, "\tMove aborted - X_coord and y_coord are empty\n");
105106
return e_create_move::ABORT;
107+
}
106108

107109
//calculate the median region
108110
std::sort(place_move_ctx.X_coord.begin(), place_move_ctx.X_coord.end());

0 commit comments

Comments
 (0)