[sv-ac] Is 'let' allowed as constant expression

From: Surya Pratik Saha <spsaha@cal.interrasystems.com>
Date: Thu Feb 23 2012 - 00:05:48 PST

Hi,
Is 'let' construct allowed to be used in context of constant expression?
For e.g.:

module top;
     let l(int x) = x;
     reg [l(1): 0] r;
endmodule

I did not see any reference in the LRM agreeing or disagreeing it. If it
is allowed, then I think we need to put some restriction on those usages
like constant function call as discussed in the LRM. Please share your
comments.

-- 
Regards
Surya
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Feb 23 00:06:57 2012

This archive was generated by hypermail 2.1.8 : Thu Feb 23 2012 - 00:07:11 PST