Internals: Cleanup CRESET verilog and other misc fixes

This commit is contained in:
Wilson Snyder
2026-02-08 17:53:56 -05:00
parent 3752102879
commit 8700617fae
3 changed files with 3 additions and 9 deletions
+1
View File
@@ -308,6 +308,7 @@ 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