diff --git a/src/V3SchedVirtIface.cpp b/src/V3SchedVirtIface.cpp index 26df4d32a..f8fb691c6 100644 --- a/src/V3SchedVirtIface.cpp +++ b/src/V3SchedVirtIface.cpp @@ -169,7 +169,7 @@ private: void visit(AstNodeIf* nodep) override { unsupportedWriteToVirtIface(nodep->condp(), "if condition"); iterateAndNextNull(nodep->condp()); - bool hasTimeingControl; + bool hasTimingControl; { VL_RESTORER(m_trigAssignp); VL_RESTORER(m_trigAssignIfacep); @@ -177,7 +177,7 @@ private: VL_RESTORER(m_hasTimingControl); m_hasTimingControl = false; iterateAndNextNull(nodep->thensp()); - hasTimeingControl = m_hasTimingControl; + hasTimingControl = m_hasTimingControl; } { VL_RESTORER(m_trigAssignp); @@ -186,9 +186,9 @@ private: VL_RESTORER(m_hasTimingControl); m_hasTimingControl = false; iterateAndNextNull(nodep->elsesp()); - hasTimeingControl |= m_hasTimingControl; + hasTimingControl |= m_hasTimingControl; } - if (hasTimeingControl) { + if (hasTimingControl) { // Clear the trigger assignment, as there could have been timing controls in either // branch m_trigAssignp = nullptr; @@ -200,7 +200,7 @@ private: void visit(AstLoop* nodep) override { UASSERT_OBJ(!nodep->contsp(), nodep, "'contsp' only used before LinkJump"); iterateAndNextNull(nodep->contsp()); - bool hasTimeingControl; + bool hasTimingControl; { VL_RESTORER(m_trigAssignp); VL_RESTORER(m_trigAssignIfacep); @@ -208,9 +208,9 @@ private: VL_RESTORER(m_hasTimingControl); m_hasTimingControl = false; iterateAndNextNull(nodep->stmtsp()); - hasTimeingControl = m_hasTimingControl; + hasTimingControl = m_hasTimingControl; } - if (hasTimeingControl) { + if (hasTimingControl) { // Clear the trigger assignment, as there could have been timing controls in the loop m_trigAssignp = nullptr; m_trigAssignIfacep = nullptr;