From b663d1a230cd208475cf0e3000cb6721b29509dc Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 1 Nov 2020 20:52:21 -0500 Subject: [PATCH] Rename internal interface references, part of #2614. --- src/V3LinkDot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3LinkDot.cpp b/src/V3LinkDot.cpp index 2f20432d4..f027d7cda 100644 --- a/src/V3LinkDot.cpp +++ b/src/V3LinkDot.cpp @@ -1861,8 +1861,8 @@ private: AstVar* makeIfaceModportVar(FileLine* fl, AstCell* cellp, AstIface* ifacep, AstModport* modportp) { // Create iface variable, using duplicate var when under same module scope - string varName = ifacep->name() + "__Vmp__" + modportp->name() + "__Viftop" - + cvtToStr(++m_modportNum); + string varName + = cellp->name() + "__Vmp__" + modportp->name() + "__Viftop" + cvtToStr(++m_modportNum); AstIfaceRefDType* idtypep = new AstIfaceRefDType(fl, modportp->fileline(), cellp->name(), ifacep->name(), modportp->name()); idtypep->cellp(cellp);