Intel® Quartus® Prime Standard Edition用户指南: 调试工具

ID 683552
日期 9/24/2018
Public
文档目录

5.4.5.1.2. 达到条件后跳过时钟周期的触发

在达到条件1后,跳过三个采样时钟周期的触发流程描述

代码:

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

这些图显示了连续采集中的数据传输以及应用触发流程描述时的数据捕获。

图 70. 数据传输的连续采集
图 71. 应用触发流程描述的数据传输的采集