Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make global routing easier to use, log estimated maximum ROUTING_LAYER_ADJUSTMENT values #6404

Open
oharboe opened this issue Dec 21, 2024 · 5 comments
Assignees
Labels
grt Global Routing

Comments

@oharboe
Copy link
Collaborator

oharboe commented Dec 21, 2024

Description

If ROUTING_LAYER_ADJUSTMENT is too high, then there's no hope of global routing succeeding and it takes hours to fail.

To my mind, for extremely congested deigns, where ROUTING_LAYER_ADJUSTMENT is much too high and the run is doomed anyway, the job of the global router is to give actionable feedback.

Global route failures are not easy or quick to debug.

Today I have to set up a sweep of ROUTING_LAYER_ADJUSTMENT values (using bazel-orfs), examine results, decide if I need to run deltaDebug.py to whittle down the problem further.

A high ROUTING_LAYER_ADJUSTMENT makes the job easier for detailed routing and improves the quality of results, as I undrestand it. I'm unsure if a high ROUTING_LAYER_ADJUSTMENT has any negative effects.

Suggested Solution

Some ideas...

  • Before starting global routing, make an estimate of maximum ROUTING_LAYER_ADJUSTMENT and log it, something like: "Estimated maximum ROUTING_LAYER_ADJUSTMENT is 0.25".
  • The global routing has a lot of logged output, can it be trimmed down so as on to water down user actionable information?

Additional Context

No response

@tspyrou
Copy link
Contributor

tspyrou commented Dec 21, 2024

@eder-matheus could the placement based congestion analysis be used to suggest the adjustment numbers?

@maliberty
Copy link
Member

Setting it to a high value can cause unneeded detouring. Ideally the user wouldn't need to set it at all gpl routability would figure it out. I don't really know how to estimate it that well or we would just automate it.

@maliberty maliberty added the grt Global Routing label Dec 21, 2024
@oharboe
Copy link
Collaborator Author

oharboe commented Dec 21, 2024

I see... For now I "estimate" using a value sweep(using bazel-orfs).

If there is nothing to be done, perhaps elaborate the docs a bit?

@maliberty
Copy link
Member

What text do you suggest?

@oharboe
Copy link
Collaborator Author

oharboe commented Dec 22, 2024

@eder-matheus eder-matheus self-assigned this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grt Global Routing
Projects
None yet
Development

No branches or pull requests

5 participants
@maliberty @oharboe @eder-matheus @tspyrou and others