Skip to content

Commit f733220

Browse files
committed
[place] fix the bug to skip anneal when analytic placer is enabled
1 parent 731e101 commit f733220

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vpr/src/place/placer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,15 +285,15 @@ int Placer::check_placement_costs_() {
285285
void Placer::place() {
286286
const auto& timing_ctx = g_vpr_ctx.timing();
287287
const auto& cluster_ctx = g_vpr_ctx.clustering();
288-
288+
bool analytic_place_enabled = false;
289289
#ifdef ENABLE_ANALYTIC_PLACE
290290
// Cluster-level analytic placer: when enabled, skip most of the annealing and go straight to quench
291291
if (placer_opts_.enable_analytic_placer) {
292-
skip_anneal_ = true;
292+
analytic_place_enabled = true;
293293
}
294294
#endif
295295

296-
if (!skip_anneal_) {
296+
if (!analytic_place_enabled && !skip_anneal_) {
297297
// Table header
298298
log_printer_.print_place_status_header();
299299

0 commit comments

Comments
 (0)