[sv-bc] attribute syntax

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Fri Sep 28 2007 - 06:41:09 PDT
I was looking at Mantis 1450.

5.12 says,

"An attribute_instance can appear in the SystemVerilog description as a
prefix attached to a declaration, a module item, a statement, or a port
connection. It can appear as a suffix to an operator or a function name
in an expression."

The syntax in A.8.3 says,

"inc_or_dec_expression ::=
	  inc_or_dec_operator { attribute_instance } variable_lvalue
	| variable_lvalue { attribute_instance } inc_or_dec_operator"

The placement of attribute_instance in the last line seems inconsistent
with the text.

More generally, I suspect we (and the other sub-committees and the
champions) have been negligent about putting in { attribute_instance }
everywhere it should be in all the BNF changes we have made. I know I
have not given them any thought.

Frankly, I think they are a big pain in the neck in the BNF. I'd be in
favor of simply removing them everywhere from the BNF and just leaving
the textual description of where they can appear.

Thanks,
Shalom



Shalom Bresticker
Intel Jerusalem LAD DA
+972 2 589-6852
+972 54 721-1033

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Sep 28 06:41:44 2007

This archive was generated by hypermail 2.1.8 : Fri Sep 28 2007 - 06:42:12 PDT