From 34e25029df3e0a4aeff23748b685864c616ea1af Mon Sep 17 00:00:00 2001 From: Matt Liberty Date: Fri, 23 Oct 2026 20:57:49 +0000 Subject: [PATCH] asap7: keep the PDN macro halo inside the row halo The macro grid halo (2.0) equaled MACRO_ROWS_HALO_X/Y (2). Rows snap down to the site grid, so the followpin on the row edge next to a macro straddles the halo boundary and every via onto it is obstructed by the macro grid. When that row sits entirely under the macro (a pocket between macros, as in swerv_wrapper) the rail cannot be connected anywhere and pdngen fails with PDN-0179. Shrink the macro grid halo to 1.9 so it stays inside the row halo. Signed-off-by: Matt Liberty --- .../asap7/openRoad/pdn/grid_strategy-M1-M2-M5-M6.tcl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/flow/platforms/asap7/openRoad/pdn/grid_strategy-M1-M2-M5-M6.tcl b/flow/platforms/asap7/openRoad/pdn/grid_strategy-M1-M2-M5-M6.tcl index 1202b0fc82..f15e778427 100644 --- a/flow/platforms/asap7/openRoad/pdn/grid_strategy-M1-M2-M5-M6.tcl +++ b/flow/platforms/asap7/openRoad/pdn/grid_strategy-M1-M2-M5-M6.tcl @@ -25,15 +25,18 @@ add_pdn_connect -grid {top} -layers {M5 M6} #################################### # macro grids #################################### +# The halo stays inside MACRO_ROWS_HALO_X/Y (2) so the followpin on the +# row edge next to a macro, and the vias onto it, are not blocked by the +# macro grid. #################################### # grid for: CORE_macro_grid_1 #################################### define_pdn_grid -name {CORE_macro_grid_1} -voltage_domains {CORE} -macro \ - -orient {R0 R180 MX MY} -halo {2.0 2.0 2.0 2.0} -default + -orient {R0 R180 MX MY} -halo {1.9 1.9 1.9 1.9} -default add_pdn_connect -grid {CORE_macro_grid_1} -layers {M4 M5} #################################### # grid for: CORE_macro_grid_2 #################################### define_pdn_grid -name {CORE_macro_grid_2} -voltage_domains {CORE} -macro \ - -orient {R90 R270 MXR90 MYR90} -halo {2.0 2.0 2.0 2.0} -default + -orient {R90 R270 MXR90 MYR90} -halo {1.9 1.9 1.9 1.9} -default add_pdn_connect -grid {CORE_macro_grid_2} -layers {M4 M5}