Intel® Quartus® Prime Standard Edition User Guide: Debug Tools

ID 683552
Date 9/24/2018
Public
Document Table of Contents

5.4.5.3.2. <boolean_expression>

Collection of operators and operands that evaluate into a Boolean result. The operators can be logical or relational. Depending on the operator, the operand can reference a trigger condition, a counter and a register, or a numeric value. To group a set of operands within an expression, you use parentheses.

Table 60.  Logical OperatorsLogical operators accept any boolean expression as an operand.
Operator Description Syntax
! NOT operator ! expr1
&& AND operator expr1 && expr2
|| OR operator expr1 || expr2
Table 61.  Relational OperatorsYou use relational operators on counters or status flags.
Operator Description Syntax
> Greater than
<identifier> > <numerical_value>
>= Greater than or Equal to
<identifier> >= <numerical_value>
== Equals
<identifier> == <numerical_value>
!= Does not equal
<identifier> != <numerical_value>
<= Less than or equal to
<identifier> <= <numerical_value>
< Less than
<identifier> < <numerical_value>
Notes to table:
  1. <identifier> indicates a counter or status flag.
  2. <numerical_value> indicates an integer.
Note:
  • The <boolean_expression> in an if statement can contain a single event or multiple event conditions.
  • When the boolean expression evaluates TRUE, the logic analyzer evaluates all the commands in the <action_list> concurrently.