Example of Using a Comparison Object and Pipelining in an Advanced Trigger Condition

You can use a Comparison object to create a trigger condition in which an input is compared against a user-specified value. For example, to create a trigger condition that compares two address buses or compares an address bus to the value you specify. You can use pipelining to remove a Comparison object from the critical path of a design by reducing register-to-register delay within the object. The Intel® Quartus® Prime software automatically adds latency to other objects in the advanced trigger condition to maintain a common latency between objects. Pipelining functions differently from the Data Delay parameter in Bus objects because pipelining does not introduce additional latency between objects.

In the following example, the advanced trigger condition uses an Equality object to determine whether the 32-bit value you specify matches the IR reg value. Runtime configuration is initially enabled for both the Equality object and the value you specify, allowing you to change the comparison type and data value without having to recompile the design. After finalizing the advanced trigger condition setup, you can disable runtime configuration to reduce logic cell usage within the design. If you find that the Comparison object is on the critical path of the design, you can enable pipelining for the Comparison object to decrease register-to-register delay within the object, removing it from the critical path. The advanced trigger condition is set to trigger when the IR register value equals the value 2A52h.

Equality Object Example