主要内容

FPGA 在环仿真

R2026b
使用 FPGA 硬件进行验证

运行与在 Altera® FPGA 板上运行的 HDL 设计同步的 Simulink® 或 MATLAB® 仿真。

App

FPGA 在环向导Generate an FPGA-in-the-loop (FIL) block or System object from existing HDL files
逻辑分析仪Visualize, measure, and analyze transitions and states over time

工具

FPGA 板管理器Create and manage custom FPGA boards for FPGA-in-the-loop workflows
新 FPGA 板向导Create, configure, and add custom board for FPGA-in-the-loop workflows
FPGA 板编辑器Edit custom board definition for FPGA-in-the-loop workflows

函数

programFPGA Load programming file associated with FILSimulation or FILFreeRunning system object onto FPGA
readPortReceive data from DUT ports (自 R2024b 起)
writePortSend data to DUT ports (自 R2024b 起)

对象

hdlverifier.FILSimulation FIL simulation with MATLAB
hdlverifier.FILFreeRunning Free-running FIL simulation with MATLAB (自 R2024b 起)
jtagchainDetect and program FPGA through JTAG interface (自 R2026b 起)

模块

FIL Simulation blockFIL SimulationSimulate HDL code on FPGA hardware from Simulink

主题

概述

  • FPGA-in-the-Loop Simulation
    FPGA-in-the-loop (FIL) simulation provides the capability to use Simulink or MATLAB software for testing designs in real hardware for any existing HDL code.
  • FPGA-in-the-Loop Simulation Workflows
    Choose between generating a block or System object™, and decide whether to use the FIL Wizard or HDL Workflow Advisor.

FIL 需求和准备

从现有代码生成 FIL 接口

自由运行 FIL

从 MATLAB 代码生成 FIL System object

从 Simulink 模型生成 FIL 模块

FPGA 板管理器

精选示例