How to build a DMA engine to stream data from FPGA to Processor?

Hello Community,
After going through extensive documentation, I still haven't been able to stream data from FPGA to the processor. I am implementing a DMA engine for data streaming in a state-space model, which I plan to convert into an FPGA model.
Just to mention:
  • I am using MATLAB 2024a and Speedgoat Performance Machine as my real-time simulator.
  • My Simulink model is quite simple, with only two outputs.
If anyone knows a straightforward process, I would greatly appreciate your guidance. I am also open to connecting over a call and am willing to compensate generously for immediate resolution. you can also connect me on varunshahi011@gmail.com
Thanks in advance!
Varun

Answers (1)

Hi Varun,
There is a well-documented example with described steps and reproduction files in the Speedgoat's documentation at IO3xx DMA Stream Data Rate / Fundamentals / Examples / HDL Coder™ Integration Packages.
This should contain everything you need to get started. Let us know if there is anything in the example that doesn't work.

Asked:

on 21 Feb 2025

Answered:

on 24 Feb 2025

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!