[sv-bc] Constant method calls

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Tue Jan 29 2008 - 16:53:00 PST
Can a method_call be a constant_primary if the root of the method_call
is constant?
 
For example, could a call to a method of an enum-valued parameter be
used as a constant expression?  
 
        localparam E P = P.first;
        localparam E Q = P.next(N-1);
 
I don't find anything in the LRM saying that this is legal.
 
-- Brad
 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Jan 29 16:53:26 2008

This archive was generated by hypermail 2.1.8 : Tue Jan 29 2008 - 16:53:59 PST