Skip to content

Commit

Permalink
grt: clear dirty net previous routing and guides
Browse files Browse the repository at this point in the history
Signed-off-by: Eder Monteiro <[email protected]>
  • Loading branch information
eder-matheus committed Sep 18, 2024
1 parent 587e4a1 commit 80cf24e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/grt/src/GlobalRouter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,8 @@ void GlobalRouter::updateDirtyNets(std::vector<Net*>& dirty_nets)
if (pinPositionsChanged(net, last_pos)
&& (!net->isMergedNet() || !netIsCovered(db_net, pins_not_covered))) {
dirty_nets.push_back(db_net_map_[db_net]);
routes_[db_net].clear();
db_net->clearGuides();
fastroute_->clearNetRoute(db_net);
} else if (net->isMergedNet()) {
if (!isConnected(db_net)) {
Expand Down

0 comments on commit 80cf24e

Please sign in to comment.