Fix pin width mismatch error, bug595.

This commit is contained in:
Wilson Snyder
2013-01-15 19:26:35 -05:00
parent 0286f588bf
commit 0437d0abea
4 changed files with 62 additions and 1 deletions
-1
View File
@@ -291,7 +291,6 @@ AstAssignW* V3Inst::pinReconnectSimple(AstPin* pinp, AstCell* cellp, AstNodeModu
pinp->exprp(new AstVarRef (pinexprp->fileline(), newvarp, true));
} else {
// V3 width should have range/extended to make the widths correct
if (pinexprp->width() != pinVarp->width()) pinp->v3fatalSrc("Input pin width mismatch");
assignp = new AstAssignW (pinp->fileline(),
new AstVarRef(pinp->fileline(), newvarp, true),
pinexprp);