From 5d768a4a201dc2e662f5ea2d43e3870187c5ab1b Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 10 Dec 2025 19:07:51 -0500 Subject: [PATCH] Internals: Fix rand dump text --- src/V3AstNodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]";