Skip to content

Commit

Permalink
Merge pull request #6000 from eder-matheus/grt_fix_incremental
Browse files Browse the repository at this point in the history
grt: initialize fastroute in start_incremental
  • Loading branch information
maliberty authored Oct 22, 2024
2 parents f8d126f + 6e43dda commit 6833b0f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/grt/src/GlobalRouter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,11 @@ void GlobalRouter::globalRoute(bool save_guides,
"The start_incremental and end_incremental flags cannot be "
"defined together");
} else if (start_incremental) {
if (!initialized_ || haveDetailedRoutes()) {
int min_layer, max_layer;
getMinMaxLayer(min_layer, max_layer);
initFastRoute(min_layer, max_layer);
}
grouter_cbk_ = new GRouteDbCbk(this);
grouter_cbk_->addOwner(block_);
incremental_ = true;
Expand Down

0 comments on commit 6833b0f

Please sign in to comment.