vivado学习实验6笔记

来源:互联网 发布:nba常规赛球队数据 编辑:程序博客网 时间:2024/05/16 01:40

1、实验内容:Hardware Debugging硬件调试

2、You will use Mark Debug feature and also the available Integrated Logic Analyzer (ILA) core (in IP Catalog) to debug the hardware. 使用Mark Debug 和 ILA来调试硬件

3、仍然使用前面使用的uart_led,流程如下:

4、Step 1: Create a Vivado Project using IDE创建一个工程

5、Step 2: Add the ILA Core添加一个ILA核(intetrated logic analyzer 集成的逻辑分析仪,是不是一个IP核?)

Expand the Debug & Verification > Debugfolders and double-click the ILA entry.在IP Catalog中扩展这个Debug&Verification选中ILA(前面用过一个FPGA Features and Design设计IP核产生两个时钟信号,而这个IP核用来做调试工具)

产生了一个.xci文件自动放在了design sources

6、Step 3: Synthesize the Design and Mark Debug合成设计并且标志调试?

合成完成后,Click on Schematic under the Synthesized Design进入结构图Schematic查看

Select the rx_data bus between the uart_rx_i0 and the led_ctl_i0instances, right-click, and select Mark Debug选择rx_data线右击后选择Mark Debug,则为这条线标志好调试符号

Select the Debug layout or Layout > Debug调试

Select the Set up Debug…option选择Set up Debug:启动向导去选择信号走线和连接它们到调试内核

Notice that the Debug tab is updated showing two debug cores and zero unassigned nets.Set up Debug之后产生两个调试内核和零条未分配的线

7、Step 4: Implement and Generate Bitstream 

8、Step 5: Debug in Hardware

PmodUSBUart module购买中。。。


0 0