Main Content

FPGA-in-the-Loop

Test designs in real hardware

Creating an FPGA-in-the-loop link between the simulator and the board enables you to:

  • Verify HDL implementations directly against algorithms in Simulink®or MATLAB®.

  • Apply data and test scenarios from Simulink or MATLAB to the HDL design on the FPGA.

  • Integrate existing HDL code with models under development in Simulink or MATLAB.

Before you can use FPGA-in-the-loop (FIL) simulation, you must download the support package for your board. SeeDownload FPGA Board Support Package. Alternatively, you can manually create custom board definition files for use with FIL simulation. SeeFPGA Board Customization.

After you download a board support package, select a simulation workflow. SeeFPGA-in-the-Loop Simulation Workflows. To learn how FIL simulation works, seeFPGA-in-the-Loop Simulation.

Apps

FPGA-in-the-Loop Wizard Generate an FPGA-in-the-loop (FIL) block orSystem objectfrom existing HDL files

Objects

hdlverifier.FILSimulation FIL simulation withMATLAB

Functions

filProgramFPGA 加载到FPGA编程文件
programFPGA Load programming file associated withFILSimulationsystem object onto FPGA

Blocks

FIL Simulation Simulate HDL code on FPGA hardware from金宝app

Topics

Overview

  • 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.
  • 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.

FIL Requirements and Preparation

Generate FIL Interface from Legacy Code

Generate FIL System Object from MATLAB Code (requiresHDL Coderlicense)

Generate FIL Block from Simulink Model (requiresHDL Coderlicense)

Troubleshooting

Troubleshooting FIL

Fixes for common error messages and issues.