FPGA AI Suite: SoC Design Example User Guide

ID 768979
Date 7/31/2024
Public
Document Table of Contents

7.4.2. MMD Layer Hardware Interaction Library Class uio_device

The Linux device tree is used for UIO devices. The following responsibilities are assumed by this file:

  • Acquire and maps/unmap the FPGA CSRs to user mode, using the sysfs entries for UIO (/sys/class/uio/uio*/).
  • Acquire and register a callback for the interrupt from the FPGA AI Suite IP.
  • Provide read_block() and write_block() functions for accessing the CSRs.