Skip to content

pad: cleanup RDL access point handling#10046

Open
gadfort wants to merge 3 commits intoThe-OpenROAD-Project:masterfrom
gadfort:rdl-aps
Open

pad: cleanup RDL access point handling#10046
gadfort wants to merge 3 commits intoThe-OpenROAD-Project:masterfrom
gadfort:rdl-aps

Conversation

@gadfort
Copy link
Copy Markdown
Collaborator

@gadfort gadfort commented Apr 3, 2026

Summary

This removed all overlapping snapping points for the access, which just reduces the runtime for the routing since we dont check the same point more than once.
Also instead of rejecting a "snap" because it intersects a 45 degree edge in the graph, we can simply remove the edge allowing for better selection for snapping.

Type of Change

  • Bug fix

Impact

Should be minimal, better snap choices for particularly difficult designs.

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

Related Issues

N/A

gadfort added 2 commits April 3, 2026 08:19
Signed-off-by: Peter Gadfort <gadfort@zeroasic.com>
Signed-off-by: Peter Gadfort <gadfort@zeroasic.com>
@gadfort gadfort requested a review from maliberty April 3, 2026 15:13
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 enhances the RDL router's terminal access handling by introducing logic to identify and remove graph edges that cause violations. Key additions include the cleanupGraphEdges function for edge removal and cleanupTerminalAccessPoints to resolve overlapping access points by prioritizing the closest target. Review feedback suggests optimizing the performance of these new functions, specifically by reducing redundant iterations when populating access points and considering incremental updates for the access map to avoid potential bottlenecks in large designs.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

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

@maliberty
Copy link
Copy Markdown
Member

Did you disagree with the gemini comments about performance (resolved but no code changes).

@gadfort
Copy link
Copy Markdown
Collaborator Author

gadfort commented Apr 4, 2026

Did you disagree with the gemini comments about performance (resolved but no code changes).

@maliberty I responded in line. But generally I don't see any performance issues that gemini is suggesting.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants