report_checks before report_skew with gated clk

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2025-11-05 11:42:38 -07:00
parent 10a3cdc4d1
commit 79d8a5ecb3
1 changed files with 2 additions and 1 deletions

View File

@ -421,7 +421,8 @@ ClkSkews::findClkSkew(Vertex *src_vertex,
while (src_iter.hasNext()) {
Path *src_path = src_iter.next();
const Clock *src_clk = src_path->clock(this);
if (src_rf->matches(src_path->transition(this))
if (src_path->isClock(this)
&& src_rf->matches(src_path->transition(this))
&& src_path->minMax(this) == setup_hold_
&& clk_set_.find(src_clk) != clk_set_.end()) {
Corner *src_corner = src_path->pathAnalysisPt(this)->corner();