Skip to content

Commit 7359ce1

Browse files
authored
Merge pull request #8991 from The-OpenROAD-Project-staging/est-fix-stale-delays
est: Invalidate delays on incremental update
2 parents 49d6d34 + 9191d92 commit 7359ce1

File tree

6 files changed

+1679
-1851
lines changed

6 files changed

+1679
-1851
lines changed

src/est/src/EstimateParasitics.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,16 @@ void EstimateParasitics::updateParasitics(bool save_guides)
438438
break;
439439
}
440440

441+
// Router calls into the timer. This means the timer could be caching
442+
// delays calculated in the interim period before we had put new parasitic
443+
// annotations on the nets affected by a network edit. We need to explicitly
444+
// invalidate those delays. Do it in bulk instead of interleaving with each
445+
// groute call.
446+
if (parasitics_src_ != ParasiticsSrc::none) {
447+
for (const Net* net : parasitics_invalid_) {
448+
sta_->delaysInvalidFromFanin(net);
449+
}
450+
}
441451
parasitics_invalid_.clear();
442452
}
443453

0 commit comments

Comments
 (0)