V0.9: 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:41:53 -07:00 committed by Stephen Williams
parent 9e853b4c04
commit 134bd22e0b
1 changed files with 1 additions and 1 deletions

View File

@ -782,7 +782,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;
}