Axi Protocol Basics
Axi Protocol Basics
AXI 4:
• The Advanced eXtensible Interface (AXI) protocol, part of the AMBA
(Advanced Microcontroller Bus Architecture) specification from ARM, plays a
critical role in high-performance System-on-Chip (SoC) design.
• AXI is renowned for its flexibility, efficiency, and ability to support high-
speed and high-frequency data transactions, making it a fundamental component
in modern SoC architectures.
• It builds on the earlier AXI3 protocol by enhancing performance, flexibility,
scalability, and capability, particularly suited for high-bandwidth applications.
• AXI also includes a number of new features including out-of-order transactions,
unaligned data transfers, cache support signals, and a low-power interface.
RENUKA R
Page 1 of 6
2. Wider Data Buses: AXI4 increased support for wider data buses, from 32-bit up
to 1024-bit data paths, which is crucial for handling larger data sets in high-
performance computing.
3. Better Burst Support: AXI4 has better support for burst transactions (up to
256 data transfers per burst) and allows wrapping bursts, improving the
efficiency of bulk data transfers.
4. Memory-Mapped Interfaces: The primary focus of AXI4 is memory-mapped
communication, making it ideal for connecting processors, memory controllers,
and high-speed peripherals.
AXI CHANNELS :
There are five independent channels between an AXI master and slave. They are the:
1. Read address channel
2. Read data channel
3. Write address channel
4. Write data channel
5. Write response channel
AXI channels
RENUKA R
Page 2 of 6
• The address channels are used to send address and control information while
performing a basic handshake between master and slave. The data channels are
where the information to be exchanged is placed.
• A master reads data from and writes data to a slave. Read response information
is placed on the read data channel, while write response information has a dedicated
channel. This way the master can verify a write transaction has been completed.
Figure shows an AXI master and slave connected via the five AXI channels.
• Every exchange of data is called a transaction. A transaction includes the address
and control information, the data sent, as well as any response information. The
actual data is sent in bursts which contain multiple transfers.
AXI TRANSACTIONS :
An AXI data transfer is called a transaction. Transactions can take the form of
reads or writes and include address/control information, data, and a response. The
data is sent in the form of bursts, which include multiple data items called beats. To
synchronise the sending and receiving of data, an AXI master and slave perform a
handshake at the beginning of a transaction using the READY and VALID signals.
HANDSHAKING MECHANISM :
In AXI4, the handshaking mechanism is crucial for ensuring that data is transferred
accurately between the master and slave devices. The protocol uses a valid/ready
handshake on all its channels (read/write address, data, and response).
RENUKA R
Page 3 of 6
• The data transfer happens only when both the VALID and READY signals are
asserted (set to high).
Key Points:
• The master asserts the VALID signal when it has data or an address ready to
send.
• The slave asserts the READY signal when it is ready to receive that data or
address.
• A transaction is completed when both VALID and READY are asserted at the
same time.
RENUKA R
Page 4 of 6
3. When both the VALID and READY signals are high during the same clock cycle,
data transfer occurs.
4. After data transfer, the master can de-assert the VALID signal, indicating that the
data is sent, and the slave can also de-assert the READY signal if it no longer
wishes to accept data.
RENUKA R
Page 6 of 6