mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Support rise/fall delays (#7368)
Signed-off-by: Artur Bieniek <[email protected]>
This commit is contained in:
+9
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user