diff --git a/src/V3AstNodes.cpp b/src/V3AstNodes.cpp index 9fb36d740..a2e27245d 100644 --- a/src/V3AstNodes.cpp +++ b/src/V3AstNodes.cpp @@ -2775,7 +2775,7 @@ void AstVar::dump(std::ostream& str) const { if (isInternal()) str << " [INTERNAL]"; if (isLatched()) str << " [LATCHED]"; if (isUsedLoopIdx()) str << " [LOOPIDX]"; - if (rand().isRandomizable()) str << rand(); + if (rand().isRandomizable()) str << " [" << rand() << "]"; if (noReset()) str << " [!RST]"; if (attrIsolateAssign()) str << " [aISO]"; if (attrFileDescr()) str << " [aFD]";