AHB vs AXI: Difference and Comparison

AHB and AXI are both bus masters. Both these bus masters are a part of the AMBA (Advanced Microcontroller Bus Architecture) Bus. It is a target towards high Performance, Bandwidth, and frequency System Design.

Both the bus masters are correlated though are different in many aspects and the differences are mentioned in this article below.

Key Takeaways

  1. AHB (Advanced High-performance Bus) is a protocol for high-performance, low-latency data transfers. At the same time, AXI (Advanced eXtensible Interface) is a more advanced bus protocol providing higher throughput and flexibility.
  2. AHB utilizes a single-edge clock, while AXI uses a double-edge clock, resulting in faster data transfer rates in AXI.
  3. AHB supports a fixed pipeline length, while AXI allows for a variable one, enabling higher performance and customization.

AHB vs AXI

AHB (Advanced High-performance Bus) is a bus protocol developed by ARM and is widely used in medium to high-end SoCs. AXI (Advanced eXtensible Interface) is also a bus protocol developed by ARM and is the latest version of the AMBA (Advanced Microcontroller Bus Architecture) protocol family.

AHB vs AXI
/10

IT Quiz

Test your knowledge about topics related to technology

1 / 10

Firewall in computer is used for

2 / 10

Which of the following is defined as an attempt to steal, spy, damage or destroy computer systems, networks, or their associated information?

3 / 10

AI systems are made up of

4 / 10

Saving a file from the Internet onto your desktop is called

5 / 10

Mark Zuckerberg is the owner of

6 / 10

Which of the following semiconductor is mostly used to construct electronic circuits?

7 / 10

Artificial Intelligence is a way of _____.

8 / 10

Who founded Apple Computers?

9 / 10

A process that is repeated, evaluated, and refined is called __________

10 / 10

The conductivity of semiconductor materials

Your score is

0%

Advanced High-performance Bus is a single channel Bus which is ARMs very popular protocol. It supports a Single outstanding transaction per bus master. The bus latencies of AHB start at 16 Byte transactions.

Some features of AHB are single-edge clock protocol, split transactions, large bus widths, locked transfers.

AXI is a multi-channel bus with 5 channels which are Read data channel, Write data channel, Read address channel, Write address channel and Write response channel. AXI supports multiple outstanding transactions.

The bus latencies of AXI start at 64 Byte transactions. Some features of AXI are QoS, Write strobes, full-duplex communication mode, etc.

Comparison Table

Parameters of ComparisonAHBAXI
Full formAdvanced High-Performance BusAdvanced extensible Interface
ChannelIt is a single-channel bus.It is a multi-channel bus.
FeaturesEarly Burst termination, Locked TransfersQoS, Write Data Interleaving, unaligned data transfer, byte invariance.
Address space assigned for a single slaveIt is 1 KB for AHB.It is 4 KB for AXI.
Burst LengthsBurst Lengths for AHB are 1, 2, 6, 16. (except for INCR types)Burst lengths are from 1-16 for AXI3, and from 1-256 for AXI4.

What is AHB?

AHB stands for Advanced High-performance Bus. It is a single-channel bus which is also a shared bus having one address channel, a read data channel, and a write data channel.

Each of the bus masters in AHB connects to a single-channel shared bus. AHB has only two bus cycles in a simple transaction, an address phase, and a subsequent data phase. AHB has large bus widths.

In AHB, if a user is not able to meet the timing requirements then it does not support the pipeline which registers in its path.

And due to its inability to support pipeline registers insertion, it doesn’t enable higher frequency and instead it limits the maximum frequency for the design.

AHB does not support the QoS feature, write strobes, and the Exclusive supports. It supports locked transfers only. It has low power dissipation and limited throughput. Also, the burst lengths in AHB are fixed.

They are 1, 2, 6, 16 except for the case of INCR. In INCR, the burst can have any length although how long it will be is not shared. Also, it can have any length only till it doesn’t go across 4K.

AHB was introduced in AMBAversion 2 by the ARM limited company and it was a very popular protocol until the new version AXI wasn’t introduced.

What is AXI?

AXI stands for Advanced eXtensible Interface. It is a multi-channel bus designed for on-chip communication. It is a high-performance, high-frequency, Full-duplex mode communication interface.

There are 5 channels in AXI and each one is independent of the other.

The channels are Write address channel (AW), Write data channel (W), Read data channel aka R (Read response is sent with it as well), Read address channel (AR), and Write response channel (B).

Since AXI has 5 parallel channels running, many wires are used to lay the layout. A user can insert a pipeline register anywhere in the path of any one of the channels and because of it, AXI enables a higher frequency of operation.

Some of the features that AXI has are unaligned data transfer (using strobes), separate address/control, data phases,  byte invariance, burst-based transactions with start address issued, QoS, out of order transaction completion, Write Data Interleaving, and atomic operations.

Indeed, AXI has additional Signalling mechanisms like AxRegion and AxUser.

There can be multiple data transfers for a single request in AXI which means it is a burst-based protocol. It makes it easier when a large amount of data have to be transferred from or to addresses of a specific pattern.

There are three types of bursts in AXI: FIXED, INCR, and WRAP. The length of these bursts is known from the start and they can be from 1-16 for AXI3 while 1-256 for AXI4.

Main Differences Between AHB and AXI

  1. AHB stands for Advanced High-performance Bus, which is a single channel bus. While AXI is a multi-channel bus and stands for Advanced eXtensible Interface.
  2. AHB does not support “out of order transaction” completion while AXI support “out of order transaction” completion.
  3. AHB has low power dissipation while AXI has high power dissipation.
  4. AHB Bus utilization is higher as compared to the AXI utilization as AXI uses 50% more power.
  5.  Unaligned data transfer using strobe and byte invariance are some of the features which AHB wouldn’t support but AXI supports.
  6. AHB does not support write strobes while AXI supports it.
  7. AHB supports the locked transfer. While in the case of AXI, the AXI 3 supports the locked transfer while AXI4 doesn’t.
  8. AHB does not support the exclusive transfers while AXI supports them.
  9. The bus latencies of the AHB bus master start lower as compared to that of the AXIs.
References
  1. https://ieeexplore.ieee.org/abstract/document/8704549/

Last Updated : 11 June, 2023

dot 1
One request?

I’ve put so much effort writing this blog post to provide value to you. It’ll be very helpful for me, if you consider sharing it on social media or with your friends/family. SHARING IS ♥️

Leave a Comment

Your email address will not be published. Required fields are marked *

Want to save this article for later? Click the heart in the bottom right corner to save to your own articles box!