[sv-ec] module parameter assigned to specify parameter

From: Kakoli Bhattacharya <kakoli_at_.....>
Date: Fri Aug 22 2008 - 07:03:18 PDT
Hello,

According to Section 4.10.3 of the Verilog LRM 1364-2005
"The value assigned to a specify parameter can be any constant expression."

Again,as per table 4.7 of the same section
Parameters (module parameter) "May not be used inside specify blocks"

Now consider the following example:

specify
   specparam si = si1;
endspecify

where, 
parameter shortint signed si1 = -3; // declared within the module scope

The standard tools are behaving differently for the above case.
While some passes,others are giving error or warning.

What should be the correct behaviour?

Thanks,
Kakoli





-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Aug 22 07:11:59 2008

This archive was generated by hypermail 2.1.8 : Fri Aug 22 2008 - 07:12:59 PDT