没有合适的资源?快使用搜索试试~ 我知道了~
pg195-pcie-dma.pdf
1星 需积分: 50 42 下载量 109 浏览量
2020-04-21
20:22:04
上传
评论
收藏 1.25MB PDF 举报
温馨提示
试读
83页
xilinx xdma pdf 本手册主要讲解了赛临时的pcie+dma事例。比较清晰的讲解了IP的生成应用及基本原理。
资源推荐
资源详情
资源评论
DMA Subsystem for
PCI Express v2.0
Product Guide
Vivado Design Suite
PG195 June 8, 2016
DMA Subsystem for PCIe v2.0 www.xilinx.com 2
PG195 June 8, 2016
Table of Contents
IP Facts
Chapter 1: Overview
Feature Summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Unsupported Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Licensing and Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Chapter 2: Product Specification
Configurable Components of the Core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
DMA Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Performance and Resource Utilization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Port Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Register Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Chapter 3: Designing with the Core
Clocking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Resets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Tandem Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Chapter 4: Design Flow Steps
Customizing and Generating the Core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Constraining the Core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Synthesis and Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Chapter 5: Example Design
AXI4 Memory Mapped Default Example Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
AXI4 Memory Mapped with PCIe to AXI-Lite Master and PCIe to DMA Bypass Example Design . 68
AXI4 Memory Mapped with AXI4-Lite Slave Interface Example Design . . . . . . . . . . . . . . . . . . . . . 68
AXI4-Stream Example Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Send Feedback
DMA Subsystem for PCIe v2.0 www.xilinx.com 3
PG195 June 8, 2016
Chapter 6: Test Bench
Root Port Model Test Bench for Endpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Appendix A: Device Driver
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Interrupt Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Example H2C Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Example C2H Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Appendix B: Debugging
Finding Help on Xilinx.com . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Debug Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Hardware Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Appendix C: Additional Resources and Legal Notices
Xilinx Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Please Read: Important Legal Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Send Feedback
DMA Subsystem for PCIe v2.0 www.xilinx.com 4
PG195 June 8, 2016 Product Specification
Introduction
The Xilinx® DMA Subsystem for PCI Express®
(PCIe™) implements a high performance,
configurable Scatter Gather DMA for use with
the PCI Express® 3.x Integrated Block. The IP
provides an optional AXI4 or AXI4-Stream user
interface.
Features
• Supports UltraScale™ architecture and
Virtex®-7 XT FPGA Gen3 Integrated
(Endpoint only) Blocks for PCI Express
• Support for 64, 128, and 256-bit datapath
width matching the PCI Express Integrated
Block interface datapath width
• 64-bit source, destination, and descriptor
address
• Up to four host-to-card (H2C/Read) data
channels
• Up to four card-to-host (C2H/Write) data
channels
• Configurable user interface - Common AXI4
memory mapped (MM) user interface or a
separate AXI4-Stream user interface
• Compliant with AXI4, AXI4-Lite, and
AXI4-Stream protocols
• AXI4 MM Master DMA host or peer initiated
bypass interface for high bandwidth access
to user logic
• Host configuration access to user logic
through an AXI4-Lite Master interface
• IP internal configuration and status
registers access to user logic through an
AXI4-Lite Slave interface
• Scatter Gather descriptor list supporting
unlimited list size
• 28-bit max transfer length per descriptor
• Legacy, MSI, and MSI-X interrupts
• Block fetches of contiguous descriptors
•Poll Mode
• Descriptor Bypass interface
• Arbitrary source and destination address
• Linux driver available (see AR 65444
)
Dr
IP Facts
IP Facts Table
Core Specifics
Supported
Device Family
(1)
UltraScale Architecture,
Virtex-7 XT
Supported User
Interfaces
AXI4, AXI4-Lite, AXI4-Stream
Resources Performance and Resource Utilization web page
Provided with Core
Design Files Encrypted System Verilog
Example Design Verilog
Test Bench Verilog
Constraints File XDC
Simulation
Model
Verilog
Supported
S/W Driver
Linux Driver
Tested Design Flows
(2)
Design Entry Vivado® Design Suite
Simulation
For supported simulators, see the
Xilinx Design Tools: Release Notes Guide.
Synthesis Vivado synthesis
Support
Provided by Xilinx at the Xilinx Support web page
Notes:
1. For a complete list of supported devices, see the Vivado IP
catalog.
2. For the supported versions of the tools, see the
Xilinx Design Tools: Release
Notes Guide.
Send Feedback
DMA Subsystem for PCIe v2.0 www.xilinx.com 5
PG195 June 8, 2016
Chapter 1
Overview
The DMA Subsystem for PCI Express® (PCIe™) is designed for the Vivado® IP integrator in
the Vivado Design Suite. The IP provides a flexible hardware and software solution to
offload PCIe memory transfers from the host. The IP driver has a character interface. The
driver is responsible for generating a descriptor list from the user workload and initializing
the IP. The IP fetches the descriptor lists from host memory. To perform a host-to-card
DMA transfer, the IP masters memory reads to the PCIe Gen3 core and writes the
completion data to the user AXI4 write interface. For a card-to-host transfer, the IP acquires
data from the AXI4 read interface and masters memory write requests to PCIe.
Figure 1-1 shows an overview of the DMA Subsystem for PCIe.
X-Ref Target - Figure 1-1
Figure 1-1: DMA Subsystem for PCIe Overview
$;,:ULWH
,QWHUIDFH
00RU67
$;,5HDG
,QWHUIDFH
00RU67
&+
&KDQQHOV
545&
,QWHUIDFH
,540RGXOH
7DUJHW
%ULGJH
&IJ0DVWHU
$;,/LWH
0DVWHU
&IJ0DVWHU
$;,/LWH
6ODYH
+RVW'0$
%\SDVV$;,
000DVWHU
&4&&
,QWHUIDFH
,QWHJUDWHG
%ORFNIRU3&,H
,3&RQILJXUHG
DV(QG3RLQW
8VHU
/RJLF
'0$6XEV\VWHPIRU3&,H
+&
&KDQQHOV
3&,H5;
3&,H7;
;
Send Feedback
剩余82页未读,继续阅读
资源评论
- 坐井观老天2021-01-04全部是英文的啊
syyxind
- 粉丝: 0
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功