[sv-ec] parameters in classes

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Sat Jun 02 2007 - 23:33:55 PDT
  

Hi,

In Draft 3, Stu wrote in 6.20.1, "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." Here Stu added "interface,
program, or class".

6.20.4 says, "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."

BNF footnote 39 (Mantis 1515) says, "39) In a parameter_declaration that
is a class_item, the parameter keyword shall be a synonym for the
localparam keyword."

So is every parameter declared in a class a local parameter, or only if
there are parameters defined in the class header?

What about interfaces and programs?

Thanks,

Shalom

Shalom Bresticker

Intel Jerusalem LAD DA

+972 2 589-6852

+972 54 721-1033 

 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



image001.gif
Received on Sat Jun 2 23:35:05 2007

This archive was generated by hypermail 2.1.8 : Sat Jun 02 2007 - 23:35:57 PDT