From 246f2d5884ecff308188ee4ba7a58bfe335d44e2 Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 10 Jan 2001 05:32:44 +0000 Subject: [PATCH] Match memories within task scopes. (PR#101) --- pform.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pform.cc b/pform.cc index 1a5415bdc..d9a11990f 100644 --- a/pform.cc +++ b/pform.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) && !defined(macintosh) -#ident "$Id: pform.cc,v 1.70 2001/01/06 06:31:59 steve Exp $" +#ident "$Id: pform.cc,v 1.71 2001/01/10 05:32:44 steve Exp $" #endif # include "compiler.h" @@ -337,7 +337,7 @@ static void pform_set_net_range(const char*name, PWire*cur = pform_cur_module->get_wire(scoped_name(name)); if (cur == 0) { - VLerror(" error: name is not a valid net."); + VLerror("error: name is not a valid net."); return; } @@ -845,9 +845,9 @@ void pform_set_type_attrib(const string&name, const string&key, */ void pform_set_reg_idx(const string&name, PExpr*l, PExpr*r) { - PWire*cur = pform_cur_module->get_wire(name); + PWire*cur = pform_cur_module->get_wire(scoped_name(name)); if (cur == 0) { - VLerror(" error: name is not a valid net."); + VLerror("internal error: name is not a valid memory for index."); return; } @@ -1010,6 +1010,9 @@ int pform_parse(const char*path, map&modules, /* * $Log: pform.cc,v $ + * Revision 1.71 2001/01/10 05:32:44 steve + * Match memories within task scopes. (PR#101) + * * Revision 1.70 2001/01/06 06:31:59 steve * declaration initialization for time variables. *