38
RB - 2003/2005 1 Bus AMBA Advanced Microcontroller Bus Architecture (AMBA) [email protected] [email protected] Réf: AMBA™ Specification (Rev 2.0) www.arm.com ARM IHI 0011A

AMBA Bus Rev1

Embed Size (px)

Citation preview

Page 1: AMBA Bus Rev1

RB - 2003/2005 1

Bus AMBA

Advanced Microcontroller Bus Architecture (AMBA)

[email protected]

[email protected]

Réf: AMBA™ Specification

(Rev 2.0)

www.arm.com

ARM IHI 0011A

Page 2: AMBA Bus Rev1

RB - 2003/2005 2

What to see

AMBA system architecture Derivatives Bus, AHB, ASB, APB Transactions

Page 3: AMBA Bus Rev1

RB - 2003/2005 3

Bus hierarchies

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

Page 4: AMBA Bus Rev1

RB - 2003/2005 4

Typical System

Page 5: AMBA Bus Rev1

RB - 2003/2005 5

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, on-chip 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.

Page 6: AMBA Bus Rev1

RB - 2003/2005 6

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.

Page 7: AMBA Bus Rev1

RB - 2003/2005 7

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.

Page 8: AMBA Bus Rev1

RB - 2003/2005 8

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

Page 9: AMBA Bus Rev1

RB - 2003/2005 9

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 off-chip communication for both operation and manufacturing test.

Page 10: AMBA Bus Rev1

RB - 2003/2005 10

Page 11: AMBA Bus Rev1

RB - 2003/2005 11

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).

Page 12: AMBA Bus Rev1

RB - 2003/2005 12

AHB Components

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

decoder

Page 13: AMBA Bus Rev1

RB - 2003/2005 13

AHB, general view, multi-master

Page 14: AMBA Bus Rev1

RB - 2003/2005 14

AHB Master

Page 15: AMBA Bus Rev1

RB - 2003/2005 15

AHB Slave

Page 16: AMBA Bus Rev1

RB - 2003/2005 16

AHB Slave, mux data

Page 17: AMBA Bus Rev1

RB - 2003/2005 17

AHB, simple transfert

Page 18: AMBA Bus Rev1

RB - 2003/2005 18

AHB, wait

Page 19: AMBA Bus Rev1

RB - 2003/2005 19

AHB, multiples transfers

Page 20: AMBA Bus Rev1

RB - 2003/2005 20

AHB, examples of transfers

Page 21: AMBA Bus Rev1

RB - 2003/2005 21

Data bus, little endian

Page 22: AMBA Bus Rev1

RB - 2003/2005 22

Data bus, big endian

Page 23: AMBA Bus Rev1

RB - 2003/2005 23

AHB, central arbiter

Page 24: AMBA Bus Rev1

RB - 2003/2005 24

Centralized Arbitration

Page 25: AMBA Bus Rev1

RB - 2003/2005 25

Arbitration

Page 26: AMBA Bus Rev1

RB - 2003/2005 26

AHB decoder

Page 27: AMBA Bus Rev1

RB - 2003/2005 27

AHB, decoding, example

Page 28: AMBA Bus Rev1

RB - 2003/2005 28

AMBA ASB, old generation Advanced System Bus

burst transfers pipelined transfer operation multiple bus master.

Page 29: AMBA Bus Rev1

RB - 2003/2005 29

ASB Master

Page 30: AMBA Bus Rev1

RB - 2003/2005 30

ASB Slave

Page 31: AMBA Bus Rev1

RB - 2003/2005 31

ASB decoder

Page 32: AMBA Bus Rev1

RB - 2003/2005 32

ASB arbiter

Page 33: AMBA Bus Rev1

RB - 2003/2005 33

AMBA APB

Page 34: AMBA Bus Rev1

RB - 2003/2005 34

APB transferts

Write transfer Read transfer

Page 35: AMBA Bus Rev1

RB - 2003/2005 35

APB bridge

Page 36: AMBA Bus Rev1

RB - 2003/2005 36

APB Slave

Page 37: AMBA Bus Rev1

RB - 2003/2005 37

APB, tri-state Bus available depending on the implementationwrite cycle

AHB

APB

Page 38: AMBA Bus Rev1

RB - 2003/2005 38

APB, tri-state Bus available depending on the implementationread cycle

AHB

APB