From f53af6253fc9e8ddcf5345bb52525a0844b2b0d8 Mon Sep 17 00:00:00 2001 From: minjukim55 Date: Fri, 17 Apr 2026 18:12:20 +0900 Subject: [PATCH 1/9] Update OpenROAD: rsz buffer core-area clamping fix Update OpenROAD submodule to include fix for RSZ-inserted buffers landing outside core area, causing DPL legalization failures. OpenROAD PR: The-OpenROAD-Project-private/OpenROAD#3302 Signed-off-by: minjukim55 --- tools/OpenROAD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/OpenROAD b/tools/OpenROAD index 0d9d73ffba..31e0b05491 160000 --- a/tools/OpenROAD +++ b/tools/OpenROAD @@ -1 +1 @@ -Subproject commit 0d9d73ffba0228f1a7263953fb9b41de800ba301 +Subproject commit 31e0b054917fd5585f18c43191c9fefc95f3da31 From 0c91737eac0582878b93a4bef78ca0b4733f63cf Mon Sep 17 00:00:00 2001 From: minjukim55 Date: Tue, 21 Apr 2026 12:20:51 +0900 Subject: [PATCH 2/9] test: isolate clamp effect + bump rules for clamp-affected designs Point OR submodule at secure-rsz-core-clamp-only (ORFS master OR + squashed clamp commit only, without the naming refactors and dpl-negotiation-fixes that were bundled in the previous OR pointer). Rules threshold bumps for the 4 designs confirmed clamp-causal on the baseline experiment: - gf12/ca53 base: finish hold TNS -2170 -> -3080 - rapidus2hp/hercules_is_int base: GR+finish hold TNS -0.947 -> -1.5 - rapidus2hp/hercules_is_int verific: cts/GR/finish setup+hold loosened - rapidus2hp/hercules_idecode verific: cts setup TNS -0.392 -> -0.653 jpeg gf12 intentionally not bumped - expected to PASS now with the non-clamp OR commits removed (dpl-negotiation-fixes was the suspected cause of its deterministic -13235.9 / -8677.59 regression). Signed-off-by: minjukim55 --- flow/designs/gf12/ca53/rules-base.json | 2 +- .../hercules_idecode/rules-verific.json | 14 ++++++------- .../hercules_is_int/rules-base.json | 16 +++++++-------- .../hercules_is_int/rules-verific.json | 20 +++++++++---------- tools/OpenROAD | 2 +- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/flow/designs/gf12/ca53/rules-base.json b/flow/designs/gf12/ca53/rules-base.json index bef0a0c5bb..478f3ea6ca 100644 --- a/flow/designs/gf12/ca53/rules-base.json +++ b/flow/designs/gf12/ca53/rules-base.json @@ -88,7 +88,7 @@ "compare": ">=" }, "finish__timing__hold__tns": { - "value": -2170.0, + "value": -3080.0, "compare": ">=" }, "finish__design__instance__area": { diff --git a/flow/designs/rapidus2hp/hercules_idecode/rules-verific.json b/flow/designs/rapidus2hp/hercules_idecode/rules-verific.json index 178f17de18..d97935781e 100644 --- a/flow/designs/rapidus2hp/hercules_idecode/rules-verific.json +++ b/flow/designs/rapidus2hp/hercules_idecode/rules-verific.json @@ -8,11 +8,11 @@ "compare": "==" }, "placeopt__design__instance__area": { - "value": 9790, + "value": 9779, "compare": "<=" }, "placeopt__design__instance__count__stdcell": { - "value": 214546, + "value": 214274, "compare": "<=" }, "detailedplace__design__violations": { @@ -20,11 +20,11 @@ "compare": "==" }, "cts__design__instance__count__setup_buffer": { - "value": 18656, + "value": 18632, "compare": "<=" }, "cts__design__instance__count__hold_buffer": { - "value": 18656, + "value": 18632, "compare": "<=" }, "cts__timing__setup__ws": { @@ -32,7 +32,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -0.392, + "value": -0.653, "compare": ">=" }, "cts__timing__hold__ws": { @@ -52,7 +52,7 @@ "compare": ">=" }, "globalroute__timing__setup__tns": { - "value": -154.0, + "value": -52.4, "compare": ">=" }, "globalroute__timing__hold__ws": { @@ -68,7 +68,7 @@ "compare": ">=" }, "finish__timing__setup__tns": { - "value": -154.0, + "value": -52.4, "compare": ">=" }, "finish__timing__hold__ws": { diff --git a/flow/designs/rapidus2hp/hercules_is_int/rules-base.json b/flow/designs/rapidus2hp/hercules_is_int/rules-base.json index 7f232282fe..db2a38dbf6 100644 --- a/flow/designs/rapidus2hp/hercules_is_int/rules-base.json +++ b/flow/designs/rapidus2hp/hercules_is_int/rules-base.json @@ -8,11 +8,11 @@ "compare": "==" }, "placeopt__design__instance__area": { - "value": 27685, + "value": 27668, "compare": "<=" }, "placeopt__design__instance__count__stdcell": { - "value": 533704, + "value": 533485, "compare": "<=" }, "detailedplace__design__violations": { @@ -20,11 +20,11 @@ "compare": "==" }, "cts__design__instance__count__setup_buffer": { - "value": 46409, + "value": 46390, "compare": "<=" }, "cts__design__instance__count__hold_buffer": { - "value": 46409, + "value": 46390, "compare": "<=" }, "cts__timing__setup__ws": { @@ -32,7 +32,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -442.0, + "value": -358.0, "compare": ">=" }, "cts__timing__hold__ws": { @@ -60,7 +60,7 @@ "compare": ">=" }, "globalroute__timing__hold__tns": { - "value": -0.947, + "value": -1.5, "compare": ">=" }, "finish__timing__setup__ws": { @@ -76,11 +76,11 @@ "compare": ">=" }, "finish__timing__hold__tns": { - "value": -0.947, + "value": -1.5, "compare": ">=" }, "finish__design__instance__area": { - "value": 29956, + "value": 29902, "compare": "<=" } } \ No newline at end of file diff --git a/flow/designs/rapidus2hp/hercules_is_int/rules-verific.json b/flow/designs/rapidus2hp/hercules_is_int/rules-verific.json index 9af77c3bb7..ee9ed9cfe6 100644 --- a/flow/designs/rapidus2hp/hercules_is_int/rules-verific.json +++ b/flow/designs/rapidus2hp/hercules_is_int/rules-verific.json @@ -32,7 +32,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -331.0, + "value": -401.0, "compare": ">=" }, "cts__timing__hold__ws": { @@ -48,39 +48,39 @@ "compare": "<=" }, "globalroute__timing__setup__ws": { - "value": -0.251, + "value": -0.229, "compare": ">=" }, "globalroute__timing__setup__tns": { - "value": -1190.0, + "value": -1020.0, "compare": ">=" }, "globalroute__timing__hold__ws": { - "value": -0.037, + "value": -0.0337, "compare": ">=" }, "globalroute__timing__hold__tns": { - "value": -0.581, + "value": -0.885, "compare": ">=" }, "finish__timing__setup__ws": { - "value": -0.251, + "value": -0.229, "compare": ">=" }, "finish__timing__setup__tns": { - "value": -990.0, + "value": -1020.0, "compare": ">=" }, "finish__timing__hold__ws": { - "value": -0.037, + "value": -0.0337, "compare": ">=" }, "finish__timing__hold__tns": { - "value": -0.584, + "value": -0.885, "compare": ">=" }, "finish__design__instance__area": { - "value": 30086, + "value": 30021, "compare": "<=" } } \ No newline at end of file diff --git a/tools/OpenROAD b/tools/OpenROAD index 5f875ecccb..6b1aee6b71 160000 --- a/tools/OpenROAD +++ b/tools/OpenROAD @@ -1 +1 @@ -Subproject commit 5f875ecccba6352ea26c3dde31b6ac0ccfcb090b +Subproject commit 6b1aee6b71ff383af23cead6036e761909336bfe From 66b3e8c72686afd1944f064ac511e523aa3ec5ce Mon Sep 17 00:00:00 2001 From: minjukim55 Date: Tue, 21 Apr 2026 12:52:16 +0900 Subject: [PATCH 3/9] test: point OR to amended clamp-only branch (fix est enum name) Signed-off-by: minjukim55 --- tools/OpenROAD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/OpenROAD b/tools/OpenROAD index 6b1aee6b71..81b4a91015 160000 --- a/tools/OpenROAD +++ b/tools/OpenROAD @@ -1 +1 @@ -Subproject commit 6b1aee6b71ff383af23cead6036e761909336bfe +Subproject commit 81b4a91015f422d57a284a5dd9c3807657505a08 From 9d090d16d4621fbbb45b20cbd0647d68285b8e21 Mon Sep 17 00:00:00 2001 From: minjukim55 Date: Tue, 21 Apr 2026 13:21:29 +0900 Subject: [PATCH 4/9] test: point OR to clamp-only (fix remaining est enum names) Signed-off-by: minjukim55 --- tools/OpenROAD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/OpenROAD b/tools/OpenROAD index 81b4a91015..9a81140bbe 160000 --- a/tools/OpenROAD +++ b/tools/OpenROAD @@ -1 +1 @@ -Subproject commit 81b4a91015f422d57a284a5dd9c3807657505a08 +Subproject commit 9a81140bbebeb1c4131e6f122df10884982de26e From 59c594405c319e2c601dcfa6339b87738775b1f8 Mon Sep 17 00:00:00 2001 From: minjukim55 Date: Tue, 21 Apr 2026 13:51:30 +0900 Subject: [PATCH 5/9] test: point OR to clamp-only (fix tst::Nangate45 enum) Signed-off-by: minjukim55 --- tools/OpenROAD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/OpenROAD b/tools/OpenROAD index 9a81140bbe..44712df461 160000 --- a/tools/OpenROAD +++ b/tools/OpenROAD @@ -1 +1 @@ -Subproject commit 9a81140bbebeb1c4131e6f122df10884982de26e +Subproject commit 44712df461f0514c3e0c7dfe7262e9f5ecc9ef3e From 0759a400fa6b8e1191aad7d54684ba42de4d5513 Mon Sep 17 00:00:00 2001 From: minjukim55 Date: Tue, 21 Apr 2026 17:35:58 +0900 Subject: [PATCH 6/9] test: bump rules-base.json for clamp-only-isolated regressions Build #4 on secure-test-clamp-only-with-rules (isolated OR = ORFS-master base + clamp only) surfaced new metric failures in designs that passed on PR #1637's build #5 (master+drift+clamp). Drift commits were masking these clamp victims; isolated-OR test exposes them. asap7/mock-alu (base): cts__timing__setup__tns -14100.0 -> -14400.0 (measured -14317.6) globalroute__timing__setup__tns -18100.0 -> -20800.0 (measured -20686.1) finish__timing__setup__tns -15700.0 -> -19100.0 (measured -18956.4) nangate45/jpeg (base): finish__timing__setup__ws -0.144 -> -0.152 (measured -0.151125) Margins chosen to slightly exceed measured (~0.5-1%) to absorb run-to-run variance observed between baseline #1 and #2 on same SHA. Separately: nangate45/swerv hit GRT-0116 congestion error; not a rules-metric failure, needs different treatment. Signed-off-by: minjukim55 --- flow/designs/asap7/mock-alu/rules-base.json | 6 +++--- flow/designs/nangate45/jpeg/rules-base.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flow/designs/asap7/mock-alu/rules-base.json b/flow/designs/asap7/mock-alu/rules-base.json index fa18407f83..e9efb93a64 100644 --- a/flow/designs/asap7/mock-alu/rules-base.json +++ b/flow/designs/asap7/mock-alu/rules-base.json @@ -32,7 +32,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -14100.0, + "value": -14400.0, "compare": ">=" }, "cts__timing__hold__ws": { @@ -52,7 +52,7 @@ "compare": ">=" }, "globalroute__timing__setup__tns": { - "value": -18100.0, + "value": -20800.0, "compare": ">=" }, "globalroute__timing__hold__ws": { @@ -84,7 +84,7 @@ "compare": ">=" }, "finish__timing__setup__tns": { - "value": -15700.0, + "value": -19100.0, "compare": ">=" }, "finish__timing__hold__ws": { diff --git a/flow/designs/nangate45/jpeg/rules-base.json b/flow/designs/nangate45/jpeg/rules-base.json index b9828daea8..571ca2f1ef 100644 --- a/flow/designs/nangate45/jpeg/rules-base.json +++ b/flow/designs/nangate45/jpeg/rules-base.json @@ -80,7 +80,7 @@ "compare": "<=" }, "finish__timing__setup__ws": { - "value": -0.144, + "value": -0.152, "compare": ">=" }, "finish__timing__setup__tns": { From 53116e3f9408aeef3370d23cd87cc0bd10b2d92a Mon Sep 17 00:00:00 2001 From: minjukim55 Date: Wed, 22 Apr 2026 11:33:17 +0900 Subject: [PATCH 7/9] test: lower swerv PLACE_DENSITY_LB_ADDON 0.25 -> 0.20 for GRT-0116 Build #4 on secure-test-clamp-only-with-rules surfaced nangate45/swerv GRT-0116 routing congestion not present on pre-clamp baseline. Clamped port buffers concentrate local density; with util=65% and addon=0.25 the target density forces packing too tight for routing. Formula (flow/scripts/util.tcl:179): target_density = util + (1 - util) * addon + 0.01 Before: 0.65 + 0.35 * 0.25 + 0.01 = 0.7475 After: 0.65 + 0.35 * 0.20 + 0.01 = 0.7300 Modest reduction matching gf180/jpeg level. If still congested, drop further toward sky130hd/jpeg (0.15) or ihp-sg13g2/ibex (0.10). Signed-off-by: minjukim55 --- flow/designs/nangate45/swerv/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/designs/nangate45/swerv/config.mk b/flow/designs/nangate45/swerv/config.mk index 2a76357c5a..ecb13be9cf 100644 --- a/flow/designs/nangate45/swerv/config.mk +++ b/flow/designs/nangate45/swerv/config.mk @@ -8,7 +8,7 @@ export CORE_UTILIZATION = 65 export CORE_ASPECT_RATIO = 1 export CORE_MARGIN = 5 -export PLACE_DENSITY_LB_ADDON = 0.25 +export PLACE_DENSITY_LB_ADDON = 0.20 export TNS_END_PERCENT = 100 export SWAP_ARITH_OPERATORS = 1 From e8923f448bc4eb473af4d050b1ccec827621114a Mon Sep 17 00:00:00 2001 From: minjukim55 Date: Wed, 22 Apr 2026 14:27:16 +0900 Subject: [PATCH 8/9] fix: remove stray CTest artifacts from OR submodule OR submodule pointer bump: 44712df461 -> 506b437ff2 The prior squashed clamp commit accidentally included two local CTest output files under src/rsz/test/Testing/Temporary/ (CTestCostData.txt and LastTest.log) that should never be tracked. Amended the clamp commit in OpenROAD repo to drop them and force-pushed to secure-rsz-instance-outside-core. Bumping the pointer here so ORFS tracks the clean commit. No functional change. Signed-off-by: minjukim55 --- tools/OpenROAD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/OpenROAD b/tools/OpenROAD index 44712df461..506b437ff2 160000 --- a/tools/OpenROAD +++ b/tools/OpenROAD @@ -1 +1 @@ -Subproject commit 44712df461f0514c3e0c7dfe7262e9f5ecc9ef3e +Subproject commit 506b437ff2262a23fa7de2cb43f7eab05efb880a From 74bdbc04b493460e043a747a33ec455982579d78 Mon Sep 17 00:00:00 2001 From: minjukim55 Date: Mon, 27 Apr 2026 17:39:16 +0900 Subject: [PATCH 9/9] test: re-align tools/OpenROAD to ORFS-master OR commit + clamp series Previous merge had OR pointer at 27fb91548 (rebased onto OR origin/master HEAD e6afe2abf1, which is 7 commits ahead of the OR pointer that ORFS master records: 927ca5dfef). That introduces unrelated OR drift into the ORFS CI run for this PR. Per the "OR-pointer alignment" guideline, the OR submodule on this ORFS PR should equal ORFS-master's current OR commit + only this PR's change. Re-rebased OR onto 927ca5dfef and updated the pointer to the resulting HEAD (7ac212ca6), which is exactly clamp + testcase on top of the ORFS-master OR baseline. Clean isolation of the clamp effect in CI. Signed-off-by: minjukim55 --- tools/OpenROAD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/OpenROAD b/tools/OpenROAD index 27fb915482..7ac212ca6e 160000 --- a/tools/OpenROAD +++ b/tools/OpenROAD @@ -1 +1 @@ -Subproject commit 27fb9154823f182d3e5b69a7201a91dc9290f356 +Subproject commit 7ac212ca6e04f409777eaa765d4b4f3cfe651017