Skip to content

Commit 79d8a5e

Browse files
committed
report_checks before report_skew with gated clk
Signed-off-by: James Cherry <[email protected]>
1 parent 10a3cdc commit 79d8a5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

search/ClkSkew.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,8 @@ ClkSkews::findClkSkew(Vertex *src_vertex,
421421
while (src_iter.hasNext()) {
422422
Path *src_path = src_iter.next();
423423
const Clock *src_clk = src_path->clock(this);
424-
if (src_rf->matches(src_path->transition(this))
424+
if (src_path->isClock(this)
425+
&& src_rf->matches(src_path->transition(this))
425426
&& src_path->minMax(this) == setup_hold_
426427
&& clk_set_.find(src_clk) != clk_set_.end()) {
427428
Corner *src_corner = src_path->pathAnalysisPt(this)->corner();

0 commit comments

Comments
 (0)