mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Commentary
This commit is contained in:
+2
-2
@@ -475,7 +475,7 @@ class SplitUnpackedVarVisitor : public AstNVisitor, public SplitVarImpl {
|
||||
UINFO(4, "Skip " << nodep->prettyNameQ() << "\n");
|
||||
return;
|
||||
}
|
||||
UASSERT_OBJ(!m_modp, m_modp, "Nested module declration");
|
||||
UASSERT_OBJ(!m_modp, m_modp, "Nested module declaration");
|
||||
UASSERT_OBJ(m_refs.empty(), nodep, "The last module didn't finish split()");
|
||||
m_modp = nodep;
|
||||
iterateChildren(nodep);
|
||||
@@ -990,7 +990,7 @@ class SplitPackedVarVisitor : public AstNVisitor, public SplitVarImpl {
|
||||
// key:variable to be split. value:location where the variable is referenced.
|
||||
vl_unordered_map<AstVar*, PackedVarRef> m_refs;
|
||||
virtual void visit(AstNodeModule* nodep) VL_OVERRIDE {
|
||||
UASSERT_OBJ(m_modp == NULL, m_modp, "Nested module declration");
|
||||
UASSERT_OBJ(m_modp == NULL, m_modp, "Nested module declaration");
|
||||
if (!VN_IS(nodep, Module)) {
|
||||
UINFO(5, "Skip " << nodep->prettyNameQ() << "\n");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user