mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
+2
-1
@@ -1345,7 +1345,8 @@ class TaskVisitor final : public VNVisitor {
|
||||
}
|
||||
if (!isInterfaceClass) {
|
||||
const string stmt = VIdProtect::protect("_ctor_var_reset") + "(vlSymsp);";
|
||||
cfuncp->addStmtsp(new AstCStmt{nodep->fileline(), stmt});
|
||||
cfuncp->addStmtsp(
|
||||
new AstCStmt{nodep->fileline(), stmt, VCStmtType::CTOR_VAR_RESET_CALL});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user