Support rise/fall delays (#7368)

Signed-off-by: Artur Bieniek <[email protected]>
This commit is contained in:
Artur Bieniek
2026-04-07 06:44:52 -04:00
committed by GitHub
parent dfb7b034a5
commit 8c11d0d0bd
12 changed files with 189 additions and 23 deletions
+9 -1
View File
@@ -1127,7 +1127,15 @@ class EmitVBaseVisitorConst VL_NOT_FINAL : public VNVisitorConst {
}
VL_RESTORER(m_prefixed);
m_prefixed = false;
iterateConst(nodep->lhsp());
if (AstNodeExpr* const fallDelayp = nodep->fallDelay()) {
puts("(");
iterateConst(nodep->lhsp());
puts(", ");
iterateConst(fallDelayp);
puts(")");
} else {
iterateConst(nodep->lhsp());
}
if (!m_suppressSemi) {
puts(";\n");
} else {