make postpone_latch_outputs_ private

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2025-12-02 14:29:33 -08:00
parent b65e8dd9d7
commit a88895d65c
2 changed files with 3 additions and 2 deletions

View File

@ -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_;

View File

@ -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);