From e1c7f39f49c405236670a2bacc974c2acb8014b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Wed, 12 Aug 2026 14:08:20 +0200 Subject: [PATCH] macro_place_util: apply macro base halos for fixed macros MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If macros are already fixed (e.g. by floorplan_anneal), rtl_macro_placer skips placement and never creates blockages. This explicitly applies the base halo to fixed macros to ensure blockages are generated correctly. Signed-off-by: Øyvind Harboe --- flow/scripts/macro_place_util.tcl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flow/scripts/macro_place_util.tcl b/flow/scripts/macro_place_util.tcl index 70ac5ea23f..c1194aa56c 100644 --- a/flow/scripts/macro_place_util.tcl +++ b/flow/scripts/macro_place_util.tcl @@ -67,6 +67,13 @@ if { [find_macros] != "" } { } log_cmd rtl_macro_placer {*}$all_args + + # If macros are already fixed (e.g. by floorplan_anneal), rtl_macro_placer skips placement + # and never creates blockages. We must explicitly apply the base halo to fixed macros. + if { [info commands set_macro_base_halo] ne "" && [info commands block_macro_channels] ne "" } { + set_macro_base_halo $halo_x $halo_y $halo_x $halo_y + block_macro_channels + } } else { puts "No macros found: Skipping macro_placement" }