Skip to content

Commit 6fa53e1

Browse files
create move generators after movable blocks are determined
1 parent 05beae3 commit 6fa53e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vpr/src/place/place.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,6 @@ void try_place(const Netlist<>& net_list,
647647
move_lim = (int)(annealing_sched.inner_num
648648
* pow(net_list.blocks().size(), 1.3333));
649649

650-
//create the move generator based on the chosen strategy
651-
create_move_generators(move_generator, move_generator2, placer_opts, move_lim, noc_opts.noc_centroid_weight);
652-
653650
alloc_and_load_placement_structs(placer_opts.place_cost_exp, placer_opts, noc_opts, directs, num_directs);
654651

655652
vtr::ScopedStartFinishTimer timer("Placement");
@@ -662,6 +659,9 @@ void try_place(const Netlist<>& net_list,
662659
placer_opts.constraints_file.c_str(),
663660
noc_opts);
664661

662+
//create the move generator based on the chosen strategy
663+
create_move_generators(move_generator, move_generator2, placer_opts, move_lim, noc_opts.noc_centroid_weight);
664+
665665
if (!placer_opts.write_initial_place_file.empty()) {
666666
print_place(nullptr,
667667
nullptr,

0 commit comments

Comments
 (0)