RE: [sv-bc] RE: [sv-ec] svlog enum function usage & maven query

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Sun Apr 27 2008 - 23:59:23 PDT
Steven,

Good point.  I think the main intent for calls to non-void methods was
to elide parentheses when there is a method_call_root, as needed by the
UAP.  So 13.5.5 should be more restrictive.

-- Brad

-----Original Message-----
From: Steven Sharp [mailto:sharp@cadence.com] 
Sent: Friday, April 25, 2008 5:38 PM
To: sv-ec@eda.org; sv-bc@eda.org; Brad.Pierce@synopsys.COM
Subject: RE: [sv-bc] RE: [sv-ec] svlog enum function usage & maven query


>From: "Brad Pierce" <Brad.Pierce@synopsys.com>
>
>According to 13.5.5, the parentheses in a call to a nonvoid function
>'funct' cannot not be omitted, hence "funct.next" must refer to the
>static variable "top.funct.next", which is initialized to "C" at time
0.

What if we move this code to the inside of a class, so that funct
becomes a method (and declare the local variable 'next' to be
explicitly static)?  According to 13.5.5, the parentheses can be
omitted from a method function call.


Steven Sharp
sharp@cadence.com


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Apr 28 00:00:44 2008

This archive was generated by hypermail 2.1.8 : Mon Apr 28 2008 - 00:01:01 PDT