102
TR10a-LPQ User Manual
December
10,
2018
◼
Demonstration Source Code Location
⚫
Quartus Project: Demonstrations\PCIe_Fundamental_x2
⚫
Visual C++ Project: Demonstrations\PCIe_SW_KIT\PCIE_FUNDAMENTAL_x2
◼
FPGA Application Design
shows the system block diagram in the FPGA system. In the Qsys, Altera
PIO controller is used to control the LED (User LED and Bracket LED) and monitor the
Button Status, and the On-Chip memory is used for performing DMA testing. The PIO
controllers and the On-Chip memory are connected to the PCI Express Hard IP
controller through the Memory-Mapped Interface.
Figure 6-33 Hardware block diagram of the Dual PCIe reference design
◼
Windows Based Application Software Design
The application software project is built by Visual C++ 2012. The project includes the
following major files:
Name
Description
PCIE_FUNDAMENTAL.cpp Main program
PCIE.c
Implement dynamically load for
TERAISC_PCIE_AVMM.DLL
PCIE.h
TERASIC_PCIE_AVMM.h SDK library file, defines constant and data structure