Section 22.2
Parameters
In 22.2, REPLACE
SystemVerilog adds the ability for a
parameter to also specify a data type, allowing modules or instances to have
data whose type is set for each instance.
WITH
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.
SystemVerilog adds the ability for a
parameter to also specify a data type, allowing modules or instances to have
data whose type is set for each instance.
In 22.2, REPLACE
It
is an error to override a type parameter with a defparam
statement.
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.
WITH
It
is an error to override a type parameter with a defparam
statement.
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.