Skip to content

flow: Update parasitics after detailed placement at cts.tcl - #4421

Merged
eder-matheus merged 6 commits into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:secure-add-est-para-cts-repair
Aug 14, 2026
Merged

eder-matheus merged 6 commits into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:secure-add-est-para-cts-repair

Conversation

@jhkim-pii

@jhkim-pii jhkim-pii commented Aug 12, 2026 •

Copy link
Copy Markdown
Collaborator
  1. Re-estimate placement parasitics after final CTS detailed placement before reporting timing metrics.
    • By this fix, CTS stage QoR can be reported based on correct RC values.
  2. Rename the pre-repair CTS snapshot name: save_progress 4_1_pre_repair_hold_setup -> save_progress 4_1_pre_repair_setup_hold

CI Could not Update Rules

[ERROR] asap7/tinyRocket skipped. File 'rules-base.json' not found. Please create the file with 'make update_rules'.

Messages from CI

[INFO] asap7/minimal not included in CI.
[INFO] gf12 not included in the update.
[INFO] gf55 not included in the update.
[INFO] nangate45/bp_quad not included in CI.

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 <jhkim@precisioninno.com>
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 <jhkim@precisioninno.com>
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 <jhkim@precisioninno.com>
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 <jhkim@precisioninno.com>
@jhkim-pii jhkim-pii self-assigned this Aug 12, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the baseline timing rules (rules-base.json) for several designs across different technologies (asap7, gf12, gf180, nangate45, sky130hd, and sky130hs) to reflect changes in CTS setup timing slack and total negative slack (TNS). Additionally, in flow/scripts/cts.tcl, a progress snapshot name was corrected to 4_1_pre_repair_setup_hold, and an explicit parasitics estimation step (estimate_parasitics -placement) was added after repairing timing. There are no review comments, and I have no further feedback to provide.

@maliberty maliberty left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine but I'll leave it to @eder-matheus to merge as he is managing a metrics update from @jfgava

@openroad-ci

openroad-ci commented Aug 13, 2026 •

Copy link
Copy Markdown
Member

🔍 QoR check

Metrics reflect the PR merge build — i.e. what will land on the target branch. Advisory — results are log-only and do not affect build status. The authoritative QoR gate remains the local rules-file check.

Commit f8063a6 · Jenkins build #3 · Baseline: build

61 design(s) checked — 17 with regression(s), 0 without a comparable baseline.
Design Variant Verdict local vs inline passed / failed / missing
asap7/aes base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/aes-block base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/aes-mbff base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/aes_lvt base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/cva6 base ✅ pass ✅ MATCH 12 / 0 / 0
asap7/ethmac base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/ethmac_lvt base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/gcd base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/gcd-ccs base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/ibex base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/jpeg base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/jpeg_lvt base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/mock-alu base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/mock-cpu base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/riscv32i base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
asap7/riscv32i-mock-sram base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/swerv_wrapper base ✅ pass ✅ MATCH 25 / 0 / 0
asap7/uart base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
gf180/aes base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
gf180/aes-hybrid base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
gf180/ibex base ✅ pass ✅ MATCH 25 / 0 / 0
gf180/jpeg base ✅ pass ✅ MATCH 25 / 0 / 0
gf180/riscv32i base ✅ pass ✅ MATCH 25 / 0 / 0
gf180/uart-blocks base ✅ pass ✅ MATCH 25 / 0 / 0
gt2n/aes base ✅ pass ✅ MATCH 25 / 0 / 0
gt2n/gcd base ✅ pass ✅ MATCH 25 / 0 / 0
gt2n/jpeg base ✅ pass ✅ MATCH 25 / 0 / 0
ihp-sg13g2/aes base ✅ pass ✅ MATCH 25 / 0 / 0
ihp-sg13g2/gcd base ✅ pass ✅ MATCH 25 / 0 / 0
ihp-sg13g2/i2c-gpio-expander base ✅ pass ✅ MATCH 25 / 0 / 0
ihp-sg13g2/ibex base ✅ pass ✅ MATCH 25 / 0 / 0
ihp-sg13g2/jpeg base ✅ pass ✅ MATCH 25 / 0 / 0
ihp-sg13g2/riscv32i base ✅ pass ✅ MATCH 25 / 0 / 0
ihp-sg13g2/spi base ✅ pass ✅ MATCH 25 / 0 / 0
nangate45/aes base ✅ pass ✅ MATCH 25 / 0 / 0
nangate45/ariane133 base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
nangate45/ariane136 base ✅ pass ✅ MATCH 25 / 0 / 0
nangate45/black_parrot base ✅ pass ✅ MATCH 25 / 0 / 0
nangate45/bp_be_top base ✅ pass ✅ MATCH 25 / 0 / 0
nangate45/bp_fe_top base ✅ pass ✅ MATCH 25 / 0 / 0
nangate45/bp_multi_top base ✅ pass ✅ MATCH 25 / 0 / 0
nangate45/dynamic_node base ✅ pass ✅ MATCH 25 / 0 / 0
nangate45/gcd base ✅ pass ✅ MATCH 25 / 0 / 0
nangate45/ibex base ✅ pass ✅ MATCH 25 / 0 / 0
nangate45/jpeg base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
nangate45/mempool_group base ❌ fail ⚠️ MISMATCH 11 / 1 / 0
nangate45/swerv base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
nangate45/swerv_wrapper base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
nangate45/tinyRocket base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
sky130hd/aes base ✅ pass ✅ MATCH 25 / 0 / 0
sky130hd/chameleon base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
sky130hd/gcd base ❌ fail ⚠️ MISMATCH 23 / 2 / 0
sky130hd/ibex base ✅ pass ✅ MATCH 25 / 0 / 0
sky130hd/jpeg base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
sky130hd/microwatt base ✅ pass ✅ MATCH 25 / 0 / 0
sky130hd/riscv32i base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
sky130hs/aes base ✅ pass ✅ MATCH 25 / 0 / 0
sky130hs/gcd base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
sky130hs/ibex base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
sky130hs/jpeg base ✅ pass ✅ MATCH 25 / 0 / 0
sky130hs/riscv32i base ❌ fail ⚠️ MISMATCH 24 / 1 / 0
❌ asap7/riscv32i base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -193.831 0 — 20%
❌ asap7/uart base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -889.191 -781.625 13.761842315688469% 20%
❌ gf180/aes base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -86.9466 -84.9113 2.3969718989109814% 20%
❌ gf180/aes-hybrid base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -131.617 -128.514 2.4145229313537824% 20%
❌ nangate45/ariane133 base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -449.345 -435.418 3.198535659986496% 20%
❌ nangate45/jpeg base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -58.5406 -54.6682 7.083459854174822% 20%
❌ nangate45/mempool_group base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -11690 -11676.8 0.11304466977254042% 20%
❌ nangate45/swerv base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -455.004 -448.945 1.3496085266569402% 20%
❌ nangate45/swerv_wrapper base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -399.02 -393.464 1.4120732773519304% 20%
❌ nangate45/tinyRocket base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -31.1553 -27.6979 12.482534777004755% 20%
❌ sky130hd/chameleon base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -135.589 -134.92 0.495849392232434% 20%
❌ sky130hd/gcd base — 2 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -68.2722 -65.3291 4.505036805956304% 20%
cts__timing__setup__ws -1.51131 -1.4386 5.054219379952732% 5.0%
❌ sky130hd/jpeg base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -101.92 -96.1449 6.0066628599124865% 20%
❌ sky130hd/riscv32i base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -63.7988 -50.6069 26.06739397196825% 20%
❌ sky130hs/gcd base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -7.26223 -5.80425 25.119179911271914% 20%
❌ sky130hs/ibex base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -1.95579 -0.188109 939.7110186115497% 20%
❌ sky130hs/riscv32i base — 1 failing metric(s)
Metric target base delta threshold
cts__timing__setup__tns -42.537 -20.2143 110.43023997862899% 20%

Bring origin/master at ef52564 into secure-add-est-para-cts-repair so PR The-OpenROAD-Project#1806 no longer conflicts. Resolve overlapping CTS setup TNS rules by retaining the latest master thresholds, which are more conservative than the branch values.

Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
@eder-matheus eder-matheus added the UpdateRules Starts GHA to update rules label Aug 13, 2026
@openroad-ci openroad-ci removed the UpdateRules Starts GHA to update rules label Aug 13, 2026
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 <jhkim@precisioninno.com>
@eder-matheus
eder-matheus merged commit 2d21288 into The-OpenROAD-Project:master Aug 14, 2026
8 checks passed
@eder-matheus
eder-matheus deleted the secure-add-est-para-cts-repair branch August 14, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants