reference:

https://www.cnblogs.com/pejoicen/p/d8b3c4f3aa29b8de7963893d4b99d361.html

Vivado2015.4下,ila进行debug时,波形通过图形化界面并不能保存抓取到波形,保存按钮只是保存波形配置,如果需要保存波形需要通过TCL命令来实现
write_hw_ila_data    path/my_ila_name_0     [upload_hw_ila_data hw_ila_1]
write_hw_ila_data    path/my_ila_name_1     [upload_hw_ila_data hw_ila_2]
my_ila_name为保存的文件名,需要带路径,hw_ila_1为需要保持的ILA的名字,[]中为对应的ILA核。
 不过vivado2015.4默认的保存格式都是二进制;
 
通过添加:
-csv_file
-force my_waveform.zip
可以选择保存格式
 

Usage:
Name Description
----------------------------
[-force] Overwrite existing file
[-csv_file] Export CSV format file only
[-vcd_file] Export VCD format file only
[-quiet] Ignore command errors
[-verbose] Suspend message limits during command execution
<file> hardware ILA data file name
[<hw_ila_data>] hardware ILA data object
Default: Current hardware ILA data Categories:
Hardware Description: Write the ILA debug core sample data, stored in the specified hw_ila_data
object, to a binary file on the disk. A hw_ila_data object is created when the hw_ila is triggered on the
hw_device, or by the upload_hw_ila_data command when moving the captured
data from the physical FPGA device, hw_device. The write_hw_ila_data lets you write the data of the hw_ila_data object to
a binary file on the disk for later review. You can read the ILA debug core
data back into the Vivado logic analyzer using the read_hw_ila_data
command, which creates a new hw_ila_data object. This command returns the name of the file written, or returns an error if
it fails. Arguments: -force - (Optional) Overwrite an existing file of the same name if one
exists. -csv_file - (Optional) Export a comma-separated values (CSV) file only.
This configures the write_hw_ila_data command to export the ILA data in the
form of a CSV file that can be used to import into a spreadsheet or
third-party application, rather than the default binary ILA file format. -vcd_file - (Optional) Export a value change dump (VCD) file only. This
configures the write_hw_ila_data command to export the ILA data in the form
of a VCD file that can be used to import into a third-party application or
viewer, rather than the default binary ILA file format. -quiet - (Optional) Execute the command quietly, returning no messages from
the command. The command also returns TCL_OK regardless of any errors
encountered during execution. Note: Any errors encountered on the command-line, while launching the
command, will be returned. Only errors occurring inside the command will be
trapped. -verbose - (Optional) Temporarily override any message limits and return
all messages from this command. Note: Message limits can be defined with the set_msg_config command. <file> - (Required) The filename of the ILA data file to write. The default
file extension for an ILA data file is .ila. The default file extension for
-csv_file is .csv, and for -vcd_file is .vcd. Note: If the path is not specified as part of the file name, the file will
be written into the current working directory, or the directory from which
the tool was launched. <hw_ila_data> - (Optional) The hardware ILA data to write to the specified
file. The hw_ila_data must be specified as an object, as returned by the
get_hw_ila_datas or the current_hw_ila_data commands. If no hw_ila_data
object is specified, the current hw_ila_data is written to the specified
file. Example: The following example uploads the data from the hw_ila debug core into a
hw_ila_data object, and then writes that data object to the specified ILA
data file, overwriting an existing file if one exists: write_hw_ila_data -force design1_ila_data [upload_hw_ila_data hw_ila_1] This example triggers the hw_ila, then writes the captured hw_ila_data to a
CSV file: run_hw_ila hw_ila_1
write_hw_ila_data -csv_file C:/Data/design1_ila_data [current_hw_ila_data]

  

vivado2015.4保存ila波形数据的更多相关文章

  1. vivado保存debug波形

    vivado保存debug波形   Vivado下debug后的波形通过图形化界面并不能保存抓取到波形,保存按钮只是保存波形配置,如果需要保存波形需要通过TCL命令来实现: write_hw_ila_ ...

  2. [MISS静IOS开发原创文摘]-AppDelegate存储全局变量和 NSUserDefaults standardUserDefaults 通过模型保存和读取数据,存储自定义的对象

    由于app开发的需求,需要从api接口获得json格式数据并保存临时的 app的主题颜色 和 相关url 方案有很多种: 1, 通过AppDelegate保存为全局变量,再获取 2,使用NSUSerD ...

  3. php实现input输入框失去焦点自动保存输入框的数据

    最近做一个输入框失去焦点时自动保存数据的功能,当然就是jQuery选择器选择input,blur时,ajax提交数据给php文件,php文件保存一下数据咯.主要是要注意一下中文的问题,所以中间需要转一 ...

  4. 【转】基本数据持久性(一) 使用plist保存和读取数据

    原文网址:http://www.it165.net/pro/html/201309/7170.html 想保存成绩.记录得分.保存账号密码等等?数据持久性可以做到这一点!这篇文章通过简单的程序,来分享 ...

  5. [android]-如何在向服务器发送request时附加已保存的cookie数据

    [android]-如何在向服务器发送request时附加已保存的cookie数据 应用场景:在开发android基于手机端+服务器端的应用时,登陆->获取用户信息->获取授权用户相关业务 ...

  6. TensorFlow从1到2(四)时尚单品识别和保存、恢复训练数据

    Fashion Mnist --- 一个图片识别的延伸案例 在TensorFlow官方新的教程中,第一个例子使用了由MNIST延伸而来的新程序. 这个程序使用一组时尚单品的图片对模型进行训练,比如T恤 ...

  7. 基于Html5 Plus + Vue + Mui 移动App开发(三)-文件操作(读取、保存、更新数据)

      随着手机的发展,现在越来越多的人选择在手机上看书.无论是专业书籍.文学.英语还是网络小说,在手机上看新闻成了人们处理零碎时间的办法.在智能手机里安装一个资讯APP,可以随时.随地查看自己想看的资讯 ...

  8. @1-5使用pandas保存豆瓣短评数据

    使用pandas保存豆瓣短评数据 Python爬虫(入门+进阶)     DC学院 本节课程的内容是介绍open函数和pandas两种保存已爬取的数据的方法,并通过实际例子使用pandas保存数据. ...

  9. jqgrid 选中行触发编辑,切换下一行时验证和异步保存上一行数据

    有时,我们需要批量修改或填写一些相似的数据.可以以jqgrid表来显示,可能的效果如下: 选中触发行编辑参考:jqgrid 单击行启用行编辑,切换行保存原编辑行 本文主要说说验证和异步保存上一条数据的 ...

随机推荐

  1. DP一下,马上出发

    简单DP i.May I ask you for a dance(体舞课软广植入) 这题的状态转移方程为:dp[i][j]=max(dp[i-1][j-1]+a[i][j],dp[i][j-1]);( ...

  2. USACO比赛题泛刷

    随时可能弃坑. 因为不知道最近要刷啥所以就决定刷下usaco. 优先级排在学习新算法和打比赛之后. 仅有一句话题解.难一点的可能有代码. 优先级是Gold>Silver.Platinum刷不动. ...

  3. unittest同时支持参数化和生成html报告

    最近在用python3.6+unittest+requests做自动化接口测试.发现一个问题,unittest中使用第3方插件parameterized进行参数化,再生成html报告时,运行就会失败. ...

  4. Tomcat性能优化(转载)

    出处:微信订阅号GitChat精品课程 — Tomcat性能优化 Tomcat 简单介绍 Sun 公司创建了第一个 Servlet 容器,即 Java Web Server,但 JWS 只是为了演示 ...

  5. DAY18 常用模块(二)

    一.随机数:RANDOM 1.(0,1)小数:random.random() 2.[1,10]整数:random.randint(1,10) 3.[1,10)整数:random.randrang(1, ...

  6. 在阿里云开源镜像站中下载centOS7

    镜像的选择 第一步.下载镜像 阿里云开源镜像站:http://mirrors.aliyun.com/ 选择centos进入 如下图: 如下图:选择centos7 再选择isos(镜像目录) 继续下一步 ...

  7. GT sport赛道详解 - 富士国际赛车场

    练了3-4个小时,最好的成绩只有2'09多,这5秒真的很难跨越,很是绝望,感觉碰到瓶颈了. 看了几个视频,发现大家的走线有些差异,但是切apx的极速都是一样的,所以在复合弯道,走线其实不止一种. 分析 ...

  8. 素数问题(JAVA)

    http://wenda.haosou.com/q/1371348579062596 http://blog.csdn.net/liukehua123/article/details/5482854

  9. 异常:Error resolving template "xxx", template might not exist or might not be accessible...解决办法

    在开发环境下正常,但使用jar运行时,报错Error resolving template template might not exist or might not be accessible,意思 ...

  10. 【转】解决Android 6.0 NoSuchContextException 和WEBVIEW_undefined 的问题

    在 Android 4.4 操作系统上测试混合应用时,可以直接顺利的在native模式和webview模式之间切换,但是在Android6.0 操作系统上却报NoSuchContextExceptio ...