From f3497e0c66d3991c726806de7e35a4e31334c2cb Mon Sep 17 00:00:00 2001 From: Cary R Date: Sun, 22 May 2011 21:40:54 -0700 Subject: [PATCH] Report the correct gate port number. The error message was reporting the error message as zero based instead of one based. --- elaborate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elaborate.cc b/elaborate.cc index d5b97cb51..dcb561b49 100644 --- a/elaborate.cc +++ b/elaborate.cc @@ -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; }