FPGA启动的时候触发
设置好触发条件:rst_n_1d上升沿触发
获取触发条件设置文件
run_hw_ila -file ila_trig.tas [get_hw_ilas hw_ila_1] -force
打开实现后的implement工程
运行下面的Tcl命令把触发设置加到当前内存里已经布线的implement设计上去
apply_hw_ila_trigger ila_trig.tas
生成bit文件
不能点击generate bitstream,只能用write_bitstream trig_at_startup.bit -force,你要不信可以试试,哈哈
加载bit文件后,点击stop就能看到波形。
上电触发成功结束。
高级触发
触发状态跳转描述
#分为4步:
#step1: probe_out0_1d=4
#step2: probe_out0_1d=0
#step3: probe_out1_1d=2
#step4: probe_out1_1d=0
state step1:
if(probe_out0_1d==4'h4) then
goto step2;
else
goto step1;
endif
state step2:
if(probe_out0_1d==4'h0)then
goto step3;
else
goto step2;
endif
state step3:
if(probe_out1_1d==4'h2)then
goto step4;
else
goto step3;
endif
state step4:
if(probe_out1_1d==4'h0)then
trigger;
else
goto step4;
endif
触发成功
vivado 如何在程序启动的时候触发 ILA_kuangxin_0的博客-CSDN博客_vivado中ila核持续触发
Vivado ILA Advanced Trigger的使用_zhup062787的博客-CSDN博客_ila设置触发条件