3.3.5. Memory-Mapped Device (MMD) Driver
The FPGA AI Suite runtime MMD software uses a driver to access and interact with the FPGA device. To integrate the FPGA AI Suite IP into your design on your platform, the MMD layer must interface with the hardware using the appropriate drivers (such as OPAE, UIO, or a custom driver). For example, the PCIe-based design example uses the drivers provided by the OpenCL board support package (BSP) for the Terasic* DE10-Agilex Development Board.
The FPGA AI Suite runtime MMD software uses a driver to access and interact with the FPGA device. This driver is supplied as part of the board vendor BSP or, for OFS-based boards, the OPAE driver.
The source files for the MMD driver are provided in runtime/coredla_device/mmd.
The source files contain classes for managing and accessing the FPGA device by using driver-supplied functions for reading/writing to CSR, reading/writing to DDR, and handling kernel interrupts.
Obtaining BSP Drivers
Contact your FPGA board vendor for information about the BSP for your FPGA board.
Obtaining the OPAE Drivers
Contact your FPGA board vendor for information about the OPAE driver for your FPGA board.
For the FPGA AI Suite OFS for PCIe* attach design example, the OPAE driver is installed when you follow the steps in [OFS-PCIE] Getting Started with Open FPGA Stack (OFS) for PCIe -Attach Design Examples.