This issue was addressed in Verilog 1364-2005_D3, and
the resolution there is to add this sentence on page 182:
Local parameters cannot be overridden, therefore they are
not considered part of the ordered list for parameter
value assignment.
-Geoffrey
> 1) localparams and overrides by order: Sri asked how one
> could override the value of L in this example:
>
> module blackbox();
> parameter real R = 10.0;
> localparam K = 3;
> parameter real L = 0.1;
>
> One suggestion was that localparams would be ignored
> when making the associations. I can't see that this
> was addressed in Verilog-2001 or in the 2005-d2.
> I proposed that aliasparams follow this rule.
Received on Thu Jun 3 09:15:55 2004
This archive was generated by hypermail 2.1.8 : Thu Jun 03 2004 - 09:16:06 PDT