DE5-NET
User
Manual
88
June 20, 2018
7
7
.
.
2
2
P
P
C
C
P
P
C
C
I
I
E
E
x
x
p
p
r
r
e
e
s
s
s
s
S
S
o
o
f
f
t
t
w
w
a
a
r
r
e
e
S
S
D
D
K
K
The FPGA System CD contains a PC Windows based SDK
to allow users to develop their 64-bits
software application on Windows XP/7/10 64-bits. The SDK is located in the “CDROM
\demonstrations\PCIe_SW_KIT” folder which includes:
PCI Express Driver
PCI Express Library
PCI Express Examples
The kernel mode driver assumes the PCIe vender ID (VID) is 0x1172 and the device ID (DID) is
0xE003. If different VID and DID are used in the design, users need to modify the PCIe vender ID
(VID) and device ID (DID) in the driver INF file accordingly.
The PCI Express Library is implemented as a single DLL called TERASIC_PCIE_AVMM.DLL.
This file is a 64-bits DLL. With the DLL exported to the software API, users can easily
communicate with the FPGA. The library provides the following functions:
Basic Data Read and Write
Data Read and Write by DMA
For high performance data transmission, DMA is required as the read and write operations are
specified under the hardware design on the FPGA.
PCI Express Software Stack
shows the software stack for the PCI Express application software on 64-bit Windows.
The PCI Express driver incorporated in the DLL library is called TERASIC_PCIE_AVMM.dll.
Users can develop their applications based on this DLL. The altera_pcie_win_driver.sys kernel
driver is provided by Altera.