Skip to content

Commit

Permalink
grt: initialize fastroute in start_incremental
Browse files Browse the repository at this point in the history
Signed-off-by: Eder Monteiro <[email protected]>
  • Loading branch information
eder-matheus committed Oct 22, 2024
1 parent 92d191e commit 6e43dda
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 6e43dda

Please sign in to comment.