diff --git a/src/V3SplitVar.cpp b/src/V3SplitVar.cpp index d1c794ee1..1394ea679 100644 --- a/src/V3SplitVar.cpp +++ b/src/V3SplitVar.cpp @@ -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 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;