Developed at the Centre for Heterogeneous and Intelligent Processing Systems
A high-performance AMBA-based bus protocol for system-on-chip communication
The Advanced High-Performance Bus (AHB) is part of the AMBA protocol suite. It supports multiple bus masters and slaves, enabling high-speed memory and peripheral access in modern SoCs.
- Masters (Managers): Initiate read/write operations.
- Slaves (Subordinates): Respond to the master's transactions.
- Decoder: Maps addresses to the corresponding slave devices.
- Multiplexor: Routes outputs from slaves back to the master.
HREADY: Indicates the current transfer is complete.HRESP: Response status of transfer.HRDATA: Data read from the subordinate.HRESETn: Active-low reset.HCLK: Clock signal.
HADDR: Address for the transfer.HWDATA: Data to be written.HWRITE: Transfer type (read/write).HSIZE: Transfer size.HBURST: Burst type/length.HTRANS: Transfer type.HPROT: Protection level.HMASTLOCK: Locked sequence indicator.
HSEL_x: Slave select signal.HADDR,HWDATA,HWRITE,HSIZE,HBURST,HTRANS,HPROT,HMASTLOCK
HREADY_x: Transfer completion.HRESP_x: Transfer response.HRDATA_x: Read data.
HADDR
HSEL_x: Slave selectionHMUXSEL_x: Read-mux enable
HREADY_x,HRESP_x,HRDATA_x
HREADY,HRESP,HRDATA
| Transfer Type | Description |
|---|---|
| Simple Read/Write | Basic transfer without wait |
| 1/2 Wait State | Transfer delayed by 1 or 2 cycles |
| Error State | Transfer with an error response |
| Burst Transfer | Multiple sequential beats |
| Idle State | No operation cycle |
| Busy State | Master is not ready for transfer |
- Sequential addresses
- Common in linear data movement
- Wraps around cache-line boundary (16, 32, 64 bytes)
- Ensures alignment for cache efficiency
Wrap boundary = Number of beats × Beat size
- Aligned: Address starts at the cache line boundary (e.g. 0x00, 0x40).
- Unaligned: Starts at arbitrary location (e.g. 0x38).
WRAP burst ensures aligned access, improving CPU performance and reducing stalls.
Recommended for cache-line-based memory systems.
Thanks to the instructors and team at the
Centre for Heterogeneous and Intelligent Processing Systems
This project is open-source under the MIT License.



