From a88895d65c2fa1b2bb4e56f215b5961854ec5c3f Mon Sep 17 00:00:00 2001 From: James Cherry Date: Tue, 2 Dec 2025 14:29:33 -0800 Subject: [PATCH] make postpone_latch_outputs_ private Signed-off-by: James Cherry --- include/sta/Search.hh | 3 ++- search/Search.cc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/sta/Search.hh b/include/sta/Search.hh index d0c7c458..8796301e 100644 --- a/include/sta/Search.hh +++ b/include/sta/Search.hh @@ -418,7 +418,7 @@ public: void checkPrevPaths() const; void deletePaths(Vertex *vertex); void deleteTagGroup(TagGroup *group); - bool postpone_latch_outputs_; + bool postponeLatchOutputs() const { return postpone_latch_outputs_; } protected: void init(StaState *sta); @@ -671,6 +671,7 @@ protected: VertexSet *filtered_arrivals_; std::mutex filtered_arrivals_lock_; bool found_downstream_clk_pins_; + bool postpone_latch_outputs_; PathGroups *path_groups_; VisitPathEnds *visit_path_ends_; GatedClk *gated_clk_; diff --git a/search/Search.cc b/search/Search.cc index 736957f0..f83f7a07 100644 --- a/search/Search.cc +++ b/search/Search.cc @@ -2304,7 +2304,7 @@ PathVisitor::visitFromPath(const Pin *from_pin, if (min_max == MinMax::max() && clk) { bool postponed = false; - if (search_->postpone_latch_outputs_) { + if (search_->postponeLatchOutputs()) { const Path *from_clk_path = from_clk_info->crprClkPath(this); if (from_clk_path) { Vertex *d_clk_vertex = from_clk_path->vertex(this);