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. [转载]使用IEDriverServer.exe驱动IE11,实现自动化测试

    转自:https://www.cnblogs.com/feiquan/p/8531618.html 下载地址: http://dl.pconline.com.cn/download/771640-1. ...

  2. robot framework---校验新增条数功能

    check总条数验证 [Arguments] ${beforevalue} ${endvalue} ${value} ${a} Evaluate '${beforevalue}'.replace('共 ...

  3. DataTable转实体类

    /// <summary> /// DataTable与实体类互相转换 /// </summary> /// <typeparam name="T"& ...

  4. tail -f 报错 file truncated

    操作: 循环覆盖向tmp 文件写入坐标 tmp: -45.6976089525,-26.1528715421,-0.0188627654187 报错如下: -15.2517398838,-5.1216 ...

  5. pycharm运行Django项目,提示UnicodeDecodeError: 'gbk' codec can't decode byte 0xa6

    确认pycharm编码都是utf-8的情况下,需要修改项目中settings.py 'DIRS': [ ],默认是空,将路径加入即可解决. TEMPLATES = [ { 'BACKEND': 'dj ...

  6. java.lang.ClassNotFoundException: org.apache.log4j.Logger 异常

    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'd ...

  7. 微信小程序分包跳转主包页面

    由于公司项目比较多,我们事业部的微信小程序就在一个分包里.那分包页面要回到主包的首页,该怎么跳转呢,有以下两种方法 wx.switchTab(Object object) 跳转到 tabBar 页面, ...

  8. AndroidStudio中导入jar包的方法

    1.首先去下载需要的jar包 2.将jar包复制到project下的app->libs目录下(如果不存在libs目录新建一个) 3.右击该jar包,选择add as library,弹出窗口,点 ...

  9. es6语法在ios低版本的支持性

    let.const.箭头函数在ios的某些版本不支持,会引起报错 参考:https://blog.csdn.net/cx091/article/details/79805369 https://can ...

  10. JavaJ2EE相关知识整理

    1.Servlet的生命周期     在Web容器中,Servlet主要经历4个阶段      ①.加载Servlet:当Tomcat第一次访问Servlet的时候,Tomcat会负责创建Servle ...