Date: Mon Dec 15 2003 - 09:58:28 PST
This comes to update the proposal to #211 according to
Shalom's comments on James's proposal.
However, it is not in a final state.
It still needs to be refined according to Steven Sharp's
Add the following to the end of the section:
Local parameters cannot be overridden, therefore, they are not
considered part of the ordered list for parameter value assignment.
In the following example, addr_width will be assigned the value of 12
and data_width will be assigned the value of 16. mem_size will not be
explicitly assigned a value due to the ordered list, but will have
the value 4096 due to its declaration expression.
module my_mem (addr, data);
parameter addr_width = 16;
localparam mem_size = 1 << addr_width;
parameter data_width = 8;
my_mem #(12, 16) m(addr,data);
Add the following sentence between the first and second sentences:
However, overriding a parameter, whether by a defparam
statement or in a module instantiation statement,
effectively replaces the parameter definition with
the new expression.
Add the following sentence to the paragraph:
If memory_size is updated due to either a defparam or instantiation
statement, then it will take on that value, regardless of the value
This archive was generated by hypermail 2.1.4
: Mon Dec 15 2003 - 09:58:32 PST
sponsored by Boyd Technology, Inc.