Skip to content

update ihp layer resistance with segment-based regression results - #4242

Merged
eder-matheus merged 1 commit into
The-OpenROAD-Project:masterfrom
AcKoucher:ihp-new-r-values
May 19, 2026
Merged

eder-matheus merged 1 commit into
The-OpenROAD-Project:masterfrom
AcKoucher:ihp-new-r-values

Conversation

@AcKoucher

@AcKoucher AcKoucher commented May 19, 2026 •

Copy link
Copy Markdown
Contributor

For #4243.

Correlation Data

Mode: segment
Designs (7): aes, gcd, i2c-gpio-expander, ibex, jpeg, riscv32i, spi.
OR Version: bfd6383488 (nightly 7017)
Units: R [kΩ/μm], C [pF/μm]

The resistance values that we were using weren't actually precise. Probably something off with the net-based regression script. The resistance fits obtained with the new segment-based regression have perfect (1.00) R². The fact that the resistance values came out the same for the layers with routing is not a coincidence - it matches the RCX RESOVER table rules.

I cleaned up the setRC.tcl script so that the data w.r.t. the correlation is tracked here rather than having comments in the file.

Observations Regarding Metal1

  • No regression data - the old values were kept.

Signed-off-by: Arthur Koucher <arthurkoucher@precisioninno.com>

@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 resistance values for metal layers Metal2 through Metal5 in the ihp-sg13g2 platform configuration and removes documentation regarding correlation results and capacitance workarounds. Feedback suggests that the new layer resistance values are significantly lower than the current signal wire resistance, which may cause pessimistic timing estimates; it is recommended to synchronize these values or use the -layer flag. Additionally, the reviewer advises restoring the removed metadata comments to maintain consistency with other platforms and preserve historical context.

I am having trouble creating individual review comments. Click here to see my feedback.

flow/platforms/ihp-sg13g2/setRC.tcl (2-5)

high

The updated layer resistance values are significantly lower than the existing set_wire_rc values. The signal wire resistance (2.07259E-03) is now nearly 5x higher than the actual routing layers (4.4E-04). This discrepancy will cause the global router to use highly pessimistic timing and congestion estimates, potentially leading to sub-optimal routing or convergence issues. The set_wire_rc commands (lines 7-8) should be updated to reflect these new results, ideally by using the -layer flag (e.g., set_wire_rc -signal -layer Metal2) to ensure they stay in sync. Additionally, since these values match the RESOVER table rules and are effectively the same, it is cleaner to use a consistent value for all layers to avoid regression noise.

set_layer_rc -layer Metal2 -resistance 4.40000E-04 -capacitance 1.69121E-04
set_layer_rc -layer Metal3 -resistance 4.40000E-04 -capacitance 1.82832E-04
set_layer_rc -layer Metal4 -resistance 4.40000E-04 -capacitance 1.66454E-04
set_layer_rc -layer Metal5 -resistance 4.40000E-04 -capacitance 8.57431E-05
References
  1. Ensure RC values are synchronized between layers and signal wires, following RESOVER table rules. (link)

flow/platforms/ihp-sg13g2/setRC.tcl (1-2)

medium

Removing the correlation metadata and the explanation for the Metal1 capacitance workaround reduces the maintainability of the script. Other platforms in this repository (e.g., sky130hd, sky130hs) maintain these comments to document the source of the RC values and the reasoning behind specific overrides like the 1e-10 floor. Preserving this context within the file is important for future maintainers who may not have immediate access to the PR history.

References
  1. Maintain consistency with other platforms by preserving correlation metadata and workaround explanations. (link)

@AcKoucher
AcKoucher requested a review from eder-matheus May 19, 2026 18:40
@eder-matheus
eder-matheus merged commit 79eab52 into The-OpenROAD-Project:master May 19, 2026
8 checks passed
@AcKoucher
AcKoucher deleted the ihp-new-r-values branch June 9, 2026 19:34
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.

2 participants