Skip to content

drt: suppress DRT-0349 warning on PDKs without CUTCLASS support#10174

Open
dnltz wants to merge 2 commits intoThe-OpenROAD-Project:masterfrom
dnltz:WIP/dnltz/suppress-drt-0349
Open

drt: suppress DRT-0349 warning on PDKs without CUTCLASS support#10174
dnltz wants to merge 2 commits intoThe-OpenROAD-Project:masterfrom
dnltz:WIP/dnltz/suppress-drt-0349

Conversation

@dnltz
Copy link
Copy Markdown
Contributor

@dnltz dnltz commented Apr 17, 2026

Summary

LEF58_ENCLOSURE rules without a CUTCLASS are skipped regardless, but the warning was firing unconditionally. On PDKs that define no cut classes at all, the warning is expected and not actionable. Guard it so it only fires when the layer actually has cut class rules defined.

Type of Change

  • Bug fix

Impact

No

Verification

  • I have verified that the local build succeeds (./etc/Build.sh).
  • I have run the relevant tests and they pass.
  • My code follows the repository's formatting guidelines.
  • I have signed my commits (DCO).

LEF58_ENCLOSURE rules without a CUTCLASS are skipped regardless, but
the warning was firing unconditionally. On PDKs that define no cut
classes at all, the warning is expected and not actionable. Guard it
so it only fires when the layer actually has cut class rules defined.

Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
@dnltz
Copy link
Copy Markdown
Contributor Author

dnltz commented Apr 17, 2026

Let me know if I should provide a test to trigger DRT-0349.

@maliberty maliberty requested a review from osamahammad21 April 17, 2026 15:27
Copy link
Copy Markdown
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 modifies the io::Parser::setCutLayerProperties function in src/drt/src/io/io.cpp to suppress the DRT-0349 warning regarding unsupported LEF58_ENCLOSURE without a CUTCLASS when no cut class rules are defined for the layer. Multiple test expectation files have been updated to reflect the removal of these warnings from the output. I have no feedback to provide as there were no review comments to evaluate.

@github-actions
Copy link
Copy Markdown
Contributor

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

DRT-0349 is now suppressed when LEF58_ENCLOSURE and CUTCLASS are
not defined in a layer.

Signed-off-by: Daniel Schultz <dnltz@aesc-silicon.de>
@dnltz dnltz force-pushed the WIP/dnltz/suppress-drt-0349 branch from 6862a20 to 3958ac0 Compare April 17, 2026 16:34
@github-actions
Copy link
Copy Markdown
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant