UPGRADE YOUR BROWSER
We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!
A problem occurs if a simple IP is created with an AXI interface with register access and soft reset, and if the "create a sample driver" box is ticked in the CIP wizard.
If this project is exported to SDK with the driver included in the repository, or using the example code provided in the driver, the SDK will fail in libgen noting that the xio.h or the xbasic_types.h cannot be found, or that the <IP_NAME>_USER_NUM_REG cannot be defined.
How can I fix this?
This is a known issue.
To fix the issue, open the driver source files created in the CIP wizard seen below;
<IP_NAME>.h
Change the following:
#include "xio.h"
#include "xbasic_types.h"
#include "xil_io.h"
#include "xil_types.h"
<IP_NAME>selftest.c
Change the following:
#include "xio.h"
to:#include "xil_io.h"
#include "xil_types.h"
and add:
#define <IP_NAME>_USER_TEST_NAME <IP_NAME>_AXI_LITE_USER_NUM_REG
AR# 54352 | |
---|---|
日期 | 10/14/2014 |
状态 | Active |
Type | 综合文章 |
器件 |
|
Tools |
|