主要内容

AXI 主设备

R2026b
从 MATLAB® 或 Simulink® 访问 FPGA 板上的 AXI 从设备内存

注意

MATLAB AXI 主已重命名为 AXI 主设备。在软件和文档中,术语“管理器”和“从属设备”分别被“主设备”和“从设备”取代。

通过使用 FPGA 设计中的 AXI 主设备 IP,从 MATLAB 或 Simulink 访问板载内存位置。此 IP 连接到板上的从设备内存位置。此 IP 还通过 JTAG、PCI Express® 或 PL 以太网接口响应来自 MATLAB 或 Simulink 的读取和写入命令。

要使用 AXI 主设备功能,您必须下载所需的硬件支持包。可用的支持包有:

  • HDL Coder™ Support Package for Intel® FPGA and SoC Devices

  • SoC Blockset™ Support Package for AMD FPGA and SoC Devices

函数

setupAXIManagerForQuartus Add AXI manager IP path to Quartus project
readmemoryRead data out of AXI4 memory-mapped subordinates
writememoryWrite data to AXI4 memory-mapped subordinates
releaseRelease JTAG or Ethernet cable resource
copyImageToHostSDCardPathCopy board-specific SD card image files to host SD card location
loadBitstreamLoad custom FPGA bitstream and corresponding DTB file to target SoC device

对象

aximanagerRead and write memory locations on FPGA board from MATLAB

模块

AXI Manager Read blockAXI Manager ReadRead memory locations on FPGA board from Simulink
AXI Manager Write blockAXI Manager WriteWrite memory locations on FPGA board from Simulink

主题

概述

  • Set Up AXI Manager
    High-level steps for accessing memory-mapped locations on an FPGA board from MATLAB or Simulink.

AXI 主设备需求和准备

AXI 主设备过程

精选示例