Skip to content

rsz: skip floating nets during makeBufferedNetGroute#9567

Merged
maliberty merged 4 commits intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:rsz_floating_nets
Mar 2, 2026
Merged

rsz: skip floating nets during makeBufferedNetGroute#9567
maliberty merged 4 commits intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:rsz_floating_nets

Conversation

@openroad-ci
Copy link
Collaborator

No description provided.

Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
Copy link
Contributor

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

Choose a reason for hiding this comment

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

Code Review

The pull request correctly identifies and skips floating nets during buffered net construction, which is a valuable improvement. However, there is a critical issue regarding a potential null pointer dereference. The db_net variable is dereferenced to call getTermCount() before being checked for null, which could lead to a crash if findFlatDbNet returns nullptr. Additionally, the assert(db_net != nullptr); is misplaced and would not prevent this issue in release builds. A null check for db_net should be performed immediately after its assignment.

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2026

clang-tidy review says "All clean, LGTM! 👍"

@eder-matheus eder-matheus requested a review from maliberty March 1, 2026 13:23
@maliberty maliberty merged commit 74fac58 into The-OpenROAD-Project:master Mar 2, 2026
13 checks passed
@maliberty maliberty deleted the rsz_floating_nets branch March 2, 2026 08:04
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