From c078f5b68451dadd491692318bef4f9909457148 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Sun, 16 Aug 2020 18:18:42 -0700 Subject: [PATCH] Sta::deleteParasitics --- include/sta/Sta.hh | 1 + search/Sta.cc | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/include/sta/Sta.hh b/include/sta/Sta.hh index 8ade548f..40de4f34 100644 --- a/include/sta/Sta.hh +++ b/include/sta/Sta.hh @@ -1097,6 +1097,7 @@ public: const RiseFall *rf, const MinMaxAll *min_max, float elmore); + void deleteParasitics(); // TCL network edit function support. virtual Instance *makeInstance(const char *name, diff --git a/search/Sta.cc b/search/Sta.cc index 6701b277..fe6c20a3 100644 --- a/search/Sta.cc +++ b/search/Sta.cc @@ -3674,6 +3674,14 @@ Sta::setElmore(Pin *drvr_pin, delaysInvalidFrom(drvr_pin); } +void +Sta::deleteParasitics() +{ + parasitics_->deleteParasitics(); + graph_delay_calc_->delaysInvalid(); + search_->arrivalsInvalid(); +} + //////////////////////////////////////////////////////////////// // // Network edit commands.