File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6369,6 +6369,8 @@ std::vector<Net*> GlobalRouter::updateDirtyRoutes(bool save_guides)
63696369
63706370 if (use_cugr_) {
63716371 cugr_->setVerbose (false );
6372+ std::vector<Net*> dirty_nets;
6373+ dirty_nets.reserve (dirty_nets_.size ());
63726374 for (odb::dbNet* db_net : dirty_nets_) {
63736375 // Rebuild the GlobalRouter pin set from the netlist (as updateDirtyNets
63746376 // does for FastRoute); updatePinAccessPoints below fixes the positions.
@@ -6377,13 +6379,14 @@ std::vector<Net*> GlobalRouter::updateDirtyRoutes(bool save_guides)
63776379 net->setDirtyNet (false );
63786380 net->clearLastPinPositions ();
63796381 cugr_->updateNet (db_net);
6382+ dirty_nets.push_back (net);
63806383 }
63816384 dirty_nets_.clear ();
63826385 cugr_->routeIncremental ();
63836386 routes_ = cugr_->getRoutes ();
63846387 // Sync pin access points with CUGR's routing, as the full route does.
63856388 updatePinAccessPoints ();
6386- return {} ;
6389+ return dirty_nets ;
63876390 }
63886391
63896392 std::vector<Net*> dirty_nets;
You can’t perform that action at this time.
0 commit comments