DMA Lite

RunX DMA Lite

A small DMA for one stream in and one stream out, designed for low resource use on any FPGA.

Scatter-gather / Direct mode / Low resource / Linux ready

~1K400 MHz04
LUT minimum (direct mode)Zynq UltraScale+block RAM*FPGA vendors

Overview

Designed from the start for low resource use.

RunX DMA Lite moves data between AXI4 memory and one AXI4-Stream port in each direction. With scatter-gather, software queues descriptors in a ring; the core fetches the next one while the current one moves, transfers the data and writes the status back. Without scatter-gather, a direct register mode does one transfer at a time in about a thousand LUTs. Both modes use distributed RAM and registers, so block RAM stays free for your design.*

Why it stands out

01 - Low resource by design
Small distributed-RAM FIFOs and a lean data path: from about 1K LUT in direct mode; scatter-gather under 1.8K LUT on Zynq UltraScale+.

02 - Two modes, one core
Scatter-gather for Linux, direct register mode for the smallest builds and soft CPUs.

03 - Any FPGA vendor
Timing closed on AMD, Altera, Lattice and Microchip, from 100 MHz on Cyclone 10 LP to 400 MHz on Zynq UltraScale+.

04 - Proven on hardware
Validated on Zynq UltraScale+ in both modes, with 93-100% bus efficiency measured.

Key Features

  • Scatter-gather rings of 2 to 4096 descriptors per direction, one descriptor fetched ahead
  • Direct register mode: address, length, go - no descriptors in memory
  • Completion write-back of status and byte count, one interrupt per direction
  • Control: cyclic rings, pause / resume / abort, soft reset
  • Error isolation: a failing transfer stops only its own direction
  • Optional asynchronous stream clocks; either direction can be left out

How it works

  1. Queue - Software writes descriptors into the ring and updates one tail register (direct mode: address and length registers).
  2. Fetch - The core reads the next descriptor while the current one moves, and checks it before any data moves.
  3. Move - Each descriptor becomes AXI bursts between memory and the stream port.
  4. Report - Status and byte count go back into the descriptor, the head index advances and an interrupt is raised.

Configuration Options

ParameterRange
DirectionsMM2S, S2MM or both
Modescatter-gather or direct register
Data width32, 64 or 128 bit
Address width32 or 64 bit
Burst length4 to 256 beats
FIFO depthsmallest area to highest rate
Outstanding bursts1 or 2 per direction
Ring sizeup to 4096, set by software
Stream clockssync or async, per direction
Reset stylesynchronous or asynchronous

Software reads the built configuration back from capability registers.

Resource Utilization

LUTFFBRAM
Minimum (direct mode, 32-bit)1,0479460
Full-featured (scatter-gather, 128-bit, all options)2,0922,0160

AMD Artix-7 xc7a100t-2, Vivado 2025.2, out-of-context synthesis. BRAM = 36 Kb blocks.

* On FPGAs with distributed RAM. Families without it (e.g. Cyclone 10 LP) use 8 M9K blocks for the FIFOs at 128-bit.

Verification

  • Simulation with reference models, random memory latency and bus error injection
  • Coverage: mutation testing on every block, 100% line and 100% functional
  • Hardware: board tests in both modes incl. abort, cyclic, error injection and 20,000-iteration stress
  • Timing closed with the tools of all four FPGA vendors

Software Support

  • Linux dmaengine provider: works with standard Linux DMA clients and device-tree bindings
  • slave_sg and cyclic transfers; pause, resume and terminate
  • Bare-metal C HAL (C99): descriptor rings and direct transfers in a few calls
  • Generated C register header, shared by the driver and the HAL
  • Capability discovery: software adapts to the built configuration
  • More channels, 2D video or memory copy? RunX DMA Unified uses the same register map, driver and HAL

For Evaluation, pricing and licensing
Contact Us!
info@run-x.com | www.run-x.com