From ee180f6cf0c7f6ec39075cb8102aa827bf20f9c5 Mon Sep 17 00:00:00 2001 From: steve Date: Sun, 6 Feb 2000 23:13:14 +0000 Subject: [PATCH] Include the scope in named gates. --- elaborate.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/elaborate.cc b/elaborate.cc index 20301f219..d9c77f3ad 100644 --- a/elaborate.cc +++ b/elaborate.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) -#ident "$Id: elaborate.cc,v 1.141 2000/01/10 01:35:23 steve Exp $" +#ident "$Id: elaborate.cc,v 1.142 2000/02/06 23:13:14 steve Exp $" #endif /* @@ -228,6 +228,8 @@ void PGBuiltin::elaborate(Design*des, const string&path) const string name = get_name(); if (name == "") name = des->local_symbol(path); + else + name = path+"."+name; /* If the verilog source has a range specification for the gates, then I am expected to make more then one @@ -2000,6 +2002,9 @@ Design* elaborate(const map&modules, /* * $Log: elaborate.cc,v $ + * Revision 1.142 2000/02/06 23:13:14 steve + * Include the scope in named gates. + * * Revision 1.141 2000/01/10 01:35:23 steve * Elaborate parameters afer binding of overrides. *