This issue has been observed in 2015.3, 2015.4, and 2015.4.1 builds of Vivado.

When you create and add a Custom AXI Peripheral, the xparameters.h file which defines the base and high address of the custom IP peripheral is incorrect in SDK.

For a Zynq project, it defines the address range as complete Zynq address space and not the one you have defined in the Vivado Address Editor.

For Example:

/******************************************************************/
/* Definitions for driver MYIP */
#define XPAR_MYIP_NUM_INSTANCES 1
/* Definitions for peripheral MYIP_0 */
#define XPAR_MYIP_0_DEVICE_ID 0
#define XPAR_MYIP_0_S00_AXI_BASEADDR 0xFFFFFFFF
#define XPAR_MYIP_0_S00_AXI_HIGHADDR 0x00000000
/******************************************************************/
However in 2015.2 this was not the case; the address was correctly defined as taken from the hardware handoff from vivado:
/******************************************************************/
/* Definitions for driver MYIP */
#define XPAR_MYIP_NUM_INSTANCES 1
/* Definitions for peripheral MYIP_0 */
#define XPAR_MYIP_0_DEVICE_ID 0
#define XPAR_MYIP_0_S00_AXI_BASEADDR 0x43C00000
#define XPAR_MYIP_0_S00_AXI_HIGHADDR 0x43C0FFFF
/******************************************************************/

解决方案

This is a known issue. The BASEADDR and HIGHADDR values of the Custom AXI Peripheral as defined in the Vivado Address Editor is not properly propagated to the xparameters.h file from the .hdf file.

It is planned to be fixed in 2016.1 release.

Work-arounds:

1. Make the changes manually in the main() file and add the BASEADDR and HIGHADDR values as required. This is required as changes to xparameters.h get overwritten if the BSP is re-built.

#define XPAR_MYIP_0_S00_AXI_BASEADDR 0x43C00000
#define XPAR_MYIP_0_S00_AXI_HIGHADDR 0x43C0FFFF

2. Create the custom IP in 2015.2/2015.1 Vivado builds and import it in the latest builds. In that case the Address values are also properly propagated to xparameters.h.

最新文章

  1. HTML5的postMessage使用记要////////////////////////////zzzzzzzz
  2. Android开发环境部署
  3. 以setTimeout来聊聊Event Loop
  4. PHP的学习记录
  5. HTML随笔2
  6. Spring ElasticsearchTemplate 经纬度按距离排序
  7. c/c++ 多线程 参数传递
  8. Python- 解决PIP下载安装速度慢
  9. odoo开发笔记 -- 传递上下文实现列表视图按照指定条件过滤显示
  10. web.config或App.config中AttachDBFilenamex相对路径问题
  11. 通过springboot 去创建和提交一个表单(七)
  12. 循环流程控制&方法(3)
  13. Spring Boot REST(一)核心接口
  14. 使用ngxtop实时监控nginx
  15. 不影响Inspector布局拓展类
  16. 【转】TCP建立连接三次握手和释放连接四次握手
  17. Android 集成支付宝第三方登录
  18. redis、Memcached、MongoDb使用心得
  19. 优步uber司机申请了为什么一直没有通过审核,帐号也显示未激活
  20. Qt 使用#define+qDebug()输出调试信息

热门文章

  1. VisualStudio 快捷键
  2. Ubuntu本地文件上传至HDFS文件系统出现的乱码问题及解决方案
  3. Tutorial 02_熟悉常用的HDFS操作
  4. Scrapy:配置日志
  5. Linux centos 推拉、共享、监控的设置的分享
  6. 【zabbix教程系列】五、邮件报警设置(脚本方式)
  7. 曝Wi-Fi重大缺陷:你浏览的或是个假网站
  8. postgresql数据库中~和like和ilike的区别
  9. 【dp】导弹拦截
  10. DFA确定有限状态自动机