forked from github/verilator
Rename internal interface references, part of #2614.
This commit is contained in:
parent
5821048df7
commit
b663d1a230
@ -1861,8 +1861,8 @@ private:
|
|||||||
AstVar* makeIfaceModportVar(FileLine* fl, AstCell* cellp, AstIface* ifacep,
|
AstVar* makeIfaceModportVar(FileLine* fl, AstCell* cellp, AstIface* ifacep,
|
||||||
AstModport* modportp) {
|
AstModport* modportp) {
|
||||||
// Create iface variable, using duplicate var when under same module scope
|
// Create iface variable, using duplicate var when under same module scope
|
||||||
string varName = ifacep->name() + "__Vmp__" + modportp->name() + "__Viftop"
|
string varName
|
||||||
+ cvtToStr(++m_modportNum);
|
= cellp->name() + "__Vmp__" + modportp->name() + "__Viftop" + cvtToStr(++m_modportNum);
|
||||||
AstIfaceRefDType* idtypep = new AstIfaceRefDType(fl, modportp->fileline(), cellp->name(),
|
AstIfaceRefDType* idtypep = new AstIfaceRefDType(fl, modportp->fileline(), cellp->name(),
|
||||||
ifacep->name(), modportp->name());
|
ifacep->name(), modportp->name());
|
||||||
idtypep->cellp(cellp);
|
idtypep->cellp(cellp);
|
||||||
|
Loading…
Reference in New Issue
Block a user