amba presentation2

42
AMBA AHB 2.0 By Rashi Aggarwal Roll no. – 2012UGEC044

Upload: rashi-aggarwal

Post on 24-Jan-2017

137 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Amba presentation2

AMBA AHB 2.0

By – Rashi AggarwalRoll no. – 2012UGEC044

Page 2: Amba presentation2

AMBA INTRODUCTION

• The ARM Advanced Microcontroller Bus Architecture (AMBA) is an open-standard, on-chip interconnect specification for the connection and management of functional blocks in system-on-a-chip (SoC) designs

• AMBA is a registered trademark of ARM Ltd• AMBA was introduced by ARM in 1996.

Page 3: Amba presentation2

Evolution of amba protocols• AMBA protocols categorized into three generations• The first generation -ASB and APB. • ASB- for highperformance system modules• APB- for low-power peripherals• the second generation - came up with an advanced bus protocol

for high-performance named as AHB (Advanced Highperformance Bus)

• third generation protocol which is the AMBA AXI namely the Advanced eXtensible Interface- supports high frequency as well as high-performance system designs for high-speed interconnect.

Page 4: Amba presentation2

applications

• The availability of SystemVerilog assertions for AMBA promotes this industry-wide participation.

• It is the most widely adopted industry standard for on-chip connectivity for IP products varying from; Memory Controllers, Interconnects, GPU's, CPU's.

• AHB supports system modules with high-clock frequency and high-performance.

Page 5: Amba presentation2

Need of AMBA AHB

• The multi-layer architecture acts as a crossbar switch between masters and slaves in AHB system.

• A crossbar switch is a switch connecting multiple inputs to multiple outputs in a matrix manner.

• The parallel links allow the bandwidth of the interconnect to support the peak bandwidth of the masters without increasing the frequency of the interconnect.

• The AHB is a single-channel, shared bus• then the AHB will be a 128 bit bus running at 400 MHz

Page 6: Amba presentation2
Page 7: Amba presentation2
Page 8: Amba presentation2

Typical AMBA Based AHB system

Page 9: Amba presentation2

Bus Interconnection

Page 10: Amba presentation2

AHB Master

Page 11: Amba presentation2

AHB Slave

Page 12: Amba presentation2

Basic transfers

Read Transfer Data read without wait state Before third

Positive edge of clock

Page 13: Amba presentation2

Write Transfer

Data written at second Pos edge of clock

Page 14: Amba presentation2

Transfers with wait states

Read transfer Data read after third Pos clock edge

Page 15: Amba presentation2

Multilayer Transfers

Transfer to A & C in 0 wait state

Transfer to B with one wait state

Page 16: Amba presentation2

Transfer type encoding

Page 17: Amba presentation2

Transfer type example

4 beat readstarts

2nd beat 3rd beat Last beat Data read for thirdand last beat

Page 18: Amba presentation2

Burst operation

Page 19: Amba presentation2

4byte word in 4 beats => 4*4=16byte boundary

Page 20: Amba presentation2
Page 21: Amba presentation2

Example of 4 beat wrapping burst

Page 22: Amba presentation2

Example of 4 beat incrementing burst

Page 23: Amba presentation2

Example of 8 beat wrapping burst

Page 24: Amba presentation2

Example of 8 beat incrementing burst

Page 25: Amba presentation2

Example of undefined length

Page 26: Amba presentation2

EARLY BUS TERMINATION

• The slave can determine when a burst has terminated early by monitoring the HTRANS signals

• Ensures that after the start of the burst every transfer is labelled as SEQUENTIAL or BUSY.

• If a NONSEQUENTIAL or IDLE transfer occurs then this indicates that a new burst has started

• Therefore the previous one must have been terminated.

Page 27: Amba presentation2

Transfer direction

Page 28: Amba presentation2

Transfer size

Page 29: Amba presentation2

Endianness

Page 30: Amba presentation2

Little Endian

Page 31: Amba presentation2

Big Endian

Page 32: Amba presentation2

Slave Address Decoding

Page 33: Amba presentation2

Reponse introduction

Page 34: Amba presentation2

Slave Transfer Response

Page 35: Amba presentation2

HREADY wrt HRESP

Page 36: Amba presentation2
Page 37: Amba presentation2
Page 38: Amba presentation2

Example of error response

Page 39: Amba presentation2

Data buses

Page 40: Amba presentation2
Page 41: Amba presentation2

Example of HRDATA & HWDATA

Provide data onlyin final cycle

Holds data fornext cycle also

Page 42: Amba presentation2

conclusions• The development of an Advanced Microcontroller Bus

Architecture (AMBA) as an Advanced High-performance Bus (AHB)master slave was presented.

• It was built to increase the system performance by reducing memory access time during the reading and writing of information from and to the memory

• the delay for the read and write operations is less than microprocessors and other memory controllers

• .With the reduced delay, the system speed is increased. So the system efficiency is increased

• Thus the system performance is improved to a greater rate by using AMBA AHB Bus.