[sv-ac] Contradictory statement of increment/decrement operators usage.

From: Surya Pratik Saha <spsaha_at_.....>
Date: Wed Aug 05 2009 - 21:42:49 PDT
Hi,
In SV 2009 draft 7a LRM, it is mentioned:

16.6.3 Operators
All operators that are valid for the types described in 16.6.1 are allowed with the exception of assignment operators and increment and decrement operators. SystemVerilog includes the C assignment operators, such as +=, and the C increment and decrement operators, ++ and --. These operators cannot be used in expressions that appear in assertions. This restriction prevents side effects.

However, BNF of sequence_match_item shows following rules:
sequence_match_item ::=
operator_assignment
| inc_or_dec_expression
| subroutine_call

Are they not contradictory?
-- 
Regards
Surya

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean. Received on Wed Aug 5 21:44:41 2009

This archive was generated by hypermail 2.1.8 : Wed Aug 05 2009 - 21:45:45 PDT