mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-02-16 21:01:31 +00:00
[placer1] Only perform slack redist if legalised
This commit is contained in:
@@ -255,12 +255,12 @@ class SAPlacer
|
||||
temp = post_legalise_temp;
|
||||
diameter *= post_legalise_dia_scale;
|
||||
ctx->shuffle(autoplaced);
|
||||
|
||||
// Legalisation is a big change so force a slack redistribution here
|
||||
if (ctx->slack_redist_iter > 0)
|
||||
assign_budget(ctx, true /* quiet */);
|
||||
}
|
||||
require_legal = false;
|
||||
|
||||
// Legalisation is a big change so force a slack redistribution here
|
||||
if (ctx->slack_redist_iter > 0)
|
||||
assign_budget(ctx, true /* quiet */);
|
||||
} else if (ctx->slack_redist_iter > 0 && iter % ctx->slack_redist_iter == 0) {
|
||||
assign_budget(ctx, true /* quiet */);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user