Zen Peripherals · Data Movement & Storage · brief · 2026-11-04

A multi-channel scatter-gather DMA engine that moves data so your CPU doesn't

The Zen DMA is a descriptor-driven, multi-channel DMA engine a client instantiates to move blocks of data between memory regions — and memory and peripherals — with no CPU in the loop. Each channel runs either a direct register-programmed copy or a scatter-gather descriptor chain walked straight from memory; all channels share a single AXI4 master and arbitrate round-robin for it. Decoupled read and write engines overlap through a per-channel FIFO, and completion or error folds into one interrupt line. Product / integrator view; every number is sourced from the product datasheet or marked TBC.

1. DMA in one paragraph

The Zen DMA is the data-mover you drop in so the CPU stops copying bytes. Software programs a channel — a source address, a destination, and a length — and writes one start bit; the channel then moves the whole block over a shared AXI4 master port while the cores do other work. In direct mode the transfer is programmed entirely from registers. In scatter-gather mode you instead hand the channel a pointer to a 16-byte descriptor in memory; the channel fetches it, runs that segment, and walks the next link until a descriptor flags last — so a single start can gather many fragmented buffers, or scatter one buffer across many. Inside, a read engine issues AXI read bursts into a per-channel FIFO and a write engine drains that FIFO to the destination; the two run concurrently, so reads and writes overlap. Multiple channels share the one AXI master and take turns round-robin, one burst per grant, so no channel starves. When a transfer finishes — or an AXI slave returns an error — the channel sets status and raises a single aggregated interrupt.

2 channelsindependent, each with its own CSRs + FSM (default)
64-bitAXI4 datapath width (8 bytes/beat, default)
16-bytescatter-gather descriptor (src · dst · len · next)
8 / 8byte-exact verification tests passing
host SoCregister bus DMA engineread / write engines FIFO / descriptors AXI fabricmemory registers irq beats AXI4 bursts
Figure 1. The DMA sits between the host SoC control plane and the AXI4 fabric: the host programs channels over the register bus, each channel's read engine fetches descriptors and data into a per-channel FIFO, and the write engine drains it to memory over one shared AXI4 master.
One start, a whole chain. In scatter-gather mode the channel walks a linked list of 16-byte descriptors from memory on its own — [31:4] of the last word is the next-descriptor address, [1] ends the chain, [0] raises an interrupt on that segment. Gather from or scatter to many buffers from a single programmed start, with no CPU between segments.
Single-clock datapath in v1. The clock-domain-crossing option (register clock to a separate AXI clock) is a documented stub in this release — run the engine in its single-clock configuration, which is the verified path. v1 also assumes bus-width-aligned source, destination, and length; unaligned byte streams are deferred.

2. What it is, at a glance

ElementDetailDefaultStatus
Channelsindependent, each own register block + control FSM2exists
Transfer modesdirect (register-programmed) + scatter-gather (descriptor chain)—exists
Descriptor16 bytes: src · dst · length · next-and-flags—exists
Bus mastersingle shared AXI4 master, INCR bursts, 4 KB-boundary split—exists
Datapath widthAXI4 data width (bytes/beat)64-bitexists
Address widthAXI4 address width32-bitexists
Read / write enginesdecoupled, concurrent, overlap through a per-channel FIFO—exists
Per-channel FIFObuffering depth between read and write engines16 beatsexists
Max burstburst length cap, clamped at the AXI 4 KB boundary16 beatsexists
Arbitrationround-robin, one burst per grant; AR and AW arbitrate independently—exists
Error handlingAXI SLVERR / DECERR on read or write → channel error + interrupt—exists
Interruptone aggregated level line, per-channel enabled, write-1-to-clear—exists
Control planestruct-typed peripheral bus; APB4 / AXI4-Lite frontends—exists
Sustained throughput / latencyslave- and fabric-bound; cycle-accurate numbers not yet characterizedTBCTBC

Sources: Zen DMA product datasheet; as-built RTL.

3. How a client uses it

  1. Instantiate the engine on the peripheral bus for control, and attach its single AXI4 master port to your interconnect so it can reach memory and memory-mapped peripherals; route the interrupt line into your controller.
  2. Direct copy — program a channel's source, destination, and length, then write the start bit; the channel streams the block and raises the done interrupt. No CPU cycles are spent on the move.
  3. Scatter-gather — build a descriptor chain in memory (one 16-byte descriptor per fragment, each pointing at the next), write the first-descriptor pointer, select SG mode, and start; the channel walks the chain to the last flag on its own.
  4. Run channels concurrently — start more than one channel for independent streams; they fair-interleave round-robin on the shared AXI master. Drain completions on the interrupt and clear status write-1-to-clear.

4. Verification & provenance

Sources read

Sources: Zen DMA product datasheet; as-built RTL.