From c0739e908cfc0df9a1b8259497c6cb91d6e55c31 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 15 Oct 2022 18:37:44 -0400 Subject: [PATCH] Fix internal traceActivity to be zero reset not randomized. --- src/V3Trace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3Trace.cpp b/src/V3Trace.cpp index 10243983d..e0fa8ce8b 100644 --- a/src/V3Trace.cpp +++ b/src/V3Trace.cpp @@ -447,7 +447,7 @@ private: // read-modify-write on the C type), and the speed of the tracing code // is the same on largish designs. FileLine* const flp = m_topScopep->fileline(); - AstNodeDType* const newScalarDtp = new AstBasicDType(flp, VFlagLogicPacked(), 1); + AstNodeDType* const newScalarDtp = new AstBasicDType{flp, VFlagBitPacked{}, 1}; v3Global.rootp()->typeTablep()->addTypesp(newScalarDtp); AstRange* const newArange = new AstRange{flp, VNumRange{static_cast(m_activityNumber) - 1, 0}};