Vous êtes sur la page 1sur 38

Bus AMBA

Advanced Microcontroller Bus Architecture (AMBA)


Rene.beuchat@epfl.ch Rene.beuchat@eig.unige.ch

Rf: AMBA Specification (Rev 2.0) www.arm.com ARM IHI 0011A


RB - 2003/2005 1

What to see
 AMBA system architecture  Derivatives Bus, AHB, ASB, APB  Transactions

RB - 2003/2005

Bus hierarchies
 Advanced Microcontroller Bus Architecture (AMBA)
  

Advanced High-performance Bus (AHB) Advanced System Bus (ASB) Advanced Peripheral Bus (APB).

RB - 2003/2005

Typical System

RB - 2003/2005

Advanced High-performance Bus (AHB)


 The AMBA AHB is for high-performance, high clock frequency system modules.  The AHB acts as the high-performance system backbone bus.  AHB supports the efficient connection of processors, onchip memories and off-chip external memory  interfaces with low-power peripheral macro cell functions.  AHB is also specified to ensure ease of use in an efficient design flow using synthesis and automated test techniques.

RB - 2003/2005

Advanced System Bus (ASB)


 The AMBA ASB is for high-performance system modules.  AMBA ASB is an alternative system bus suitable for use where the high-performance features of AHB are not required.  ASB also supports the efficient connection of processors, on-chip memories and off-chip external memory interfaces with low-power peripheral macrocell functions.
RB - 2003/2005 6

Advanced Peripheral Bus (APB)


 The AMBA APB is for low-power peripherals.  AMBA APB is optimized for minimal power consumption and reduced interface complexity to support peripheral functions. APB can be used in conjunction with either version of the system bus.
RB - 2003/2005 7

Objectives of the AMBA specification


 The AMBA specification has been derived to satisfy four key requirements:


to facilitate the right-first-time development of embedded microcontroller products with one or more CPUs or signal processors to be technology-independent and ensure that highly reusable peripheral and system macrocells can be migrated across a diverse range of IC processes and be appropriate for full-custom, standard cell and gate array technologies

RB - 2003/2005

Objectives of the AMBA specification (2)




to encourage modular system design to improve processor independence, providing a development road-map for advanced cached CPU cores and the development of peripheral libraries to minimize the silicon infrastructure required to support efficient on-chip and offchip communication for both operation and manufacturing test.

RB - 2003/2005

RB - 2003/2005

10

AMBA AHB, new generation


Advanced High-performance Bus AMBA AHB implements the features required for high-performance, high clock frequency systems including: burst transfers split transactions single-cycle bus master handover single-clock edge operation non-tristate implementation wider data bus configurations (64/128 bits).
RB - 2003/2005 11

AHB Components
 AHB master  AHB slave  AHB arbiter  AHB decoder
transfers initiator multi-master centralized decoder

RB - 2003/2005

12

AHB, general view, multi-master

RB - 2003/2005

13

AHB Master

RB - 2003/2005

14

AHB Slave

RB - 2003/2005

15

AHB Slave, mux data

RB - 2003/2005

16

AHB, simple transfert

RB - 2003/2005

17

AHB, wait

RB - 2003/2005

18

AHB, multiples transfers

RB - 2003/2005

19

AHB, examples of transfers

RB - 2003/2005

20

Data bus, little endian

RB - 2003/2005

21

Data bus, big endian

RB - 2003/2005

22

AHB, central arbiter

RB - 2003/2005

23

Centralized Arbitration

RB - 2003/2005

24

Arbitration

RB - 2003/2005

25

AHB decoder

RB - 2003/2005

26

AHB, decoding, example

RB - 2003/2005

27

AMBA ASB, old generation


Advanced System Bus

 burst transfers  pipelined transfer operation  multiple bus master.

RB - 2003/2005

28

ASB Master

RB - 2003/2005

29

ASB Slave

RB - 2003/2005

30

ASB decoder

RB - 2003/2005

31

ASB arbiter

RB - 2003/2005

32

AMBA APB

RB - 2003/2005

33

APB transferts

Write transfer
RB - 2003/2005

Read transfer
34

APB bridge

RB - 2003/2005

35

APB Slave

RB - 2003/2005

36

APB, tri-state Bus available depending on the implementation


write cycle

AHB

APB
RB - 2003/2005 37

tri-state Bus available depending on the implementation read cycle

APB,

AHB

APB
RB - 2003/2005 38

Vous aimerez peut-être aussi