Threading related crash (NOT) in STA/CTS resolves orfs3180

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2025-06-05 16:34:19 -07:00
parent 0c16e145bb
commit 849426fc96
2 changed files with 12 additions and 3 deletions

View File

@ -110,12 +110,18 @@ ClkInfo::crprClkVertexId(const StaState *sta) const
Path * Path *
ClkInfo::crprClkPath(const StaState *sta) ClkInfo::crprClkPath(const StaState *sta)
{ {
if (crpr_clk_path_.isNull())
return nullptr;
else
return Path::vertexPath(crpr_clk_path_, sta); return Path::vertexPath(crpr_clk_path_, sta);
} }
const Path * const Path *
ClkInfo::crprClkPath(const StaState *sta) const ClkInfo::crprClkPath(const StaState *sta) const
{ {
if (crpr_clk_path_.isNull())
return nullptr;
else
return Path::vertexPath(crpr_clk_path_, sta); return Path::vertexPath(crpr_clk_path_, sta);
} }

View File

@ -366,6 +366,9 @@ Path::slack(const StaState *sta) const
Path * Path *
Path::prevPath() const Path::prevPath() const
{ {
if (prev_path_ && prev_path_->isNull())
return nullptr;
else
return prev_path_; return prev_path_;
} }