如何使用xilinx pcie的源代码

采用AVNET公司的Xilinx Virtex-5 XC5VSX50T-FF1136 FPGA或者Xilinx Virtex-5 
XC5VSX95T-FF1136的板子。采用ISE11.3环境。
步骤:
一,建立一个ISE工程:
BMDforPCIE工程的建立方法:
bmd_sx50t文件夹包含BMD Desin for the Endpoint PCIE的全部源文件,但还未构成一
个工程。其中bmd_design文件夹里的源代码主要分布在三个文件夹中:
dma_performance_demo和example_design和source。

dma_performance_demo是dma例子的源代码。该文件夹是从xilinx公司的xapp1052应用

例中得到的。
example_design是PIO例子的源代码。
source是PCIE核的源代码。(PCIE Endpoint v1.12不再包含NGC文件,只有源代码)
在建立一个新的工程来实现BMD for PCIE时,要用到的源文件包括source里的所有文件
、dma_performance_demo里BMD文件夹下的部分文件,和common文件夹中的所有文件、以
及example_design中的xilinx_pci_exp_ep.v文件和.ucf文件。将这些文件加入工程后,
必须设置工程中某些包含'define的文件被所有文件包含,设置方法如下:Right-click 
the macro define file, and choose Source Properties. And then check "Include 
as Global file in Compile List".
xilliix pcie dma 驱动 (基于 xilnx xdma ip核 4.0 的WDF驱动) --- # XDMA Windows Driver This project is Xilinx's sample Windows driver for 'DMA/Bridge Subsystem for PCI Express v4.0' (XDMA) IP. *Please note that this driver and associated software are supplied to give a basic generic reference implementation only. Customers may have specific use-cases and/or requirements for which this driver is not suitable.* ### Dependencies * Target machine running Windows 7 or Windows 10 * Development machine running Windows 7 (or later) * Visual Studio 2015 (or later) installed on development machine * Windows Driver Kit (WDK) version 1703 (or later) installed on development machine ## Directory Structure ``` / |__ build/ - Generated directory containing build output binaries. |__ exe/ - Contains sample client application source code. | |__ simple_dma/ - Sample code for AXI-MM configured XDMA IP. | |__ streaming_dma/ - Sample code for AXI-ST configured XDMA IP. | |__ user_events/ - Sample code for access to user event interrupts. | |__ xdma_info/ - Utility application which prints out the XDMA core ip | | configuration. | |__ xdma_rw/ - Utility for reading/writing to/from xdma device nodes such | | as control, user, bypass, h2c_0, c2h_0 etc. | |__ xdma_test/ - Basic test application which performs H2C/C2H transfers on | all present channels. |__ inc/ - Contains public API header file for XDMA driver. |__ libxdma/ - Static kernel library for XDMA IP. |__ sys/ - Reference driver source code which uses libxdma |__ README.md - This file. |__ XDMA.sln - Visual Studio Solution. ```
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值