Support ## delay on implication RHS in SVA properties (#7284)

This commit is contained in:
Yilou Wang
2026-03-20 09:53:49 -04:00
committed by GitHub
parent 998ec5b1d7
commit 25c3bc814e
5 changed files with 134 additions and 25 deletions
-10
View File
@@ -5623,16 +5623,6 @@ class WidthVisitor final : public VNVisitor {
BOTH); // it's like an if() condition.
}
nodep->dtypeSetBit();
if (m_hasSExpr) {
if (VN_IS(m_seqUnsupp, Implication)) {
m_seqUnsupp->v3warn(E_UNSUPPORTED,
"Unsupported: Implication with sequence expression");
AstConst* const newp = new AstConst{nodep->fileline(), 0};
newp->dtypeFrom(nodep);
nodep->replaceWith(newp);
VL_DO_DANGLING(pushDeletep(nodep), nodep);
}
}
}
}