89
Once the driver is successfully installed, users can see the
Altera PCI API Driver
under the device manager window, as shown in
Figure7-8
.
Figure 7-8 Altera PCI API Driver in Device Manager
Create a Software Application
All the files needed to create a PCIe software application are located in the directory
CDROM\demonstration\PCIe_SW_KIT\PCIe_Library. It 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 :
1.
Create a 64-bit C/C++ project.
2.
Include "TERASIC_PCIE_AVMM.h" in the C/C++ project.
3.
Copy "TERASIC_PCIE_AVMM.DLL" to the folder where the project.exe is located.
4.
Dynamically load "TERASIC_PCIE_AVMM.DLL" in C/C++ program. To load the
DLL, please refer to the PCIe fundamental example below.
5.
Call the SDK API to implement the desired application.
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:
PCIE_Open
Содержание TR10a-HL
Страница 1: ...1...
Страница 3: ...3...
Страница 71: ...71 Figure 5 14 Si5340A Demo Figure 5 15 Si5340B Demo...
Страница 82: ...82 Figure 6 3 Progress and Result Information for the QDRII Demonstration...
Страница 107: ...107...
Страница 111: ...111 Figure 8 5QSFP Transceiver Loopback Test in Progress Figure 8 6QSFP Transceiver Loopback Done...