AXI4-Lite vs AXI4 vs AXI-Stream: What's the Difference?
Use cases, feature sets, and transaction types for the three members of the AXI family — and a comparison table you can use to decide which one fits a given block.
"AXI" is often used as shorthand for all three of these variants, which causes real confusion in design reviews and interviews. Each one trades away part of full AXI4's capability in exchange for simplicity — and knowing exactly what's traded away is what separates a surface-level answer from a strong one.
In This Article
1.AXI4: The Full-Featured Baseline
AXI4, covered in depth on Day 5, is the full protocol: five channels, burst transfers up to 256 beats (for INCR bursts), multiple outstanding transactions, ID-based out-of-order completion. It's built for high-bandwidth memory-mapped access — CPUs, GPUs, and DMA engines talking to DRAM controllers and large on-chip memories.
2.AXI4-Lite: Register Access, Simplified
AXI4-Lite keeps the same five-channel structure and VALID/READY handshake as AXI4, but strips out everything that exists purely to support high-throughput bursting:
- No bursts — every transaction is exactly one data beat (LEN is effectively fixed at 0).
- No ID signals — a slave only needs to support a single outstanding transaction, so there's nothing to tag.
- Fixed data width per transfer, no narrow transfers or byte-strobe complexity beyond basic WSTRB support.
This makes AXI4-Lite ideal for simple, low-throughput control/status register interfaces — the kind of block that would have used APB, except it now needs to sit directly on an AXI-based interconnect without going through a bridge.
3.AXI4-Stream: No Address, Pure Data Flow
AXI4-Stream is architecturally the most different of the three. It drops the concept of addressing entirely — there's no AW/AR/B channels at all, just a single unidirectional data channel with a VALID/READY handshake, TDATA, TLAST (marks the end of a packet), and optional TKEEP/TSTRB/TID/TDEST/TUSER sideband signals.
It's designed for point-to-point, high-speed streaming datapaths — DSP pipelines, video/image processing chains, network packet processing — where data flows continuously from one block to the next without ever needing a memory address.
4.Full Comparison Table
| Feature | AXI4 | AXI4-Lite | AXI4-Stream |
|---|---|---|---|
| Channels | 5 (AW, W, B, AR, R) | 5 (AW, W, B, AR, R) | 1 (unidirectional data) |
| Addressing | Yes | Yes | None |
| Burst support | Yes, up to 256 beats | No (single beat only) | N/A — continuous flow |
| Outstanding transactions / IDs | Yes, ID-tagged | No | N/A |
| Typical use | CPU/GPU/DMA to memory | Simple control/status registers | DSP, video, packet streaming |
5.Which One Should You Use?
- Designing a memory controller, cache, or any block that needs to move large bursts efficiently? → AXI4
- Designing a peripheral's control/status register block that needs to live on an AXI interconnect? → AXI4-Lite
- Designing a datapath block that just needs to pass a continuous stream of samples/pixels/packets to the next stage? → AXI4-Stream
Recap: What We Covered Today
- AXI4-Lite is AXI4 with bursts and IDs removed — single-beat, single-outstanding-transaction register access.
- AXI4-Stream drops addressing entirely and uses a single VALID/READY-handshaked data channel, delimited into packets by TLAST.
- Choosing the right variant is about matching complexity to what the block actually needs, exactly like the APB/AHB/AXI choice from Day 2.
AXI Burst Transactions Explained: LEN, SIZE, BURST and Address Calculation
Tomorrow we go deep on AXI4's INCR, WRAP, and FIXED burst types, and walk through the exact address-calculation math for each beat in a burst.
Comments
Post a Comment