Repository navigation
Conversation
Fixes The-OpenROAD-Project#11812 Signed-off-by: osamahammad21 <osama@precisioninno.com>
Contributor
There was a problem hiding this comment.
Code Review
This pull request prevents crashes during detailed routing by ignoring pin access points that lie above the top routing layer, since the grid graph stops at that layer. It also introduces a specific error message when a pin is only accessible above the top routing layer and adds a regression test. The review feedback correctly notes that because the logger's error method terminates execution, the subsequent error log becomes unreachable; using an else branch would make this control flow explicit and clean.
maliberty
approved these changes
Oct 31, 2026
maliberty
merged commit Oct 31, 2026
e891333
into
The-OpenROAD-Project:master
21 of 23 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Since #10654 (0fe62b1), the detailed-route grid graph stops at
TOP_ROUTING_LAYER. Pin access still created access points on instance pin shapes above that layer. Those points had no maze index, soFlexDRWorker::routeNetsegfaulted afterinitMazeIdx_ap no idx.FlexPA::genAPsFromPinShapes): skip layers aboveTOP_ROUTING_LAYERfor instance pins. Bterms are not changed;processBTermsAboveTopLayeralready stacks vias down for them.initNet_term_helper): drop access points aboveTOP_ROUTING_LAYER. If a pin has no other access, fail with new errorDRT-1232naming the pin.Type of Change
Impact
Instance pins with shapes above the top routing layer, e.g.
sky130_fd_sc_hd__probec_p_8routed on met1 to met4, now get access points only within the routing layers and route instead of crashing. No change for designs whose pins are all within the routing layers.Verification
./etc/Build.shnot run).Related Issues
-- Fixes #11812