Planahead调用chipscope

网上查找了许多资料,几乎没一个说明白的,后来找到的是官网的英文文档,参考了一下最终实现了Planahead调用Chipscope,官网文档:PlanAhead_Tutorial_Debugging_w_ChipScope;下载地址:https://www.xilinx.com/support/documentation/sw_manuals/xilinx14_7/PlanAhead_Tutorial_Debugging_w_ChipScope.pdf
主要步骤如下:
1、先将Planahead的工程建好,将ucf文件添加好
2、向项目中添加调试网络
2.1、在左边Synthesis 选项, 点击Open Synthesized Design.
2.2、点击 Netlist tab in the Synthesis pane
2.3、展开net
2.4、右键点击选中连线 选择 Mark Debug. If a confirmation dialog box opens, click OK to close it.
在这里插入图片描述选中ChipScope选项卡后,可以看到刚刚选择的未分配网络
在这里插入图片描述

3、运行设置ChipScope向导
	3.1.     选中ChipScope选项卡后,选择所有未分配的调试网络,右键单击它们,然后选择set up ChipScope。打开set up chipscope。
	3.2、 在向导中单击以创建ChipScope Analyzer调试内核,保留默认设置

4、完成后生成bit文件并下载到FPGA中
4.1、open the Implement folder, and click on
Run Implementation.
4.2、In the Save Project pop-up menu, select Save;When the implementation process ends, an Implementation Completed dialog box opens. Click Cancel.
Note: Implementation could take a few minutes
4.3、Select the Generate Bitstream option and click OK.
4.4、In the Generate Bitstream dialog box, click OK to start generating the bitstream. A Bitstream Generation Completed pop-up appears to let you know the process is finished. Click OK.If another pop-up appears saying Do you want to close ‘Synthesized Design’ before opening ‘Implemented Design’ click OK
5、使用ChipScope工具调试硬件
5.1、将JTAG和FPGA板通电接好
5.2、选择Launch chipscope analyzer
在这里插入图片描述
5.3、In ChipScope Pro Analyzer, configure the JTAG Chain to the Platform USB JTAG cable and communication parameters:
a. Select JTAG Chain > USB Platform Cable.
b. The USB Platform JTAG Cable Parameters dialog box opens. Verify that the speed is set to 3 MHz and Device is connected to JTAGSmt/SN:xxxxxxxxxxxx.
在这里插入图片描述
4、在ChipScope Pro Analyzer对话框中,单击OK
5、
在这里插入图片描述
6、在ChipScope Pro Analyzer的左上窗格中,右键单击“项目:Project:csdefaultproj”下列出的JTAG链设备,然后选择“Configure”。通过此对话框添加bit和cdc文件
在这里插入图片描述
7. With the item DEV:0 MyDevice0 (XC6SLX16) expanded, as shown in Figure 9, doubleclick Trigger Setup. The Trigger Setup display appears in the upper right pane
8. Double-click Waveform to add the Waveform display to the upper right pane.
9. In the tool bar menu, click T! to trigger immediately and capture data.
在这里插入图片描述
以上可以实现了,中间有些英文你们能看懂的对吧 ,haha~~

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

山无忧

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值