Skip to content

DRT: fix RouterConfiguration Serialization#10143

Merged
maliberty merged 2 commits into
The-OpenROAD-Project:masterfrom
osamahammad21:drt-serialize
Apr 16, 2026
Merged

DRT: fix RouterConfiguration Serialization#10143
maliberty merged 2 commits into
The-OpenROAD-Project:masterfrom
osamahammad21:drt-serialize

Conversation

@osamahammad21

@osamahammad21 osamahammad21 commented Apr 15, 2026

Copy link
Copy Markdown
Member

Summary

fix RouterConfiguration Serialization

Type of Change

  • Bug fix

Impact

No impact.

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).

Signed-off-by: osamahammad21 <osama21@aucegypt.edu>

@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 refactors the handling of unidirectional layers by storing layer names in a std::setstd::string instead of pointers and changes drcReportIterStep from an optional to a default-initialized integer. Additionally, it updates the serialization logic for RouterConfiguration to include several previously omitted fields. Feedback was provided regarding the lack of validation for layer names when populating the unidirectional layers set.

Comment thread src/drt/src/TritonRoute.cpp

@github-actions github-actions 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.

clang-tidy made some suggestions

Comment thread src/drt/src/global.h Outdated
Signed-off-by: osamahammad21 <osama21@aucegypt.edu>
@osamahammad21 osamahammad21 requested a review from maliberty April 16, 2026 13:56
@github-actions

Copy link
Copy Markdown
Contributor

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

@maliberty maliberty merged commit bc16015 into The-OpenROAD-Project:master Apr 16, 2026
16 checks passed
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.

2 participants