rcx: ensure that short junctions are always identified and marked#10035
Merged
maliberty merged 1 commit intoThe-OpenROAD-Project:masterfrom Apr 11, 2026
Merged
Conversation
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
Contributor
There was a problem hiding this comment.
Code Review
This pull request modifies the makeNetRCsegs function in netRC.cpp to unconditionally process wire paths by removing the conditional check on resistance merging flags. Additionally, it introduces a new integration test named no_merging to verify that RC topology is correctly generated when merging mechanisms are disabled. I have no feedback to provide.
Signed-off-by: Arthur Koucher <arthurkoucher@precisioninno.com>
1ee786e to
8a68a9d
Compare
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
Member
|
A secure CI will be needed. Are there actual shorts or where to they come from? |
Contributor
Author
|
I'm not referring to an actual electrical short but rather an Also, I'm running a Secure-CI. |
Contributor
Author
|
@maliberty Secure-CI is fine. |
maliberty
approved these changes
Apr 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
As I was studying the timing discrepancies between GRT and DRT, I realized that suppressing the merging mechanism in RCX was affecting TNS:
asap7/cva6 TNS:
-no_merge_via_res-max_res 0.0Apparently, the RCX flow has two passes. The first pass marks the junctions that represent either a new wire path (branching point) or a short. The second pass actually creates the RC topology using the information collected by the previous one.
The Bug
The original implementation had a check which would skip the first pass entirely if the merging mechanisms were off (probably to avoid a sweep that was thought to be unneeded). Indeed the branching point marking is unneeded, because, as there will be no merging, there's no need to know where these junctions are (one of the conditions to flush the current RC accumulation into a new
dbRSegis if a marked junction is found). However, skipping the first pass will also prevent short junctions' marking which will result in holes in the RC topology.Type of Change
Impact
When suppressing the merging mechanisms, the generated RC topology i.e., the .spef won't have gaps in short junctions and the TNS discrepancy is fixed (there's still a very small error which I'm investigating).
Verification
./etc/Build.sh).Related Issues
I found this bug when working on #3969 even though it shouldn't affect the correlation results.