grt: Implement timing-driven net sorting for incremental CUGR#9828
Closed
Divinesoumyadip wants to merge 3 commits intoThe-OpenROAD-Project:masterfrom
Closed
grt: Implement timing-driven net sorting for incremental CUGR#9828Divinesoumyadip wants to merge 3 commits intoThe-OpenROAD-Project:masterfrom
Divinesoumyadip wants to merge 3 commits intoThe-OpenROAD-Project:masterfrom
Conversation
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.
This PR prioritizes timing-critical nets during the incremental rerouting process. By querying fresh slack data from OpenSTA before rerouting, the tool ensures that nets with the worst negative slack (WNS) get the first choice of routing resources.
In the previous incremental flow, nets were rerouted in an arbitrary order. This often led to non-critical nets occupying the most direct tracks, forcing critical timing paths into long detours. This PR ensures that "VIP" nets (those with negative slack) are handled first to protect chip performance during ECO passes.
I modified
CUGR::rerouteNetsto refresh timing data before routing.Integrated a loop to querysta_(OpenSTA) for each net's current slack.UtilizessortNetIndicesto re-order the reroute queue so that nets with the most negative slack are at the front.Reduces timing degradation during ECO passes and improves the overall Timing Quality of Results (QoR) by prioritizing paths that define the chip's maximum clock frequency.