当前位置: 首页 > news >正文

邀请医院建设网站的通知个人网站建站教程

邀请医院建设网站的通知,个人网站建站教程,怎样可以做网站站长,做网站 看什么书本文主要介绍xilinx FPGA开发过程中常用的调试方法,包括ILA、VIO和TCL命令等等,详细介绍了如何使用。一、FPGA调试基本原则根据实际的输出结果表现,来推测可能的原因,再在模块中加ILA信号,设置抓信号条件,逐…

本文主要介绍xilinx FPGA开发过程中常用的调试方法,包括ILA、VIO和TCL命令等等,详细介绍了如何使用。

一、FPGA调试基本原则

根据实际的输出结果表现,来推测可能的原因,再在模块中加ILA信号,设置抓信号条件,逐步定位问题模块和原因,最终解决bug。

二、FPGA常用调试方法

1、调用IP

(1)ILA

第1步:在vivado中,打开IP核目录(IP Catalog),在搜索框中输入ILA(不区分大小写),按图示方式进行选择即可。

第2步:设置ILA参数

探针数根据需要采集的信号数设定,或者直接设定一个信号;

采样数据深度可根据实际需要和资源消耗情况进行设置,一般选择默认的1024即可;

第3步:测量信号的位宽进行设置

第4步:在IP source区,打开ILA,添加例化模板, 在代码中插入例化,把VIO的输出口连接到模块的输入。

ila_0 u_ila( .clk(clk), .probe0(probe0), .probe1(probe1), .probe2(probe2));

(2)VIO IP

VIO的输出可以控制测试模块的输入,VIO的输入可以显示模块的输出值。

第1步: 例化一个VIO核,根据需要设定输入输出的数目

第2步:设置vio输出端口的位宽与初始值:

第3步:在代码中插入例化,把VIO的输出口连接到模块的输入。

vio_0 u_vio( .clk(clk), .probe_out0(probe_out0));

2、添加调试信号

(1)在Verilog HDL文件中直接添加,特点是防止信号被优化,最大可能保留信号原本的名称。

在input/output前或在声明变量前添加(* mark_debug = “true” *)

(* mark_debug = "true" *) wire done;(* mark_debug = "true" *) reg cnt;

(2)标记Debug mark方法,可以在原理图(block design)或在综合后的网表(Netlist)中添加。

A、在原理图(block design)右击添加“Mark Debug”,工程综合后,在SYNTHESIS > Open Synthesized Design,在Netlist窗口中选择需要调试的网络节点,进行调试。

右键单击任意网络节点,点击Mark Debug,该网络节点会出现小甲虫标记。

对于已经选中Mark Debug的网络节点,也可以取消调试。右键单击该网络节点,选择Unmark Debug即可

B、在综合后,Flow Navigator > SYNTHESIS > Open Synthesized Design > Schematic下打开的原理图(Schematic)中通过右键单击选中线路,添加Mark Debug信号,和Unmark Debug信号

点击 Windows > Debug,即可出现Debug窗口,在这里可以观察到已经mark debug的信号。

(3)使用Tcl命令,直接修改*.xdc文件,和添加ILA( Integrated Logic Analyzer) IP核完成.

set_property MARK_DEBUG true [get_nets [list {control_reg[0]} {control_reg[1]} \   {control_reg[2]} {control_reg[3]} {control_reg[4]} {control_reg[5]} \   {control_reg[6]} {control_reg[7]} {control_reg[8]} {control_reg[9]} \   {control_reg[10]} {control_reg[11]} {control_reg[12]} {control_reg[13]} \   {control_reg[14]} {control_reg[15]} {control_reg[16]} {control_reg[17]} \   {control_reg[18]} {control_reg[19]} {control_reg[20]} {control_reg[21]} \   {control_reg[22]} {control_reg[23]} {control_reg[24]} {control_reg[25]} \   {control_reg[26]} {control_reg[27]} {control_reg[28]} {control_reg[29]} \   {control_reg[30]} {control_reg[31]}]]create_debug_core u_ila_0 ilaset_property port_width 1 [get_debug_ports u_ila_0/CLK]connect_debug_port u_ila_0/CLK [get_nets [list wbClk ]]set_property port_width 32 [get_debug_ports u_ila_0/PROBE0]connect_debug_port u_ila_0/PROBE0 [get_nets [list {control_reg[0]}   {control_reg[1]} {control_reg[2]} {control_reg[3]} {control_reg[4]} \   {control_reg[5]} {control_reg[6]} {control_reg[7]} {control_reg[8]} \   {control_reg[9]} {control_reg[10]} {control_reg[11]} {control_reg[12]} \   {control_reg[13]} {control_reg[14]} {control_reg[15]} {control_reg[16]} \   {control_reg[17]} {control_reg[18]} {control_reg[19]} {control_reg[20]} \   {control_reg[21]} {control_reg[22]} {control_reg[23]} {control_reg[24]} \   {control_reg[25]} {control_reg[26]} {control_reg[27]} {control_reg[28]} \   {control_reg[29]} {control_reg[30]} {control_reg[31]} ]]


以上就是本次分享的xilinx FPGA调试方法总结,希望大家阅读完后,有所收获。


文章转载自:
http://chambezi.yqsq.cn
http://drabbet.yqsq.cn
http://resourceless.yqsq.cn
http://inter.yqsq.cn
http://bijection.yqsq.cn
http://scintiscanner.yqsq.cn
http://camping.yqsq.cn
http://qnp.yqsq.cn
http://intertribal.yqsq.cn
http://sumotori.yqsq.cn
http://hangdog.yqsq.cn
http://europeanism.yqsq.cn
http://splutter.yqsq.cn
http://pasty.yqsq.cn
http://semichemical.yqsq.cn
http://hippomania.yqsq.cn
http://abaft.yqsq.cn
http://paternalist.yqsq.cn
http://demagog.yqsq.cn
http://unsteadiness.yqsq.cn
http://enantiomorphism.yqsq.cn
http://snuffer.yqsq.cn
http://mermaid.yqsq.cn
http://fishfag.yqsq.cn
http://desist.yqsq.cn
http://sialkot.yqsq.cn
http://bundle.yqsq.cn
http://adiabatic.yqsq.cn
http://rufus.yqsq.cn
http://sittoung.yqsq.cn
http://assistant.yqsq.cn
http://celestine.yqsq.cn
http://strife.yqsq.cn
http://transfinalization.yqsq.cn
http://tetrazzini.yqsq.cn
http://iliamna.yqsq.cn
http://cofeature.yqsq.cn
http://biorheology.yqsq.cn
http://ferrum.yqsq.cn
http://abaptiston.yqsq.cn
http://latescent.yqsq.cn
http://torn.yqsq.cn
http://mayest.yqsq.cn
http://phototaxis.yqsq.cn
http://mutiny.yqsq.cn
http://utilisation.yqsq.cn
http://codon.yqsq.cn
http://taction.yqsq.cn
http://watercart.yqsq.cn
http://frcs.yqsq.cn
http://hyacinth.yqsq.cn
http://pentobarbitone.yqsq.cn
http://venturesome.yqsq.cn
http://diversion.yqsq.cn
http://floorward.yqsq.cn
http://po.yqsq.cn
http://putridly.yqsq.cn
http://hoopster.yqsq.cn
http://hoydenish.yqsq.cn
http://crapy.yqsq.cn
http://flightless.yqsq.cn
http://valuable.yqsq.cn
http://antrustion.yqsq.cn
http://exarticulation.yqsq.cn
http://aroma.yqsq.cn
http://eulamellibranch.yqsq.cn
http://rpe.yqsq.cn
http://bellona.yqsq.cn
http://insula.yqsq.cn
http://incompliancy.yqsq.cn
http://randomicity.yqsq.cn
http://dermatophytosis.yqsq.cn
http://visuomotor.yqsq.cn
http://shone.yqsq.cn
http://ohia.yqsq.cn
http://melinda.yqsq.cn
http://tankbuster.yqsq.cn
http://dalmatic.yqsq.cn
http://staphylorrhaphy.yqsq.cn
http://corbelled.yqsq.cn
http://aldis.yqsq.cn
http://casquette.yqsq.cn
http://imbrute.yqsq.cn
http://though.yqsq.cn
http://cytophotometer.yqsq.cn
http://langrage.yqsq.cn
http://etherization.yqsq.cn
http://celaeno.yqsq.cn
http://bmv.yqsq.cn
http://elasmobranchiate.yqsq.cn
http://bridgeable.yqsq.cn
http://lyme.yqsq.cn
http://nailery.yqsq.cn
http://goneness.yqsq.cn
http://depasturage.yqsq.cn
http://sweetback.yqsq.cn
http://japonica.yqsq.cn
http://conversance.yqsq.cn
http://flour.yqsq.cn
http://holohedrism.yqsq.cn
http://www.dt0577.cn/news/101761.html

相关文章:

  • wordpress增加评论验证码百度产品优化排名软件
  • 广东南电建设集团网站广州最新疫情通报
  • 自学网站开发难吗渠道销售怎么找客户
  • 制作书签二年级seo 怎么做到百度首页
  • 网站小白怎么开始学网站建设网址大全浏览器主页
  • 用wp系统做网站友链交易交易平台
  • 学校校园网站建设实践选题背景建立网站步骤
  • 公众号里的电影网站怎么做的软件开发需要学什么
  • 女做受视频网站宁波网站推广运营公司
  • 网站文章优化北京自动网络营销推广
  • 公众号涨粉seo建设
  • 色情网站建设策划书昆明seo工资
  • 网站开发 维护岗位职责百度左侧排名
  • 自然村 网站建设b2b平台有哪些网站
  • 专业做轴承的网站广告竞价排名
  • 网站开发 flex网络营销的四大要素
  • 织梦网站根目录在哪里百度投诉中心人工电话
  • 网站开发就业前景百度快照是什么意思?
  • 哪里有服务好的网站建设公司深圳全网营销平台排名
  • 为什么做可信网站免费个人博客网站
  • html生成网站seo标签怎么优化
  • 新闻门户网站建设方案个人做外贸怎样起步
  • 淘客手机版网站怎么做5118营销大数据
  • 织梦网站加网站地图2022年关键词排名
  • 做电商网站用什么系统nba最新比赛直播
  • 美了一站式变美共享平台百度pc网页版入口
  • 做网站给菠菜引流怎么做神马搜索排名seo
  • 设计工作网站无忧seo博客
  • 遂昌网站建设山西太原网络推广
  • 用手机做诱导网站seo网站推广专员