Skip to content

Comments

[rsz] Change RSZ-0075 makeBufferedNet warning to debug message#9503

Open
openroad-ci wants to merge 14 commits intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:secure-fix-issue-5988
Open

[rsz] Change RSZ-0075 makeBufferedNet warning to debug message#9503
openroad-ci wants to merge 14 commits intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:secure-fix-issue-5988

Conversation

@openroad-ci
Copy link
Collaborator

Summary

  • Changed makeBufferedNet failed for driver from WARNING (RSZ-0075) to debug message
  • This message is an internal state that users cannot act upon, causing log spam during repair_timing operations
  • Updated 3 test golden files to remove the now-suppressed warning output

Resolves

Test plan

  • Incremental build passes
  • All 189 rsz regression tests pass (clone_flat, clone_hier, repair_setup_vt_swap2 verified)

🤖 Generated with Claude Code

povik and others added 6 commits February 19, 2026 16:51
Occurrences of `sta_->cmdMode()` should be read as TODOs for proper
multi-mode handling later.

Signed-off-by: Martin Povišer <povik@cutebit.org>
Now that the command has different behavior (drops constraints) it was
breaking the tests.

Signed-off-by: Martin Povišer <povik@cutebit.org>
Signed-off-by: Martin Povišer <povik@cutebit.org>
Signed-off-by: Martin Povišer <povik@cutebit.org>
Signed-off-by: Martin Povišer <povik@cutebit.org>
The makeBufferedNet failure is an internal state that users cannot
act upon. Change it from a warning (RSZ-0075) to a debug message
to eliminate log spam during repair_timing operations.

Resolves The-OpenROAD-Project#5988, The-OpenROAD-Project#8988

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@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

This pull request appropriately changes the makeBufferedNet failed for driver warning (RSZ-0075) to a debug message. As noted in the description, this warning is unactionable for users and contributes to log spam, so demoting it to a debug message is a sensible improvement. The implementation correctly replaces logger_->warn with the debugPrint macro, and the test golden files have been updated accordingly to reflect this change. The pull request is well-executed and ready to merge.

@github-actions
Copy link
Contributor

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

@oharboe
Copy link
Collaborator

oharboe commented Feb 20, 2026

😌

@jhkim-pii
Copy link
Contributor

@precisionmoon @povik

Related ORFS PR: The-OpenROAD-Project/OpenROAD-flow-scripts#3900

  • Remove pre-placement buffer attempt.
  • Remove estimate_parasitics -placement call in the floorplan stage.

@maliberty This OR PR does not affect QoR.

Related net lookup for modnets existed in two variants: slow which
performed consistency checking and fast without checking. Transition
isPower/isGround to using the fast variant, and rename the slow
variant to emphasize its checking purpose.

Signed-off-by: Martin Povišer <povik@cutebit.org>
[WARNING RSZ-0075] makeBufferedNet failed for driver _570_/SN
[WARNING RSZ-0075] makeBufferedNet failed for driver _570_/CON
[WARNING RSZ-0075] makeBufferedNet failed for driver _570_/SN
[WARNING RSZ-0075] makeBufferedNet failed for driver _315_/Y
Copy link
Member

Choose a reason for hiding this comment

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

Do you understand the nature of the failure? I am wondering if we are hiding a bug.

Copy link
Contributor

Choose a reason for hiding this comment

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

It's expected when the net has unplaced pins

Copy link
Member

Choose a reason for hiding this comment

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

I'm wondering why we have a test with unplaced pins then.

Copy link
Contributor

Choose a reason for hiding this comment

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

The problematic test cases did not use read_def or placement.
I updated the test cases to use read_def or do placement.

povik and others added 4 commits February 20, 2026 18:21
Provide an alias for a method renamed in OpenSTA 3.0 to fix some
bazel-orfs tests.

Signed-off-by: Martin Povišer <povik@cutebit.org>
Signed-off-by: Martin Povišer <povik@cutebit.org>
Signed-off-by: Martin Povišer <povik@cutebit.org>
The RSZ-0075 "makeBufferedNet failed" message is restored from debug
back to warning. The root cause of excessive warnings was that test
scripts created instances via read_verilog/link_design without placement,
causing makeSteinerTree to return nullptr for all unplaced pins.

Fix three test scripts to ensure proper placement:
- clone_flat.tcl: use read_def instead of read_verilog/link_design
  (DEF already contains both netlist and placement)
- clone_hier.tcl: add initialize_floorplan, global_placement, and
  detailed_placement to place verilog-created instances
- repair_setup_vt_swap2.tcl: add placement flow before repair_timing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
@github-actions
Copy link
Contributor

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

source $tracks_file
place_pins -hor_layers $io_placer_hor_layer \
-ver_layers $io_placer_ver_layer
global_placement -skip_nesterov_place
Copy link
Contributor

@povik povik Feb 22, 2026

Choose a reason for hiding this comment

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

Please load an already placed design. Doing placement as part of the test makes it sensitive to gpl changes and can burden gpl development. We have existing rsz tests doing this which we need to fix.

Copy link
Contributor

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

Choose a reason for hiding this comment

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

thanks

Addresses review feedback to avoid coupling RSZ tests to GPL changes.
Tests now load pre-placed DEF files instead of running global_placement.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
@github-actions
Copy link
Contributor

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

jhkim-pii and others added 2 commits February 23, 2026 12:20
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
@github-actions
Copy link
Contributor

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

@precisionmoon
Copy link
Contributor

Besides regressions, do we have any RSZ-0075 errors in ORFS CI tests? I remember seeing these errors in many asap7 tests like ethmac, mock-cpu, jpeg-lvt, etc. Are these OK to suppress?

@jhkim-pii
Copy link
Contributor

Besides regressions, do we have any RSZ-0075 errors in ORFS CI tests? I remember seeing these errors in many asap7 tests like ethmac, mock-cpu, jpeg-lvt, etc. Are these OK to suppress?

@precisionmoon
The-OpenROAD-Project/OpenROAD-flow-scripts#3900 addresses the warnings in ORFS designs.

  • RSZ-0075 warnings occurred at floorplan stage due to the unplaced pins. Buffering at floorplan stage seems not that useful, so I removed buffer strategy. I will study about applying gain-based buffering (which does not require placed pins) in floorplan stage to see if it can give any meaningful benefit (As @povik said, the buffers inserted at floorplan stage will be removed in placement stage by remove_buffer. So, not sure if it can give a meaningful gain).

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.

6 participants