diff --git a/src/V3Width.cpp b/src/V3Width.cpp index d3924d87a..8ebdac773 100644 --- a/src/V3Width.cpp +++ b/src/V3Width.cpp @@ -6300,7 +6300,10 @@ class WidthVisitor final : public VNVisitor { } } UASSERT_OBJ(nodep->taskp(), nodep, "Unlinked"); - if (nodep->didWidth()) return; + if (nodep->didWidth()) { + nodep->addPinsp(withp); + return; + } if ((nodep->taskp()->classMethod() && !nodep->taskp()->isStatic()) && !VN_IS(m_procedurep, InitialAutomatic) && (!m_ftaskp || !m_ftaskp->classMethod() || m_ftaskp->isStatic()) && !m_constraintp) {