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:
parent
35488ac254
commit
f3497e0c66
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue