資料介紹
本文轉(zhuǎn)載自:ZYNQ微信公眾號(hào)
ILA 簡介
集成邏輯分析儀 (Integrated Logic Analyzer :ILA) 功能允許用戶在 FPGA 設(shè)備上執(zhí)行系統(tǒng)內(nèi)調(diào)試后實(shí)現(xiàn)的設(shè)計(jì)。當(dāng)設(shè)計(jì)中需要監(jiān)視信號(hào)時(shí),應(yīng)使用此功能。用戶還可以使用此功能在硬件事件和以系統(tǒng)速度捕獲數(shù)據(jù)時(shí)觸發(fā)。
添加 ILA
1.使用 IP 添加
添加IP
例化IP,并將所需要的信號(hào)放入 Probe 里面
2.圖形界面添加
給待測試的信號(hào)加上約束,防止被優(yōu)化
在綜合選項(xiàng)下點(diǎn)擊set up debug,選擇需要查看的信號(hào)即可
ILA 數(shù)據(jù)和波形的關(guān)系
1. hw_ila表示的是ila核
2. hw_ila_data表示保存在存儲(chǔ)器中的ila文件
3. WCFG是波形配置(信號(hào)顏色,總線進(jìn)制表示,信號(hào)順序,marker等)
4. WDB是波形數(shù)據(jù)庫(波形數(shù)據(jù))
ILA 失敗情景
情景1:沒有波形窗口
現(xiàn)象如下:
WARNING: [Labtools 27-3123] The debug hub core was not detected at User Scan Chain 1 or 3.
Resolution:
1. Make sure the clock connected to the debug hub (dbg_hub) core is a free running clock and is active OR
2. Manually launch hw_server with -e "set xsdb-user-bscan
WARNING: [Labtools 27-1974] Mismatch between the design programmed into the device xc7z010_1 and the probes file E:/Xilinx/example/dma_sg_m/dma_sg_m.runs/impl_1/debug_nets.ltx.
The device design has 0 ILA core(s) and 0 VIO core(s). The probes file has 1 ILA core(s) and 0 VIO core(s).
Resolution:
1. Reprogram device with the correct programming file and associated probes file OR
2. Goto device properties and associate the correct probes file with the programming file already programmed in the device.
解決方法:查看 ILA 的時(shí)鐘,如果不是自由時(shí)鐘會(huì)出現(xiàn)這種問題,然后重啟VIVADO軟件,重新打開
情景2:有波形窗口沒有波形
現(xiàn)象如下:
使用示波器查看ILA信號(hào)發(fā)現(xiàn)時(shí)鐘頻率發(fā)現(xiàn)是10M
分析:查看 Xilinx 手冊(cè)發(fā)現(xiàn)JATG的時(shí)鐘頻率要比被ILA的時(shí)鐘頻率2.5倍低
解決方法1:修改 Hardware Target 的 JTAG 時(shí)鐘頻率
解決方法2:在TCL里面添加約束
上電后查看 ILA 信號(hào)
使用場景:flash偶爾在上電后讀出來后出錯(cuò),可以使用該方法。
一般情況下都是讓要抓的事件延遲發(fā)生或者循環(huán)發(fā)生,方便調(diào)試。
如果實(shí)在要抓啟動(dòng)時(shí)的事件,按下面的步驟:(下面流程是ILA核在綜合階段不能浮空)
先把有ILA核的bit文件下進(jìn)去,設(shè)置觸發(fā)好條件
運(yùn)行下面的Tcl命令把觸發(fā)寄存器的值保存在tas文件中
%run_hw_ila -file ila_trig.tas [get_hw_ilas hw_ila_1]
打開實(shí)現(xiàn)后的implement工程
運(yùn)行下面的Tcl命令把觸發(fā)設(shè)置加到當(dāng)前內(nèi)存里已經(jīng)布線的implement設(shè)計(jì)上去
%apply_hw_ila_trigger ila_trig.tas
注意:如果發(fā)生錯(cuò)誤的話說明ILA核在綜合過程中被flattened了,這時(shí)需要設(shè)置保留hierarchy重新綜合實(shí)現(xiàn)。
直接用Tcl命令生成bit文件,不能點(diǎn)擊生成bit命令,這樣工程會(huì)認(rèn)為implement發(fā)生了改動(dòng)而全部重新布線。
write_bitstream trig_at_startup.bit
參考鏈接
chrome-extension://ibllepbpahcoppkjjllbabhnigcbffpi/https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug9...
chrome-extension://ibllepbpahcoppkjjllbabhnigcbffpi/https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug9...
- 電氣信息工程叢書之Linux PowerPC詳解-核心篇 0次下載
- 開關(guān)電源噪聲之EMC電子版資源下載 0次下載
- Linux虛擬機(jī)之tcpdump命令操作詳解 23次下載
- 什么是Vivado?資料下載
- BLE實(shí)驗(yàn)詳解之藍(lán)牙溫度計(jì)設(shè)計(jì)方案 25次下載
- BLE實(shí)驗(yàn)詳解之藍(lán)牙血壓計(jì)設(shè)計(jì)方案 36次下載
- BLE實(shí)驗(yàn)詳解之藍(lán)牙鍵盤設(shè)計(jì)方案 58次下載
- Vivado設(shè)計(jì)流程指導(dǎo)手冊(cè) 50次下載
- 《Python開發(fā)技術(shù)詳解》-隨書附帶程序 0次下載
- Xilinx Vivado SDK 2017.2 0616 1 Win64軟件免費(fèi)下載 320次下載
- VxWorks設(shè)備驅(qū)動(dòng)之字符設(shè)備驅(qū)動(dòng)詳解 7次下載
- 基于MSP430功能模塊詳解系列之——TimerA 2次下載
- 基于MSP430功能模塊詳解系列之——ADC12 4次下載
- 邏輯漏洞之越權(quán)詳解 5次下載
- Vivado使用誤區(qū)與進(jìn)階 84次下載
- 使用Python提取ILA數(shù)據(jù)的流程 468次閱讀
- 如何在下載Bitstream后自動(dòng)觸發(fā)ILA采集 706次閱讀
- 如何實(shí)現(xiàn)ILA Cross Trigger 1060次閱讀
- 如何升級(jí)Vivado工程腳本 1709次閱讀
- 詳解Vivado時(shí)鐘的基礎(chǔ)知識(shí) 8837次閱讀
- 關(guān)于Vivado中三種操作Debug的方式 1w次閱讀
- 關(guān)于Vivado 2019.1的Dashboard功能詳解 8118次閱讀
- xilinx Vivado工具使用技巧 3934次閱讀
- FPGA開發(fā)要懂得使用硬件分析儀調(diào)試——ILA 6738次閱讀
- Xilinx Vivado硬件診斷和校驗(yàn) 2151次閱讀
- Vivado中的Incremental Compile增量編譯技術(shù)詳解 1w次閱讀
- Vivado 2017.1和Vivado 2016.4性能對(duì)比分析 9977次閱讀
- Vivado中新建工程或把IP搭建成原理圖詳解 1.2w次閱讀
- Vivado之TCL腳本語言基本語法介紹 9615次閱讀
- xilinx vivado zynq pldma PL部分ILA調(diào)試 7191次閱讀
下載排行
本周
- 1電子電路原理第七版PDF電子教材免費(fèi)下載
- 0.00 MB | 1491次下載 | 免費(fèi)
- 2單片機(jī)典型實(shí)例介紹
- 18.19 MB | 95次下載 | 1 積分
- 3S7-200PLC編程實(shí)例詳細(xì)資料
- 1.17 MB | 27次下載 | 1 積分
- 4筆記本電腦主板的元件識(shí)別和講解說明
- 4.28 MB | 18次下載 | 4 積分
- 5開關(guān)電源原理及各功能電路詳解
- 0.38 MB | 11次下載 | 免費(fèi)
- 6100W短波放大電路圖
- 0.05 MB | 4次下載 | 3 積分
- 7基于單片機(jī)和 SG3525的程控開關(guān)電源設(shè)計(jì)
- 0.23 MB | 4次下載 | 免費(fèi)
- 8基于AT89C2051/4051單片機(jī)編程器的實(shí)驗(yàn)
- 0.11 MB | 4次下載 | 免費(fèi)
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費(fèi)
- 2PADS 9.0 2009最新版 -下載
- 0.00 MB | 66304次下載 | 免費(fèi)
- 3protel99下載protel99軟件下載(中文版)
- 0.00 MB | 51209次下載 | 免費(fèi)
- 4LabView 8.0 專業(yè)版下載 (3CD完整版)
- 0.00 MB | 51043次下載 | 免費(fèi)
- 5555集成電路應(yīng)用800例(新編版)
- 0.00 MB | 33562次下載 | 免費(fèi)
- 6接口電路圖大全
- 未知 | 30320次下載 | 免費(fèi)
- 7Multisim 10下載Multisim 10 中文版
- 0.00 MB | 28588次下載 | 免費(fèi)
- 8開關(guān)電源設(shè)計(jì)實(shí)例指南
- 未知 | 21539次下載 | 免費(fèi)
總榜
- 1matlab軟件下載入口
- 未知 | 935053次下載 | 免費(fèi)
- 2protel99se軟件下載(可英文版轉(zhuǎn)中文版)
- 78.1 MB | 537793次下載 | 免費(fèi)
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420026次下載 | 免費(fèi)
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費(fèi)
- 5Altium DXP2002下載入口
- 未知 | 233046次下載 | 免費(fèi)
- 6電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191183次下載 | 免費(fèi)
- 7十天學(xué)會(huì)AVR單片機(jī)與C語言視頻教程 下載
- 158M | 183277次下載 | 免費(fèi)
- 8proe5.0野火版下載(中文版免費(fèi)下載)
- 未知 | 138039次下載 | 免費(fèi)
評(píng)論
查看更多