diff --git a/src/V3EmitV.cpp b/src/V3EmitV.cpp index 0272c62db..1cc1245f3 100644 --- a/src/V3EmitV.cpp +++ b/src/V3EmitV.cpp @@ -227,6 +227,12 @@ class EmitVBaseVisitorConst VL_NOT_FINAL : public VNVisitorConst { iterateAndNextConstNull(nodep->rhsp()); if (!m_suppressSemi) puts(";\n"); } + void visit(AstAssignDly* nodep) override { + iterateAndNextConstNull(nodep->lhsp()); + putfs(nodep, " <= "); + iterateAndNextConstNull(nodep->rhsp()); + puts(";\n"); + } void visit(AstAlias* nodep) override { putbs("alias "); iterateConst(nodep->itemsp()); @@ -267,7 +273,6 @@ class EmitVBaseVisitorConst VL_NOT_FINAL : public VNVisitorConst { if (nodep->sensp()) puts(" "); iterateChildrenConst(nodep); } - void visit(AstCReset* /*nodep*/) override { puts("/*CRESET*/"); } void visit(AstCase* nodep) override { putfs(nodep, ""); if (nodep->priorityPragma()) puts("priority "); diff --git a/src/V3LinkInc.cpp b/src/V3LinkInc.cpp index a770b7017..3fbb7999a 100644 --- a/src/V3LinkInc.cpp +++ b/src/V3LinkInc.cpp @@ -309,7 +309,6 @@ class LinkIncVisitor final : public VNVisitor { AstVar* const varp = new AstVar{ fl, VVarType::BLOCKTEMP, name, VFlagChildDType{}, new AstRefDType{fl, AstRefDType::FlagTypeOfExpr{}, readp->cloneTree(true)}}; - varp->lifetime(VLifetime::AUTOMATIC_EXPLICIT); if (m_ftaskp) varp->funcLocal(true); // Declare the variable