From 349dd546e7066cf9e465a28bdc26c793dc7d7add Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 15 May 2026 17:33:19 -0400 Subject: [PATCH] Internals: Rename stdPackageProcessp etc. No functional change. --- src/V3AssertPre.cpp | 8 ++++---- src/V3AstNodeOther.h | 6 +++--- src/V3AstNodes.cpp | 6 +++--- src/V3Global.cpp | 2 +- src/V3LinkDot.cpp | 2 +- src/V3LinkJump.cpp | 7 ++++--- src/V3LinkParse.cpp | 2 +- src/V3ParseImp.cpp | 4 ++-- src/V3Randomize.cpp | 2 +- test_regress/t/t_constraint_json_only.out | 2 +- test_regress/t/t_json_only_begin_hier.out | 2 +- test_regress/t/t_json_only_first.out | 2 +- test_regress/t/t_json_only_flat.out | 2 +- test_regress/t/t_json_only_flat_no_inline_mod.out | 2 +- test_regress/t/t_json_only_flat_pub_mod.out | 2 +- test_regress/t/t_json_only_flat_vlvbound.out | 2 +- test_regress/t/t_json_only_output.out | 2 +- test_regress/t/t_json_only_primary_io.out | 2 +- test_regress/t/t_json_only_tag.out | 2 +- test_regress/t/t_var_port_json_only.out | 2 +- 20 files changed, 31 insertions(+), 30 deletions(-) diff --git a/src/V3AssertPre.cpp b/src/V3AssertPre.cpp index de2b4ae3a..28bb57635 100644 --- a/src/V3AssertPre.cpp +++ b/src/V3AssertPre.cpp @@ -800,8 +800,8 @@ private: AstNodeDType* valp = v3Global.rootp()->typeTablep()->findBasicDType(flp, VBasicDTypeKwd::BIT); AstClassRefDType* keyp - = new AstClassRefDType{flp, v3Global.rootp()->stdPackageClassp(), nullptr}; - keyp->classOrPackagep(v3Global.rootp()->stdPackageClassp()); + = new AstClassRefDType{flp, v3Global.rootp()->stdPackageProcessp(), nullptr}; + keyp->classOrPackagep(v3Global.rootp()->stdPackageProcessp()); v3Global.rootp()->typeTablep()->addTypesp(keyp); AstAssocArrayDType* const typep = new AstAssocArrayDType{flp, valp, keyp}; typep->dtypep(typep); @@ -811,7 +811,7 @@ private: static AstStmtExpr* getProcessAssocArrayDelete(AstVarRef* const refp) { // Constructs refp.delete(std::process::self()) statement FileLine* const flp = refp->fileline(); - refp->classOrPackagep(v3Global.rootp()->stdPackageClassp()); + refp->classOrPackagep(v3Global.rootp()->stdPackageProcessp()); AstCMethodHard* const deletep = new AstCMethodHard{ flp, refp, VCMethod::ASSOC_ERASE, v3Global.rootp()->stdPackageProcessSelfp(flp)}; deletep->dtypep(refp->findVoidDType()); @@ -819,7 +819,7 @@ private: } static AstNodeExpr* getProcessAssocArraySize(AstVarRef* const refp) { // Constructs refp.size() statement - refp->classOrPackagep(v3Global.rootp()->stdPackageClassp()); + refp->classOrPackagep(v3Global.rootp()->stdPackageProcessp()); AstCMethodHard* const sizep = new AstCMethodHard{refp->fileline(), refp, VCMethod::ASSOC_SIZE}; sizep->dtypep(refp->findBasicDType(VBasicDTypeKwd::UINT32)); diff --git a/src/V3AstNodeOther.h b/src/V3AstNodeOther.h index d65aec4a4..1d68873b8 100644 --- a/src/V3AstNodeOther.h +++ b/src/V3AstNodeOther.h @@ -1265,7 +1265,7 @@ class AstNetlist final : public AstNode { // @astgen ptr := m_constPoolp : AstConstPool // Reference to constant pool, for faster lookup // @astgen ptr := m_dollarUnitPkgp : Optional[AstPackage] // $unit // @astgen ptr := m_stdPackagep : Optional[AstPackage] // SystemVerilog std package - // @astgen ptr := m_stdPackageClassp : Optional[AstClass] // SystemVerilog std process class + // @astgen ptr := m_stdPackageProcessp : Optional[AstClass] // SystemVerilog std process class // @astgen ptr := m_evalp : Optional[AstCFunc] // The '_eval' function // @astgen ptr := m_evalNbap : Optional[AstCFunc] // The '_eval__nba' function // @astgen ptr := m_dpiExportTriggerp : Optional[AstVarScope] // DPI export trigger variable @@ -1322,8 +1322,8 @@ public: void nbaEventTriggerp(AstVarScope* const varScopep) { m_nbaEventTriggerp = varScopep; } void stdPackagep(AstPackage* const packagep) { m_stdPackagep = packagep; } AstPackage* stdPackagep() const { return m_stdPackagep; } - void stdPackageClassp(AstClass* const classp) { m_stdPackageClassp = classp; } - AstClass* stdPackageClassp() const { return m_stdPackageClassp; } + void stdPackageProcessp(AstClass* const classp) { m_stdPackageProcessp = classp; } + AstClass* stdPackageProcessp() const { return m_stdPackageProcessp; } AstFuncRef* stdPackageProcessSelfp(FileLine*) const; AstTopScope* topScopep() const { return m_topScopep; } void createTopScope(AstScope* scopep); diff --git a/src/V3AstNodes.cpp b/src/V3AstNodes.cpp index d9c1dda86..0ef2f26ca 100644 --- a/src/V3AstNodes.cpp +++ b/src/V3AstNodes.cpp @@ -2788,15 +2788,15 @@ AstVarScope* AstNetlist::stlFirstIterationp() { return vscp; } AstFuncRef* AstNetlist::stdPackageProcessSelfp(FileLine* flp) const { - UASSERT(v3Global.rootp()->stdPackageClassp(), "'std' should be imported"); + UASSERT(v3Global.rootp()->stdPackageProcessp(), "'std' should be imported"); AstFunc* selfp = nullptr; - for (AstNode* itemp = v3Global.rootp()->stdPackageClassp()->stmtsp(); itemp; + for (AstNode* itemp = v3Global.rootp()->stdPackageProcessp()->stmtsp(); itemp; itemp = itemp->nextp()) { if (itemp->name() == "self") selfp = VN_AS(itemp, Func); } UASSERT(selfp, "'std::process::self' should be found"); AstFuncRef* const processSelfp = new AstFuncRef{flp, selfp}; - processSelfp->classOrPackagep(v3Global.rootp()->stdPackageClassp()); + processSelfp->classOrPackagep(v3Global.rootp()->stdPackageProcessp()); return processSelfp; } void AstNodeModule::dump(std::ostream& str) const { diff --git a/src/V3Global.cpp b/src/V3Global.cpp index 3752bf00b..e0b6f42ea 100644 --- a/src/V3Global.cpp +++ b/src/V3Global.cpp @@ -157,7 +157,7 @@ void V3Global::removeStd() { UINFO(3, "Removing unused std:: package"); if (AstNodeModule* stdp = v3Global.rootp()->stdPackagep()) { v3Global.rootp()->stdPackagep(nullptr); - v3Global.rootp()->stdPackageClassp(nullptr); + v3Global.rootp()->stdPackageProcessp(nullptr); VL_DO_DANGLING(stdp->unlinkFrBack()->deleteTree(), stdp); } } diff --git a/src/V3LinkDot.cpp b/src/V3LinkDot.cpp index 2f854d7e1..edace0f79 100644 --- a/src/V3LinkDot.cpp +++ b/src/V3LinkDot.cpp @@ -5454,7 +5454,7 @@ class LinkDotResolveVisitor final : public VNVisitor { } } - if (packedArrayDtp) { m_packedArrayDtp = packedArrayDtp; } + if (packedArrayDtp) m_packedArrayDtp = packedArrayDtp; } void visit(AstMemberSel* nodep) override { // checkNoDot not appropriate, can be under a dot diff --git a/src/V3LinkJump.cpp b/src/V3LinkJump.cpp index 63f0187cd..21e3cdad9 100644 --- a/src/V3LinkJump.cpp +++ b/src/V3LinkJump.cpp @@ -185,7 +185,7 @@ class LinkJumpVisitor final : public VNVisitor { AstPackage* const topPkgp = v3Global.rootp()->dollarUnitPkgAddp(); AstVarRef* const queueRefp = new AstVarRef{fl, topPkgp, processQueuep, VAccess::READWRITE}; AstTaskRef* killQueueCall = nullptr; - for (AstNode* itemp = v3Global.rootp()->stdPackageClassp()->stmtsp(); itemp; + for (AstNode* itemp = v3Global.rootp()->stdPackageProcessp()->stmtsp(); itemp; itemp = itemp->nextp()) { if (itemp->name() == "killQueue") { killQueueCall @@ -194,7 +194,7 @@ class LinkJumpVisitor final : public VNVisitor { } } UASSERT(killQueueCall, "Should be found"); - killQueueCall->classOrPackagep(v3Global.rootp()->stdPackageClassp()); + killQueueCall->classOrPackagep(v3Global.rootp()->stdPackageProcessp()); return new AstStmtExpr{fl, killQueueCall}; } static void prependStmtsp(AstNodeFTask* const nodep, AstNode* const stmtp) { @@ -238,7 +238,8 @@ class LinkJumpVisitor final : public VNVisitor { fl, VVarType::VAR, m_queueNames.get(nodep->name()), VFlagChildDType{}, new AstQueueDType{ fl, VFlagChildDType{}, - new AstClassRefDType{fl, v3Global.rootp()->stdPackageClassp(), nullptr}, nullptr}}; + new AstClassRefDType{fl, v3Global.rootp()->stdPackageProcessp(), nullptr}, + nullptr}}; processQueuep->lifetime(VLifetime::STATIC_EXPLICIT); processQueuep->processQueue(true); processQueuep->setIgnoreSchedWrite(); diff --git a/src/V3LinkParse.cpp b/src/V3LinkParse.cpp index ff4e57a07..5123ee4da 100644 --- a/src/V3LinkParse.cpp +++ b/src/V3LinkParse.cpp @@ -416,7 +416,7 @@ class LinkParseVisitor final : public VNVisitor { } // Mark parameters declared inside interfaces - if (nodep->isParam() && m_inInterface) { nodep->isIfaceParam(true); } + if (nodep->isParam() && m_inInterface) nodep->isIfaceParam(true); if (AstParseTypeDType* const ptypep = VN_CAST(nodep->subDTypep(), ParseTypeDType)) { // It's a parameter type. Use a different node type for this. AstNode* dtypep = nodep->valuep(); diff --git a/src/V3ParseImp.cpp b/src/V3ParseImp.cpp index fcfaf9e38..3873d2069 100644 --- a/src/V3ParseImp.cpp +++ b/src/V3ParseImp.cpp @@ -83,8 +83,8 @@ void V3ParseImp::importIfInStd(FileLine* fileline, const string& id, bool doImpo for (AstNode* itemp = v3Global.rootp()->stdPackagep()->stmtsp(); itemp; itemp = itemp->nextp()) { if (itemp->name() == "process") { - v3Global.rootp()->stdPackageClassp(VN_AS(itemp, Class)); - UASSERT_OBJ(v3Global.rootp()->stdPackageClassp(), v3Global.rootp(), + v3Global.rootp()->stdPackageProcessp(VN_AS(itemp, Class)); + UASSERT_OBJ(v3Global.rootp()->stdPackageProcessp(), v3Global.rootp(), "'std' package class should be found"); break; } diff --git a/src/V3Randomize.cpp b/src/V3Randomize.cpp index 8f973298f..0cce64707 100644 --- a/src/V3Randomize.cpp +++ b/src/V3Randomize.cpp @@ -1166,7 +1166,7 @@ class ConstraintExprVisitor final : public VNVisitor { exprp->user1(true); // Mark as formatted } else { exprp = new AstSFormatF{nodep->fileline(), smtName, false, nullptr}; - if (!isGlobalConstrained) { VL_DO_DANGLING(pushDeletep(nodep), nodep); } + if (!isGlobalConstrained) VL_DO_DANGLING(pushDeletep(nodep), nodep); } // else: Global constraints keep nodep alive for write_var processing relinker.relink(exprp); diff --git a/test_regress/t/t_constraint_json_only.out b/test_regress/t/t_constraint_json_only.out index bdfc25850..ce4b7e0d1 100644 --- a/test_regress/t/t_constraint_json_only.out +++ b/test_regress/t/t_constraint_json_only.out @@ -1,4 +1,4 @@ -{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"(E)","stdPackagep":"UNLINKED","stdPackageClassp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", +{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"(E)","stdPackagep":"UNLINKED","stdPackageProcessp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", "modulesp": [ {"type":"MODULE","name":"t","addr":"(F)","loc":"d,67:8,67:9","origName":"t","verilogName":"t","level":1,"timeunit":"1ps","inlinesp": [], "stmtsp": [ diff --git a/test_regress/t/t_json_only_begin_hier.out b/test_regress/t/t_json_only_begin_hier.out index a001080e7..8e779675c 100644 --- a/test_regress/t/t_json_only_begin_hier.out +++ b/test_regress/t/t_json_only_begin_hier.out @@ -1,4 +1,4 @@ -{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageClassp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", +{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageProcessp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", "modulesp": [ {"type":"MODULE","name":"test","addr":"(E)","loc":"d,21:8,21:12","origName":"test","verilogName":"test","level":1,"timeunit":"1ps","inlinesp": [], "stmtsp": [ diff --git a/test_regress/t/t_json_only_first.out b/test_regress/t/t_json_only_first.out index 3406f81a0..f32e2e41d 100644 --- a/test_regress/t/t_json_only_first.out +++ b/test_regress/t/t_json_only_first.out @@ -1,4 +1,4 @@ -{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageClassp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", +{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageProcessp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", "modulesp": [ {"type":"MODULE","name":"t","addr":"(E)","loc":"d,7:8,7:9","origName":"t","verilogName":"t","level":1,"timeunit":"1ps","inlinesp": [], "stmtsp": [ diff --git a/test_regress/t/t_json_only_flat.out b/test_regress/t/t_json_only_flat.out index 8f6b261c0..727724001 100644 --- a/test_regress/t/t_json_only_flat.out +++ b/test_regress/t/t_json_only_flat.out @@ -1,4 +1,4 @@ -{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageClassp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"(E)","stlFirstIterationp":"UNLINKED", +{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageProcessp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"(E)","stlFirstIterationp":"UNLINKED", "modulesp": [ {"type":"MODULE","name":"$root","addr":"(F)","loc":"d,7:8,7:9","origName":"$root","verilogName":"$root","level":1,"modPublic":true,"timeunit":"1ps","inlinesp": [], "stmtsp": [ diff --git a/test_regress/t/t_json_only_flat_no_inline_mod.out b/test_regress/t/t_json_only_flat_no_inline_mod.out index 475ee9f36..b87493b24 100644 --- a/test_regress/t/t_json_only_flat_no_inline_mod.out +++ b/test_regress/t/t_json_only_flat_no_inline_mod.out @@ -1,4 +1,4 @@ -{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageClassp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"(E)","stlFirstIterationp":"UNLINKED", +{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageProcessp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"(E)","stlFirstIterationp":"UNLINKED", "modulesp": [ {"type":"MODULE","name":"$root","addr":"(F)","loc":"d,11:8,11:11","origName":"$root","verilogName":"$root","level":1,"modPublic":true,"timeunit":"1ps","inlinesp": [], "stmtsp": [ diff --git a/test_regress/t/t_json_only_flat_pub_mod.out b/test_regress/t/t_json_only_flat_pub_mod.out index 475ee9f36..b87493b24 100644 --- a/test_regress/t/t_json_only_flat_pub_mod.out +++ b/test_regress/t/t_json_only_flat_pub_mod.out @@ -1,4 +1,4 @@ -{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageClassp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"(E)","stlFirstIterationp":"UNLINKED", +{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageProcessp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"(E)","stlFirstIterationp":"UNLINKED", "modulesp": [ {"type":"MODULE","name":"$root","addr":"(F)","loc":"d,11:8,11:11","origName":"$root","verilogName":"$root","level":1,"modPublic":true,"timeunit":"1ps","inlinesp": [], "stmtsp": [ diff --git a/test_regress/t/t_json_only_flat_vlvbound.out b/test_regress/t/t_json_only_flat_vlvbound.out index 51cc09872..ff23ac385 100644 --- a/test_regress/t/t_json_only_flat_vlvbound.out +++ b/test_regress/t/t_json_only_flat_vlvbound.out @@ -1,4 +1,4 @@ -{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageClassp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"(E)","stlFirstIterationp":"UNLINKED", +{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageProcessp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"(E)","stlFirstIterationp":"UNLINKED", "modulesp": [ {"type":"MODULE","name":"$root","addr":"(F)","loc":"d,7:8,7:21","origName":"$root","verilogName":"$root","level":1,"modPublic":true,"timeunit":"1ps","inlinesp": [], "stmtsp": [ diff --git a/test_regress/t/t_json_only_output.out b/test_regress/t/t_json_only_output.out index ac401928c..c66ad57a3 100644 --- a/test_regress/t/t_json_only_output.out +++ b/test_regress/t/t_json_only_output.out @@ -1,4 +1,4 @@ -{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageClassp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", +{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageProcessp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", "modulesp": [ {"type":"MODULE","name":"m","addr":"(E)","loc":"d,7:8,7:9","origName":"m","verilogName":"m","level":1,"timeunit":"1ps","inlinesp": [], "stmtsp": [ diff --git a/test_regress/t/t_json_only_primary_io.out b/test_regress/t/t_json_only_primary_io.out index 23b987c8b..896aa716b 100644 --- a/test_regress/t/t_json_only_primary_io.out +++ b/test_regress/t/t_json_only_primary_io.out @@ -1,4 +1,4 @@ -{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageClassp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", +{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageProcessp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", "modulesp": [ {"type":"MODULE","name":"top","addr":"(E)","loc":"d,7:8,7:11","origName":"top","verilogName":"top","level":1,"timeunit":"1ps","inlinesp": [], "stmtsp": [ diff --git a/test_regress/t/t_json_only_tag.out b/test_regress/t/t_json_only_tag.out index c9773d107..c0d396689 100644 --- a/test_regress/t/t_json_only_tag.out +++ b/test_regress/t/t_json_only_tag.out @@ -1,4 +1,4 @@ -{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageClassp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", +{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageProcessp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", "modulesp": [ {"type":"MODULE","name":"m","addr":"(E)","loc":"d,12:8,12:9","origName":"m","verilogName":"m","level":1,"timeunit":"1ps","inlinesp": [], "stmtsp": [ diff --git a/test_regress/t/t_var_port_json_only.out b/test_regress/t/t_var_port_json_only.out index e4cbb1f5a..cdd5447dc 100644 --- a/test_regress/t/t_var_port_json_only.out +++ b/test_regress/t/t_var_port_json_only.out @@ -1,4 +1,4 @@ -{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageClassp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", +{"type":"NETLIST","name":"$root","addr":"(B)","loc":"a,0:0,0:0","timeunit":"1ps","timeprecision":"1ps","typeTablep":"(C)","constPoolp":"(D)","dollarUnitPkgp":"UNLINKED","stdPackagep":"UNLINKED","stdPackageProcessp":"UNLINKED","evalp":"UNLINKED","evalNbap":"UNLINKED","dpiExportTriggerp":"UNLINKED","delaySchedulerp":"UNLINKED","nbaEventp":"UNLINKED","nbaEventTriggerp":"UNLINKED","topScopep":"UNLINKED","stlFirstIterationp":"UNLINKED", "modulesp": [ {"type":"MODULE","name":"mh2","addr":"(E)","loc":"d,18:8,18:11","origName":"mh2","verilogName":"mh2","level":1,"timeunit":"1ps","inlinesp": [], "stmtsp": [