FPGA 在环仿真
R2026b使用 FPGA 硬件进行验证
运行与在 Altera® FPGA 板上运行的 HDL 设计同步的 Simulink® 或 MATLAB® 仿真。
App
工具
| 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 |
readPort | Receive data from DUT ports (自 R2024b 起) |
writePort | Send data to DUT ports (自 R2024b 起) |
对象
hdlverifier.FILSimulation | FIL simulation with MATLAB |
hdlverifier.FILFreeRunning | Free-running FIL simulation with MATLAB (自 R2024b 起) |
jtagchain | Detect and program FPGA through JTAG interface (自 R2026b 起) |
模块
| FIL Simulation | Simulate 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 需求和准备
- Prepare DUT For FIL Interface Generation
DUT guidelines for FIL simulation of blocks and System objects. - Set Up FPGA Design Software Tools
Set the MATLAB path to AMD®, Microchip, and Intel® software. - Manual Hardware Setup
Describes the steps necessary to prep hardware and hardware tools for FIL. - Configure Logic Analyzer
Adjust settings in the Logic Analyzer.
从现有代码生成 FIL 接口
- Block Generation with the FIL Wizard
Generate a FPGA-in-the-Loop block from existing HDL source files, then include the FPGA implementation in a Simulink simulation. - System Object Generation with the FIL Wizard
Generate a FPGA-in-the-Loop System object from existing HDL source files, then include the FPGA implementation in a MATLAB simulation.
自由运行 FIL
- What Is Free-Running FPGA-in-the-Loop?
Introduction and requirements for free-running FIL. - Execute Free-Running FPGA-in-the-Loop
Generate a free-running FPGA-in-the-Loop System object, then include the FPGA implementation in a MATLAB simulation. - Execute Free-Running FPGA-in-the-Loop Using HDL Workflow Advisor
Generate a free-running FPGA-in-the-Loop System object by using the HDL Workflow Advisor, then include the FPGA implementation in a MATLAB simulation.
从 MATLAB 代码生成 FIL System object
- FIL Simulation with CLI Commands for MATLAB
Generate an FPGA-in-the-loop System object and testbench using CLI commands.
从 Simulink 模型生成 FIL 模块
- Generate Test Bench and Enable Code Coverage Using the HDL Workflow Advisor
Generate test bench and code coverage for generated HDL code using the HDL Workflow Advisor. - FIL Simulation with HDL Workflow Advisor for Simulink
Generate an FPGA-in-the-loop model using HDL Workflow Advisor.
FPGA 板管理器
- FPGA Board Customization
Create board definition files for FPGA verification projects. - Create Custom FPGA Board Definition
Run the New FPGA Board Wizard to setup a custom board.




