palaniappan-r's picture
Add markdown sources
d59bb1b verified
# Can I ask global route to fail early?
Tool: Global Routing
Subcategory: Global routing timeout
## Conversation
### oharboe
@nerriav Global routing takes very little time for the project I am working on. However, when I make changes, these sometimes can make global routing impossible and I have to tweak my change.
When global routing fails, it doesnt fail quickly, it just runs "forever"(hours compared to minutes) before it ultimately fails.
Can I adjust a setting such that global route fails quickly so that I dont waste server build resources and I can quickly load the routing congestion report in the DRC viewer to drill down to the problem?
### rovinski
In OR you can use the `-congestion_interations` argument which translates to `GLOBAL_ROUTE_ARGS=" -congestion_iterations X "` in ORFS. X is a positive integer. The default is 100.
### oharboe
Syntax subtleties... `export GLOBAL_ROUTE_ARGS="-congestion_iterations 10 -verbose"`, failed with `[ERROR STA-0402] global_route -congestion_iterations 10 -verbose is not a known keyword or flag.`
`export GLOBAL_ROUTE_ARGS=-congestion_iterations 10 -verbose` worked...
It is still stuck on:
```
[INFO GRT-0101] Running extra iterations to remove overflow.
```
With `export GLOBAL_ROUTE_ARGS=-congestion_iterations 2 -verbose` it fails after 2:30 minutes.
I'll see how high I can make it until it "runs forever". If it fails after 10 minutes, then I have something I can try out. If there is nothing wrong, I would expect it to complete in ca. 3 minutes.
I'm curious if 10 iterations is enough for all the designs under test... https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/pull/1076