Support task name in $display %m (#3211).

This commit is contained in:
Wilson Snyder
2021-11-26 20:38:48 -05:00
parent cd737065f2
commit c6dae40cf6
11 changed files with 57 additions and 36 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ private:
}
nodep->fmtp()->addExprsp(timenewp);
if (!nodep->fmtp()->scopeNamep() && nodep->fmtp()->formatScopeTracking()) {
nodep->fmtp()->scopeNamep(new AstScopeName(nodep->fileline()));
nodep->fmtp()->scopeNamep(new AstScopeName{nodep->fileline(), true});
}
}
AstVarRef* newMonitorNumVarRefp(AstNode* nodep, VAccess access) {