DE5-NET
User
Manual
93
June 20, 2018
Figure 7-8 Altera PCI API Driver in Device Manager
Create a Software Application
All necessary files to create a PCIe software application are located in the
CDROM\demonstration\PCIe_SW_KIT\PCIe_Library
which includes the following files:
TERASIC_PCIE_AVMM.h
TERASIC_PCIE_AVMM.DLL (64-bit DLL)
Below lists the procedures to use the SDK files in users’ C/C++ project :
Create a 64-bit C/C++ project.
Include TERASIC_PCIE_AVMM.h in the C/C++ project.
Copy TERASIC_PCIE_AVMM.DLL to the folder where the project.exe is located.
Dynamically load TERASIC_PCIE_AVMM.DLL in C/C++ program. To load the DLL, please
refer to the PCIe fundamental example below.
Call the SDK API to implement the desired application.
TERASIC_PCIE_AVMM.DLL Software API
Users can easily communicate with the FPGA through the PCIe bus through the
TERASIC_PCIE_AVMM.DLL API. The details of API are described below: