![Terasic DE10-Agiles Скачать руководство пользователя страница 162](http://html1.mh-extra.com/html/terasic/de10-agiles/de10-agiles_user-manual_1088476162.webp)
DE10-Agilex
User Manual
162
www.terasic.com
January 29,
2021
The base address of BUTTON and LED controllers are 0x800040 and 0x800000
based on PCIE_BAR4, respectively. The on-chip memory base address is 0x100000
relative to the DMA controller.
Before accessing the FPGA through PCI Express, the application first calls PCIE_Load
to dynamically load the terasic_pcie512_qsys.so. Then, it call PCIE_Open to open the
PCI Express driver. The constant DEFAULT_PCIE_VID and DEFAULT_PCIE_DID
used in PCIE_Open are defined in TERASIC_PCIE_AVMM512.h. If developers
change the Vendor ID and Device ID and PCI Express IP, they also need to change the
ID value defined in TERASIC_PCIE_AVMM512.h. If the return value of PCIE_Open is
zero, it means the driver cannot be accessed successfully. In this case, please make
sure:
The FPGA is configured with the associated bit-stream file and the host is
rebooted.
The PCI express driver is loaded successfully.
The LED control is implemented by calling PCIE_Write32 API, as shown below:
The button status query is implemented by calling the
PCIE_Read32
API, as shown
below:
The memory-mapped memory read and write test is implemented by
PCIE_DmaWrite
and
PCIE_DmaRead
API, as shown below:
8.6
PCIe Reference Design - DDR4
The application reference design shows how to add DDR4 Memory Controllers for
Содержание DE10-Agiles
Страница 1: ...DE10 Agilex User Manual 1 www terasic com January 29 2021 1 1 Q...
Страница 150: ...DE10 Agilex User Manual 150 www terasic com January 29 2021...
Страница 171: ...DE10 Agilex User Manual 171 www terasic com January 29 2021...
Страница 180: ...DE10 Agilex User Manual 180 www terasic com January 29 2021 Figure 9 10 Launch the System Console for Ethernet 100G Demo...
Страница 207: ...DE10 Agilex User Manual 207 www terasic com January 29 2021 Figure 10 22 Export the log file in csv format...