From a990d58b485c20ebe92b09f70a00ed3bcf9b3e20 Mon Sep 17 00:00:00 2001 From: Jaehyun Kim Date: Wed, 12 Aug 2026 06:27:31 +0900 Subject: [PATCH 1/5] flow: Re-estimate CTS parasitics after detailed placement Refresh placement-based parasitics after final CTS legalization and before report_metrics. This makes CTS WNS reflect final cell locations instead of estimates computed before timing repair. Signed-off-by: Jaehyun Kim --- flow/scripts/cts.tcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flow/scripts/cts.tcl b/flow/scripts/cts.tcl index 4f602a22f5..178be1cf0c 100644 --- a/flow/scripts/cts.tcl +++ b/flow/scripts/cts.tcl @@ -78,6 +78,8 @@ if { !$::env(SKIP_CTS_REPAIR_TIMING) } { } check_placement -verbose + + log_cmd estimate_parasitics -placement } report_metrics 4 "cts final" From 53d01015d6a106cbec364c65dda313b58c174f6f Mon Sep 17 00:00:00 2001 From: Jaehyun Kim Date: Wed, 12 Aug 2026 06:27:44 +0900 Subject: [PATCH 2/5] flow: Rename CTS pre-repair snapshot Name the snapshot setup_hold to match the repair_timing execution order. Setup repair runs before hold repair, so the generated ODB and SDC names now describe the sequence accurately. Signed-off-by: Jaehyun Kim --- flow/scripts/cts.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/scripts/cts.tcl b/flow/scripts/cts.tcl index 178be1cf0c..5becb44f2c 100644 --- a/flow/scripts/cts.tcl +++ b/flow/scripts/cts.tcl @@ -55,7 +55,7 @@ if { $result != 0 } { log_cmd estimate_parasitics -placement if { $::env(CTS_SNAPSHOTS) } { - save_progress 4_1_pre_repair_hold_setup + save_progress 4_1_pre_repair_setup_hold } if { !$::env(SKIP_CTS_REPAIR_TIMING) } { From b10ff46ff07aecba43d348bf2bcc63aa4865ff25 Mon Sep 17 00:00:00 2001 From: Jaehyun Kim Date: Wed, 12 Aug 2026 09:04:13 +0900 Subject: [PATCH 3/5] test: Update CTS metric baselines Update only the CTS setup WNS and TNS rules that failed PR 1806 CI after placement parasitics were refreshed. Apply the standard failing-only period padding and preserve every passing metric baseline. Signed-off-by: Jaehyun Kim --- flow/designs/asap7/uart/rules-base.json | 2 +- flow/designs/gf180/aes-hybrid/rules-base.json | 2 +- flow/designs/nangate45/jpeg/rules-base.json | 2 +- flow/designs/nangate45/swerv_wrapper/rules-base.json | 2 +- flow/designs/nangate45/tinyRocket/rules-base.json | 2 +- flow/designs/sky130hd/chameleon/rules-base.json | 2 +- flow/designs/sky130hd/gcd/rules-base.json | 4 ++-- flow/designs/sky130hd/jpeg/rules-base.json | 2 +- flow/designs/sky130hs/ibex/rules-base.json | 2 +- flow/designs/sky130hs/riscv32i/rules-base.json | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/flow/designs/asap7/uart/rules-base.json b/flow/designs/asap7/uart/rules-base.json index d0ae831252..5cb758aa5b 100644 --- a/flow/designs/asap7/uart/rules-base.json +++ b/flow/designs/asap7/uart/rules-base.json @@ -42,7 +42,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -813.0, + "value": -943.0, "compare": ">=" }, "cts__timing__hold__ws": { diff --git a/flow/designs/gf180/aes-hybrid/rules-base.json b/flow/designs/gf180/aes-hybrid/rules-base.json index adb110a52a..6db1943825 100644 --- a/flow/designs/gf180/aes-hybrid/rules-base.json +++ b/flow/designs/gf180/aes-hybrid/rules-base.json @@ -42,7 +42,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -123.0, + "value": -126.0, "compare": ">=" }, "cts__timing__hold__ws": { diff --git a/flow/designs/nangate45/jpeg/rules-base.json b/flow/designs/nangate45/jpeg/rules-base.json index edb60e2d93..024c8674ab 100644 --- a/flow/designs/nangate45/jpeg/rules-base.json +++ b/flow/designs/nangate45/jpeg/rules-base.json @@ -38,7 +38,7 @@ "compare": "<=" }, "cts__timing__setup__ws": { - "value": -0.147, + "value": -0.215, "compare": ">=" }, "cts__timing__setup__tns": { diff --git a/flow/designs/nangate45/swerv_wrapper/rules-base.json b/flow/designs/nangate45/swerv_wrapper/rules-base.json index 78074c3a0b..1eecc9ea1b 100644 --- a/flow/designs/nangate45/swerv_wrapper/rules-base.json +++ b/flow/designs/nangate45/swerv_wrapper/rules-base.json @@ -42,7 +42,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -415.0, + "value": -419.0, "compare": ">=" }, "cts__timing__hold__ws": { diff --git a/flow/designs/nangate45/tinyRocket/rules-base.json b/flow/designs/nangate45/tinyRocket/rules-base.json index 44ab24a35d..320076b334 100644 --- a/flow/designs/nangate45/tinyRocket/rules-base.json +++ b/flow/designs/nangate45/tinyRocket/rules-base.json @@ -42,7 +42,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -27.9, + "value": -31.4, "compare": ">=" }, "cts__timing__hold__ws": { diff --git a/flow/designs/sky130hd/chameleon/rules-base.json b/flow/designs/sky130hd/chameleon/rules-base.json index 3e5260f7af..eb52f52ccc 100644 --- a/flow/designs/sky130hd/chameleon/rules-base.json +++ b/flow/designs/sky130hd/chameleon/rules-base.json @@ -42,7 +42,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -114.0, + "value": -115.0, "compare": ">=" }, "cts__timing__hold__ws": { diff --git a/flow/designs/sky130hd/gcd/rules-base.json b/flow/designs/sky130hd/gcd/rules-base.json index d1137c601b..2704aa18cd 100644 --- a/flow/designs/sky130hd/gcd/rules-base.json +++ b/flow/designs/sky130hd/gcd/rules-base.json @@ -38,11 +38,11 @@ "compare": "<=" }, "cts__timing__setup__ws": { - "value": -1.45, + "value": -1.51, "compare": ">=" }, "cts__timing__setup__tns": { - "value": -60.9, + "value": -65.5, "compare": ">=" }, "cts__timing__hold__ws": { diff --git a/flow/designs/sky130hd/jpeg/rules-base.json b/flow/designs/sky130hd/jpeg/rules-base.json index eb72eabd15..1710e7bacc 100644 --- a/flow/designs/sky130hd/jpeg/rules-base.json +++ b/flow/designs/sky130hd/jpeg/rules-base.json @@ -38,7 +38,7 @@ "compare": "<=" }, "cts__timing__setup__ws": { - "value": -0.692, + "value": -0.961, "compare": ">=" }, "cts__timing__setup__tns": { diff --git a/flow/designs/sky130hs/ibex/rules-base.json b/flow/designs/sky130hs/ibex/rules-base.json index c1ead53373..438bf92fe1 100644 --- a/flow/designs/sky130hs/ibex/rules-base.json +++ b/flow/designs/sky130hs/ibex/rules-base.json @@ -42,7 +42,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -1.4, + "value": -3.2, "compare": ">=" }, "cts__timing__hold__ws": { diff --git a/flow/designs/sky130hs/riscv32i/rules-base.json b/flow/designs/sky130hs/riscv32i/rules-base.json index c42790ecac..b1c0ab7f83 100644 --- a/flow/designs/sky130hs/riscv32i/rules-base.json +++ b/flow/designs/sky130hs/riscv32i/rules-base.json @@ -38,7 +38,7 @@ "compare": "<=" }, "cts__timing__setup__ws": { - "value": -0.303, + "value": -0.516, "compare": ">=" }, "cts__timing__setup__tns": { From fefd31f13490620fabce35e857f96d56618a4d31 Mon Sep 17 00:00:00 2001 From: Jaehyun Kim Date: Wed, 12 Aug 2026 15:30:21 +0900 Subject: [PATCH 4/5] test: Update GF12 CTS metric baseline Update only the GF12 tinyRocket CTS setup TNS rule that failed Secure CI build 2 after CTS placement parasitics were refreshed. Derive the new limit from the recorded metadata with the standard period padding and preserve every passing metric baseline. flow/designs/gf12/tinyRocket/rules-base.json updates: | Metric | Old | New | Type | | ------ | --- | --- | ---- | | cts__timing__setup__tns | -160.0 | -868.0 | Failing | Signed-off-by: Jaehyun Kim --- flow/designs/gf12/tinyRocket/rules-base.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/designs/gf12/tinyRocket/rules-base.json b/flow/designs/gf12/tinyRocket/rules-base.json index 6acb5a1402..ac69a96fa2 100644 --- a/flow/designs/gf12/tinyRocket/rules-base.json +++ b/flow/designs/gf12/tinyRocket/rules-base.json @@ -32,7 +32,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -160.0, + "value": -868.0, "compare": ">=" }, "cts__timing__hold__ws": { From 44b2ec1a921ecc15261da427d3e2bf7c91c7ab09 Mon Sep 17 00:00:00 2001 From: Jaehyun Kim Date: Fri, 14 Aug 2026 13:47:07 +0900 Subject: [PATCH 5/5] test: Update post-merge CTS metric baselines Update only the six public CTS timing rules that failed PR 4421 build 2 after merging the latest master. Derive each limit from the archived CI metadata with failing-only standard period padding and preserve every passing metric baseline. Signed-off-by: Jaehyun Kim --- flow/designs/asap7/riscv32i/rules-base.json | 2 +- flow/designs/gf180/aes-hybrid/rules-base.json | 4 ++-- flow/designs/nangate45/swerv_wrapper/rules-base.json | 2 +- flow/designs/sky130hd/gcd/rules-base.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/flow/designs/asap7/riscv32i/rules-base.json b/flow/designs/asap7/riscv32i/rules-base.json index 8782f91386..5770da715e 100644 --- a/flow/designs/asap7/riscv32i/rules-base.json +++ b/flow/designs/asap7/riscv32i/rules-base.json @@ -42,7 +42,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -190.0, + "value": -384.0, "compare": ">=" }, "cts__timing__hold__ws": { diff --git a/flow/designs/gf180/aes-hybrid/rules-base.json b/flow/designs/gf180/aes-hybrid/rules-base.json index d995d6602a..a965f9a3c6 100644 --- a/flow/designs/gf180/aes-hybrid/rules-base.json +++ b/flow/designs/gf180/aes-hybrid/rules-base.json @@ -38,11 +38,11 @@ "compare": "<=" }, "cts__timing__setup__ws": { - "value": -0.967, + "value": -1.12, "compare": ">=" }, "cts__timing__setup__tns": { - "value": -129.0, + "value": -132.0, "compare": ">=" }, "cts__timing__hold__ws": { diff --git a/flow/designs/nangate45/swerv_wrapper/rules-base.json b/flow/designs/nangate45/swerv_wrapper/rules-base.json index 27c3b1572d..e8e9aa1286 100644 --- a/flow/designs/nangate45/swerv_wrapper/rules-base.json +++ b/flow/designs/nangate45/swerv_wrapper/rules-base.json @@ -42,7 +42,7 @@ "compare": ">=" }, "cts__timing__setup__tns": { - "value": -459.0, + "value": -463.0, "compare": ">=" }, "cts__timing__hold__ws": { diff --git a/flow/designs/sky130hd/gcd/rules-base.json b/flow/designs/sky130hd/gcd/rules-base.json index f28447f742..200afbd5e2 100644 --- a/flow/designs/sky130hd/gcd/rules-base.json +++ b/flow/designs/sky130hd/gcd/rules-base.json @@ -38,11 +38,11 @@ "compare": "<=" }, "cts__timing__setup__ws": { - "value": -1.51, + "value": -1.57, "compare": ">=" }, "cts__timing__setup__tns": { - "value": -65.5, + "value": -68.5, "compare": ">=" }, "cts__timing__hold__ws": {