Ece 747 Digital Signal Processing Architecture: Soc Lecture - Working With Buses & Interconnects
Ece 747 Digital Signal Processing Architecture: Soc Lecture - Working With Buses & Interconnects
Todays Lecture
Introduction
AMBA Peripheral Bus (APB) AMBA High-Performance Bus (AHB) AMBA Extensible Interconnect (AXI)
W. Rhett Davis
NC State University
ECE 747
Spring 2007
Slide 2
Why do we care?
What is a Bus?
What is an Interconnect?
W. Rhett Davis
NC State University
ECE 747
Spring 2007
Slide 3
Our Question
Well focus on AMBA in this class, because its the one our simulator models.
W. Rhett Davis NC State University ECE 747 Spring 2007 Slide 5
AMBA Introduction
Advanced Microcontroller Bus Architecture (AMBA), created by ARM as an interface for their microprocessors. Easy to obtain documentation (free download) and can be used without royalties. Very common in commercial SoCs (e.g. Qualcomm Multimedia Cellphone SoC) AMBA 2.0 released in 1999, includes APB and AHB AMBA 3.0 released in 2003, includes AXI
NC State University ECE 747 Spring 2007 Slide 6
W. Rhett Davis
Todays Lecture
Introduction
AMBA Peripheral Bus (APB) AMBA High-Performance Bus (AHB) AMBA Extensible Interconnect (AXI)
W. Rhett Davis
NC State University
ECE 747
Spring 2007
Slide 8
APB Introduction
Low overhead only 4 control signals Only one master is allowed Three states: IDLE, SETUP, and ENABLE Slave is non-responsive: Transfer always takes 2 cycles
Makes timing easy to design: data is always latched between the two cycles
W. Rhett Davis
NC State University
ECE 747
Spring 2007
Slide 9
W. Rhett Davis
NC State University
ECE 747
Spring 2007
Slide 10
W. Rhett Davis
NC State University
ECE 747
Spring 2007
Slide 11
APB Performance
If AHB is high performance than APB must be low performance. What does that mean? If we were to connect an SDRAM as an APB slave from the previous lecture, what would our minimum bus clock period be?
W. Rhett Davis
NC State University
ECE 747
Spring 2007
Slide 12
Todays Lecture
Introduction
AMBA Peripheral Bus (APB) AMBA High-Performance Bus (AHB) AMBA Extensible Interconnect (AXI)
W. Rhett Davis
NC State University
ECE 747
Spring 2007
Slide 13
AHB Introduction
Larger overhead ~27 control signals Up to 15 masters allowed Split Transaction phases: Address, Data (Pipelined) HREADY signal allows insertion of waitstates
W. Rhett Davis
NC State University
ECE 747
Spring 2007
Slide 14
AHB Architecture
Central MUX is used, rather than a bus Achieves smaller delays than a single wire w/ tri-state buffers
Source: AMBA Specification, Rev. 2.0
W. Rhett Davis NC State University ECE 747 Spring 2007 Slide 15
Address preceeds data by one cycle Mimics SDRAM operation, achieves greater data bandwidth
Addresses are pipelined to improve memory efficiency HREADY from slave allows insertion of wait states
W. Rhett Davis
Todays Lecture
Introduction
AMBA Peripheral Bus (APB) AMBA High-Performance Bus (AHB) AMBA Extensible Interconnect (AXI)
W. Rhett Davis
NC State University
ECE 747
Spring 2007
Slide 20
AXI Introduction
Larger overhead ~77 control signals Up to 16 masters allowed 5 separate channels for address, data, and responses Not so much of an interconnect specification as a protocol (interconnect architecture is left unspecified)
W. Rhett Davis
NC State University
ECE 747
Spring 2007
Slide 21
Multi-Channel Support
Address, Data, and Response split between channels, rather than phases Allows simultaneous reads and writes
W. Rhett Davis
Multi-Layer Connectivity
Source: PL300 Technical Reference Manual
PL300 Interconnect is implemented as a crossbar: Multiple masters can talk to multiple slaves simultaneously
NC State University