no-specify turns of specparam elaboration.

This commit is contained in:
steve 2006-10-03 15:33:49 +00:00
parent 69cd007a71
commit 4af28e2b77
1 changed files with 35 additions and 31 deletions

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#ifdef HAVE_CVS_IDENT #ifdef HAVE_CVS_IDENT
#ident "$Id: elaborate.cc,v 1.346 2006/10/03 05:06:00 steve Exp $" #ident "$Id: elaborate.cc,v 1.347 2006/10/03 15:33:49 steve Exp $"
#endif #endif
# include "config.h" # include "config.h"
@ -2997,6 +2997,7 @@ bool Module::elaborate(Design*des, NetScope*scope) const
{ {
bool result_flag = true; bool result_flag = true;
if (gn_specify_blocks_flag) {
// Elaborate specparams // Elaborate specparams
typedef map<perm_string,PExpr*>::const_iterator specparam_it_t; typedef map<perm_string,PExpr*>::const_iterator specparam_it_t;
for (specparam_it_t cur = specparams.begin() for (specparam_it_t cur = specparams.begin()
@ -3035,7 +3036,7 @@ bool Module::elaborate(Design*des, NetScope*scope) const
assert(val); assert(val);
delete val; delete val;
scope->specparams[(*cur).first] = value; scope->specparams[(*cur).first] = value;
}
} }
// Elaborate within the generate blocks. // Elaborate within the generate blocks.
@ -3310,6 +3311,9 @@ Design* elaborate(list<perm_string>roots)
/* /*
* $Log: elaborate.cc,v $ * $Log: elaborate.cc,v $
* Revision 1.347 2006/10/03 15:33:49 steve
* no-specify turns of specparam elaboration.
*
* Revision 1.346 2006/10/03 05:06:00 steve * Revision 1.346 2006/10/03 05:06:00 steve
* Support real valued specify delays, properly scaled. * Support real valued specify delays, properly scaled.
* *