Mantis 1851

P1800-2008/D3a

Parameters as local parameters

In Section 6.20.1

CHANGE

The list_of_param_assignments can appear in a module, interface, program, class or package or in the

parameter_port_list of a module (see 22.2), interface, program or class. If any param_assignments appear in

a parameter_port_list, then any param_assignments that appear within the module, interface, program or class shall become local parameters and shall not be overridden by any method.

 

TO

The list_of_param_assignments can appear in a module, interface, program, class or package or in the

parameter_port_list of a module (see 22.2), interface, program or class. If any param_assignments appear in

a parameter_port_list, then any param_assignments that appear within the module, interface, or program or class shall become local parameters and shall not be overridden by any method. All param_assignments appearing within a class shall become local parameters regardless of the presence or absence of a parameter_port_list. All param_assignments appearing within a package shall become local parameters.

 

In Section 6.20.4

CHANGE

Unlike nonlocal parameters, local parameters can be declared in a generate block, in a package, or in a

compilation-unit scope. In these contexts, the parameter keyword can be used as a synonym for the

localparam keyword.

 

TO

Unlike nonlocal parameters, local parameters can be declared in a generate block, in a package, class or in a compilation-unit scope. In these contexts, the parameter keyword can be used as a synonym for the

localparam keyword.