Skip to content

Commit

Permalink
fixes #6390
Browse files Browse the repository at this point in the history
Signed-off-by: osamahammad21 <osama21@aucegypt.edu>
  • Loading branch information
osamahammad21 committed Jan 7, 2025
1 parent 2f86990 commit f68e5c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/drt/src/dr/FlexDR_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2311,6 +2311,9 @@ void FlexDRWorker::route_queue_init_queue(
std::vector<drNet*> ripupNets;
ripupNets.reserve(nets_.size());
for (auto& net : nets_) {
if (net->getPins().size() <= 1) {
continue;
}
ripupNets.push_back(net.get());
}
// sort nets
Expand Down Expand Up @@ -2578,7 +2581,7 @@ void FlexDRWorker::route_queue_update_from_marker(
}
}
for (drNet* dNet : avoidRipupCandidates) {
if (allowAvoidRipup) {
if (dNet->getPins().size() <= 1 || allowAvoidRipup) {
dNet->incNRipupAvoids();
checks.push_back({dNet, -1, false, checkingObj});
} else {
Expand Down

0 comments on commit f68e5c3

Please sign in to comment.