From: Steven Sharp (sharp@cadence.com)
Date: Tue Feb 03 2004 - 15:19:57 PST
>This is a real strike against defparams, because the person
>instantiating the module may not know or remember that a certain
>parameter is used in a constant function, all the more so if the
>parameter used in the constant function is affected only indirectly by
>the defparam. This makes defparams really dangerous.
I would say that this is a strike against allowing parameters to be used
in constant functions. The assumption that it was sufficient to restrict
them to parameters defined before the use of the constant function is
based on the invalid idea that parameter values are determined in a single
linear pass through the module from top to bottom. They shouldn't have
been allowed to use parameters in their definitions at all.
Steven Sharp
sharp@cadence.com
This archive was generated by hypermail 2.1.4
: Tue Feb 03 2004 - 15:06:33 PST
and
sponsored by Boyd Technology, Inc.