Quartus® Prime Pro Edition User Guide: Debug Tools

ID 683819
Date 7/08/2024
Public
Document Table of Contents

2.4.6.11.5.4. Trigger that Skips Clock Cycles after Hitting Condition

Trigger flow description that skips three clock cycles of samples after hitting condition 1

Code:

State 1: ST1
	start_store
	if ( condition1 )
	begin
	   stop_store;
	   goto ST2;
	end
State 2: ST2
	if (c1 < 3)
	   increment c1; //skip three clock cycles; c1 initialized to 0
	else if (c1 == 3)
	begin
	   start_store;//start_store necessary to enable writing to finish
					 //acquisition
   	trigger;
	end

The figures show the data transaction on a continuous capture and the data capture when you apply the Trigger flow description.

Figure 56. Continuous Capture of Data Transaction
Figure 57. Capture of Data Transaction with Trigger Flow Description Applied