hdlverifier.FILFreeRunning
Description
Connect an FPGA-in-the-loop simulation to a MATLAB® testbench in free-running clock mode.
The FILFreeRunning
object connects the FPGA simulation
to a MATLAB testbench in free-running clock mode. Use the writePort
and
readPort
methods to send and receive sample or frame data to or from the
FPGA device under test (DUT). For more information, see What Is Free-Running FPGA-in-the-Loop?
To run a simulation consisting of a MATLAB testbench communicating with an FPGA simulation:
Customize the
hdlverifier.FILFreeRunning
object using FPGA-in-the-Loop Wizard.Create the object in your design and set its properties.
Call the object with arguments, as if it were a function.
Creation
To create an hdlverifier.FILFreeRunning
object, use the
FPGA-in-the-Loop Wizard to customize the FILFreeRunning
object. The output of the FIL wizard is a file called
, where
toplevel
_fil
is the name of the top level HDL
module. You can then create the object by assigning it to a local variable.toplevel
filobj = toplevel_fil
creates the object customized by the
FPGA-in-the-Loop Wizard.
You can adjust writable properties after creating the object:
filobj = toplevel_fil; filObj.StreamingOutputSigned = {false};
Properties
Object Functions
writePort | Send data to DUT ports |
readPort | Receive data from DUT ports |
programFPGA | Load programming file associated with FILSimulation or FILFreeRunning system
object onto FPGA |
release | Release resources and allow changes to System object property values and input characteristics |
Version History
Introduced in R2024b