Fix .* on interface pins, bug1176.

This commit is contained in:
Wilson Snyder
2017-06-20 18:40:18 -04:00
parent 644c22b08f
commit abf2fcf820
4 changed files with 63 additions and 1 deletions
+2 -1
View File
@@ -335,7 +335,8 @@ private:
UINFO(9," need .* PORT "<<portp<<endl);
// Create any not already connected
AstPin* newp = new AstPin(nodep->fileline(),0,portp->name(),
new AstVarRef(nodep->fileline(),portp->name(),false));
new AstParseRef(nodep->fileline(),
AstParseRefExp::PX_TEXT, portp->name(), NULL, NULL));
newp->svImplicit(true);
nodep->addPinsp(newp);
} else { // warn on the CELL that needs it, not the port