From 5f09e01a444efc0408edbffb385c6582551fb734 Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 23 Jan 2002 05:23:17 +0000 Subject: [PATCH] No implicit declaration in assign l-values. --- elab_net.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/elab_net.cc b/elab_net.cc index 71b9e5b14..043d00da9 100644 --- a/elab_net.cc +++ b/elab_net.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) && !defined(macintosh) -#ident "$Id: elab_net.cc,v 1.85 2002/01/03 04:19:01 steve Exp $" +#ident "$Id: elab_net.cc,v 1.86 2002/01/23 05:23:17 steve Exp $" #endif # include "config.h" @@ -1280,14 +1280,11 @@ NetNet* PEIdent::elaborate_lnet(Design*des, NetScope*scope) const return 0; } - /* Fine, create an implicit wire as an l-value. */ - sig = new NetNet(scope, path+"."+path_.peek_name(0), - NetNet::IMPLICIT, 1); - - if (warn_implicit) - cerr << get_line() << ": warning: implicit " - " definition of wire " << path << "." << - path_.peek_name(0) << "." << endl; + cerr << get_line() << ": error: Net " << path_ + << " is not defined in this context." << endl; + cerr << get_line() << ": : Do you mean this? wire " + << path_ << " = ;" << endl; + return 0; } assert(sig); @@ -1977,6 +1974,9 @@ NetNet* PEUnary::elaborate_net(Design*des, NetScope*scope, /* * $Log: elab_net.cc,v $ + * Revision 1.86 2002/01/23 05:23:17 steve + * No implicit declaration in assign l-values. + * * Revision 1.85 2002/01/03 04:19:01 steve * Add structural modulus support down to vvp. *