Example of Using Data Delay in an Advanced Trigger Condition
You can use the Data Delay parameter with Bus objects to create an advanced trigger condition in which inputs are delayed for a specific number of clock cycles. You can use the Data Delay parameter in an advanced trigger condition, for example, to ensure that two data inputs containing specific information are separated by a specific number of clock cycles.
Data Delay Parameter Example
In the following example, the advanced trigger condition uses a Data Delay parameter on a Bus object to delay by 12 clock cycles the value of
IR reg
before comparing it to the value 2cd3
. The advanced trigger condition triggers only when the value of IR reg
is
4d23
exactly 12 clock cycles after its value is 2cd3
.
- If you have not already done so, open one or more Advanced Trigger tabs.
- In the Advanced Trigger Condition Editor pane, right-click an empty space and then click Insert.
- Insert a Bus object in the Advanced Trigger Condition Editor pane.
- In the Object Properties dialog box, click the General tab.
- In the Object type list, click Bus.
- Click the Parameters tab.
- In the Existing parameter settings list, select Data Delay.
- Specify the number of clock cycles you want to delay the bus data in the Setting list.