DE10-Agilex
User Manual
161
www.terasic.com
January 29,
2021
Figure 8-9 Hardware block diagram of the PCIe reference design
Linux Based Application Software Design
The application software project is built by GNU Toolchain. The project includes the
following major files:
Name
Description
PCIE_FUNDAMENTAL.cpp
Main program
PCIE.c
Implement dynamically load for
terasic_pcie512_qsys.so library file
PCIE.h
TERASIC_PCIE_AVMM512.h SDK library file, defines constant and data structure
The main program PCIE_FUNDAMENTAL.cpp includes the header file "PCIE.h" and
defines the controller address according to the FPGA design.