FPGA启动的时候触发和Vivado ILA Advanced Trigger的使用

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设置触发条件

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值