From 4f13a213e177f4b39cd3c8e3117f0b27fab2432f Mon Sep 17 00:00:00 2001 From: James Cherry Date: Tue, 22 Mar 2022 21:28:54 -0500 Subject: [PATCH] report_power hanging in transparent latches Signed-off-by: James Cherry --- search/Power.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/search/Power.cc b/search/Power.cc index e598b5cc..845b6e36 100644 --- a/search/Power.cc +++ b/search/Power.cc @@ -242,7 +242,7 @@ Power::power(const Instance *inst, //////////////////////////////////////////////////////////////// -class ActivitySrchPred : public SearchPred2 +class ActivitySrchPred : public SearchPredNonLatch2 { public: explicit ActivitySrchPred(const StaState *sta); @@ -250,7 +250,7 @@ public: }; ActivitySrchPred::ActivitySrchPred(const StaState *sta) : - SearchPred2(sta) + SearchPredNonLatch2(sta) { } @@ -258,7 +258,7 @@ bool ActivitySrchPred::searchThru(Edge *edge) { TimingRole *role = edge->role(); - return SearchPred2::searchThru(edge) + return SearchPredNonLatch2::searchThru(edge) && role != TimingRole::regClkToQ(); }