Report the correct gate port number.

The error message was reporting the error message as zero based
instead of one based.
This commit is contained in:
Cary R 2011-05-22 21:40:54 -07:00 committed by Stephen Williams
parent 35488ac254
commit f3497e0c66
1 changed files with 1 additions and 1 deletions

View File

@ -852,7 +852,7 @@ void PGBuiltin::elaborate(Design*des, NetScope*scope) const
cerr << get_fileline() << ": error: "
<< "Expression width " << sig->vector_width()
<< " does not match width " << instance_width
<< " of logic gate array port " << idx
<< " of logic gate array port " << idx+1
<< "." << endl;
des->errors += 1;
}