From 5b726e09afbab37ce88f2fd82ee0a49955c68a35 Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 24 Apr 2003 05:25:55 +0000 Subject: [PATCH] Include port name in port assignment error message. --- elaborate.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/elaborate.cc b/elaborate.cc index c0eccec2f..24ce385ca 100644 --- a/elaborate.cc +++ b/elaborate.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: elaborate.cc,v 1.278 2003/03/29 05:51:25 steve Exp $" +#ident "$Id: elaborate.cc,v 1.279 2003/04/24 05:25:55 steve Exp $" #endif # include "config.h" @@ -669,6 +669,9 @@ void PGModule::elaborate_mod_(Design*des, Module*rmod, NetScope*scope) const cerr << (*pins)[idx]->get_line() << ": error: " << "Output port expression must support " << "continuous assignment." << endl; + cerr << (*pins)[idx]->get_line() << ": : " + << "Port of " << rmod->mod_name() + << " is " << rmod->ports[idx]->name << endl; des->errors += 1; continue; } @@ -2521,6 +2524,9 @@ Design* elaborate(listroots) /* * $Log: elaborate.cc,v $ + * Revision 1.279 2003/04/24 05:25:55 steve + * Include port name in port assignment error message. + * * Revision 1.278 2003/03/29 05:51:25 steve * Sign extend NetMult inputs if result is signed. *