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

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

5.4.5.1.2. 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 70. Continuous Capture of Data Transaction
Figure 71. Capture of Data Transaction with Trigger Flow Description Applied