Skip to content

Commit d2d3904

Browse files
Don't look for empty locs in init placement
1 parent 39c80f8 commit d2d3904

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpr/src/place/initial_placement.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ static bool try_centroid_placement(const t_pl_macro& pl_macro, PartitionRegion&
493493
//try to find a near location that meet these requirements
494494
bool neighbor_legal_loc = false;
495495
if (!is_loc_legal(centroid_loc, pr, block_type)) {
496-
neighbor_legal_loc = find_centroid_neighbor(centroid_loc, block_type, true);
496+
neighbor_legal_loc = find_centroid_neighbor(centroid_loc, block_type, false);
497497
if (!neighbor_legal_loc) { //no neighbor candidate found
498498
return false;
499499
}
@@ -1311,7 +1311,7 @@ static void initial_noc_placement(const t_noc_opts& noc_opts) {
13111311
const double starting_prob = 0.5;
13121312
const double prob_step = starting_prob / N_MOVES;
13131313

1314-
RouterPlacementCheckpoint checkpoint;
1314+
NoCPlacementCheckpoint checkpoint;
13151315

13161316
// Generate and evaluate router moves
13171317
for (int i_move = 0; i_move < N_MOVES; i_move++) {

0 commit comments

Comments
 (0)