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

ID 683819
Date 10/02/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.4.6.11.5.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 15.  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 16.  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.