SlideShare uma empresa Scribd logo
1 de 14
ARM - AMBA
M. ANBUSELVI
ASP/ECE
Session Objectives
 To learn about Advanced Microcontroller Bus Architecture
Session Outcomes
 At the end of the session, students will be able to
 Understand the Advanced Microcontroller Bus Architecture
Outline
 To discuss about
 Advanced Microcontroller Bus Architecture
Advanced Microcontroller Bus Architecture
• ARM processor cores have bus interfaces that are optimized for
high-speed cache interfacing.
• Where a core is used, with or without a cache, as a component on
a complex system chip, some interfacing is required to allow the
ARM to communicate with other on-chip macrocells.
• ARM Limited specified the Advanced Microcontroller Bus
Architecture, AMBA, to standardize the on-chip connection of
different macrocells.
• Macrocells designed to this bus interface can be viewed as a kit of
parts for future system chips, and ultimately designing a complex
system on a chip based on a new combination of existing
macrocells
Advanced Microcontroller Bus Architecture
• The Advanced High-performance Bus (AHB)
• Used to connect high-performance system modules. It supports burst
mode data transfers and split transactions, and all timing is reference to
a single clock edge.
• The Advanced System Bus (ASB)
• used to connect high-performance system modules. It supports burst
mode data transfers.
• The Advanced Peripheral Bus (APB)
• Offers a simpler interface for low-performance peripherals.
• AHB to support for higher performance, synthesis and timing
verification.
• The APB is generally used as a local secondary bus which appears as a
single slave module on the AHB or ASB.
Advanced Microcontroller Bus Architecture
• A typical AMBA-based microcontroller will incorporate either an
AHB or an ASB together with an APB
Bus Arbitration
• A bus transaction is initiated by a bus master which requests
access from a central arbiter.
• The arbiter decides priorities when there are conflicting requests,
and its design is a system specific issue.
• The ASB only specifies the protocol which must be followed:
• The master, x, issues a request (AREQx) to the central arbiter.
• When the bus is available, the arbiter issues a grant (AGNTx) to
the master.
• (The arbitration must take account of the bus lock signal (BLOK)
when deciding which grant to issue to ensure that atomic bus
transactions are not violated.)
Bus Transfer - Master
• When a master has been granted access to the bus, it issues
address and control information to indicate the type of the
transfer and the slave device which should respond.
• The following signal is used to define the transaction timing:
• The bus clock, BCLK.
• The bus master which holds the grant then proceeds with the bus
transaction using the following signals:
• Bus transaction, BTRAN[1:0], indicates whether the next bus
cycle will be address-only, sequential or non-sequential.
• It is enabled by the grant signal and is ahead of the bus cycle to
which it refers.
• The address bus, BA[31:0]
Bus Transfer - Master
• Bus transfer direction, BWRITE.
• Bus protection signals, BPROT[1:0],
• which indicate instruction or data fetches and supervisor or user
access.
• The transfer size, BSIZE[1:0],
• specifies a byte, half-word or word transfer.
• Bus lock, BLOK,
• allows a master to retain the bus to complete an atomic read-
modify-write transaction.
• The data bus, BD[31:0],
• used to transmit write data and to receive read data.
• In an implementation with multiplexed address and data, the
address is also transmitted down this bus.
Bus Transfer - Slave
• A slave unit may process the requested transaction immediately,
accepting write data or issuing read data on ED[31:0], or signal
one of the following responses:
• Bus wait, BWAIT,
• allows a slave module to insert wait states when it cannot
complete the transaction in the current cycle.
• Bus last, BLAST,
• allows a slave to terminate a sequential burst to force the bus
master to issue a new bus transaction request to continue.
• Bus error, BERROR,
• indicates a transaction that cannot be completed.
• If the master is a processor it should abort the transfer.
Bus Reset
• The ASB supports a number of independent on-chip modules,
many of which may be able to drive the data bus (and some
control lines).
• Provided all the modules obey the bus protocols, there will only be
one module driving any bus line at any time.
• Immediately after power-on, however, all the modules come up in
unknown states.
• It takes some time for a clock oscillator to stabilize after power-
up, so there may be no reliable clock available to sequence all the
modules into a known state.
Bus Reset
• In any case,
• if two or more modules power-up trying to drive bus lines in
opposite directions, the
• output drive clashes may cause power supply crow-bar problems
which may prevent
• the chip from powering up properly at all.
• Correct ASB power-up is ensured by imposing an asynchronous
reset mode that
• forces all drivers off the bus independently of the clock.
References
• Steve Furber, ‘’ARM System - On - Chip architecture” Addison
Wesley, 2000

Mais conteúdo relacionado

Semelhante a AMBA.ppt

Semelhante a AMBA.ppt (20)

Ec305.13 buses mgl
Ec305.13 buses mglEc305.13 buses mgl
Ec305.13 buses mgl
 
Ec305.13 buses mgl
Ec305.13 buses mglEc305.13 buses mgl
Ec305.13 buses mgl
 
AMBA 2.0 REPORT
AMBA 2.0 REPORTAMBA 2.0 REPORT
AMBA 2.0 REPORT
 
final
finalfinal
final
 
Arbitration in computer organization
 Arbitration in computer organization   Arbitration in computer organization
Arbitration in computer organization
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
Amba ppt
Amba pptAmba ppt
Amba ppt
 
IRJET- Performance Verification of Amba Multi-Master AHB Bus using System...
IRJET-  	  Performance Verification of Amba Multi-Master AHB Bus using System...IRJET-  	  Performance Verification of Amba Multi-Master AHB Bus using System...
IRJET- Performance Verification of Amba Multi-Master AHB Bus using System...
 
Es notes unit 2
Es notes unit 2Es notes unit 2
Es notes unit 2
 
Thesis Presentation on Renewal theory based 802.15.6 latest.pptx
Thesis Presentation on Renewal theory based 802.15.6 latest.pptxThesis Presentation on Renewal theory based 802.15.6 latest.pptx
Thesis Presentation on Renewal theory based 802.15.6 latest.pptx
 
Frame relay
Frame relayFrame relay
Frame relay
 
FlexRay
FlexRayFlexRay
FlexRay
 
AMBA 2.0
AMBA 2.0AMBA 2.0
AMBA 2.0
 
IRJET - Analysis of Different Arbitration Algorithms for Amba Ahb Bus Protoco...
IRJET - Analysis of Different Arbitration Algorithms for Amba Ahb Bus Protoco...IRJET - Analysis of Different Arbitration Algorithms for Amba Ahb Bus Protoco...
IRJET - Analysis of Different Arbitration Algorithms for Amba Ahb Bus Protoco...
 
dem.pptx
dem.pptxdem.pptx
dem.pptx
 
idea
ideaidea
idea
 
WSN-IEEE 802.15.4 -MAC Protocol
WSN-IEEE 802.15.4 -MAC ProtocolWSN-IEEE 802.15.4 -MAC Protocol
WSN-IEEE 802.15.4 -MAC Protocol
 
M Sc Tns 2823134 Assignment 1 Atm Switching Abidafsar
M Sc Tns 2823134 Assignment 1 Atm Switching AbidafsarM Sc Tns 2823134 Assignment 1 Atm Switching Abidafsar
M Sc Tns 2823134 Assignment 1 Atm Switching Abidafsar
 
Ch 02 (1)
Ch 02 (1)Ch 02 (1)
Ch 02 (1)
 
Ch 02 (1)
Ch 02 (1)Ch 02 (1)
Ch 02 (1)
 

Mais de Anbuselvi Mathivanan

Mais de Anbuselvi Mathivanan (6)

ARM programmer's model.pdf
ARM programmer's model.pdfARM programmer's model.pdf
ARM programmer's model.pdf
 
batteries-08-00266.pdf
batteries-08-00266.pdfbatteries-08-00266.pdf
batteries-08-00266.pdf
 
evaluator-report-Part-B-pg-engg-v0.pdf
evaluator-report-Part-B-pg-engg-v0.pdfevaluator-report-Part-B-pg-engg-v0.pdf
evaluator-report-Part-B-pg-engg-v0.pdf
 
CAN BUS.ppt
CAN BUS.pptCAN BUS.ppt
CAN BUS.ppt
 
Introduction to PIC.pptx
Introduction to PIC.pptxIntroduction to PIC.pptx
Introduction to PIC.pptx
 
Iteration bound
Iteration boundIteration bound
Iteration bound
 

Último

NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 

Último (20)

NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 

AMBA.ppt

  • 1. ARM - AMBA M. ANBUSELVI ASP/ECE
  • 2. Session Objectives  To learn about Advanced Microcontroller Bus Architecture
  • 3. Session Outcomes  At the end of the session, students will be able to  Understand the Advanced Microcontroller Bus Architecture
  • 4. Outline  To discuss about  Advanced Microcontroller Bus Architecture
  • 5. Advanced Microcontroller Bus Architecture • ARM processor cores have bus interfaces that are optimized for high-speed cache interfacing. • Where a core is used, with or without a cache, as a component on a complex system chip, some interfacing is required to allow the ARM to communicate with other on-chip macrocells. • ARM Limited specified the Advanced Microcontroller Bus Architecture, AMBA, to standardize the on-chip connection of different macrocells. • Macrocells designed to this bus interface can be viewed as a kit of parts for future system chips, and ultimately designing a complex system on a chip based on a new combination of existing macrocells
  • 6. Advanced Microcontroller Bus Architecture • The Advanced High-performance Bus (AHB) • Used to connect high-performance system modules. It supports burst mode data transfers and split transactions, and all timing is reference to a single clock edge. • The Advanced System Bus (ASB) • used to connect high-performance system modules. It supports burst mode data transfers. • The Advanced Peripheral Bus (APB) • Offers a simpler interface for low-performance peripherals. • AHB to support for higher performance, synthesis and timing verification. • The APB is generally used as a local secondary bus which appears as a single slave module on the AHB or ASB.
  • 7. Advanced Microcontroller Bus Architecture • A typical AMBA-based microcontroller will incorporate either an AHB or an ASB together with an APB
  • 8. Bus Arbitration • A bus transaction is initiated by a bus master which requests access from a central arbiter. • The arbiter decides priorities when there are conflicting requests, and its design is a system specific issue. • The ASB only specifies the protocol which must be followed: • The master, x, issues a request (AREQx) to the central arbiter. • When the bus is available, the arbiter issues a grant (AGNTx) to the master. • (The arbitration must take account of the bus lock signal (BLOK) when deciding which grant to issue to ensure that atomic bus transactions are not violated.)
  • 9. Bus Transfer - Master • When a master has been granted access to the bus, it issues address and control information to indicate the type of the transfer and the slave device which should respond. • The following signal is used to define the transaction timing: • The bus clock, BCLK. • The bus master which holds the grant then proceeds with the bus transaction using the following signals: • Bus transaction, BTRAN[1:0], indicates whether the next bus cycle will be address-only, sequential or non-sequential. • It is enabled by the grant signal and is ahead of the bus cycle to which it refers. • The address bus, BA[31:0]
  • 10. Bus Transfer - Master • Bus transfer direction, BWRITE. • Bus protection signals, BPROT[1:0], • which indicate instruction or data fetches and supervisor or user access. • The transfer size, BSIZE[1:0], • specifies a byte, half-word or word transfer. • Bus lock, BLOK, • allows a master to retain the bus to complete an atomic read- modify-write transaction. • The data bus, BD[31:0], • used to transmit write data and to receive read data. • In an implementation with multiplexed address and data, the address is also transmitted down this bus.
  • 11. Bus Transfer - Slave • A slave unit may process the requested transaction immediately, accepting write data or issuing read data on ED[31:0], or signal one of the following responses: • Bus wait, BWAIT, • allows a slave module to insert wait states when it cannot complete the transaction in the current cycle. • Bus last, BLAST, • allows a slave to terminate a sequential burst to force the bus master to issue a new bus transaction request to continue. • Bus error, BERROR, • indicates a transaction that cannot be completed. • If the master is a processor it should abort the transfer.
  • 12. Bus Reset • The ASB supports a number of independent on-chip modules, many of which may be able to drive the data bus (and some control lines). • Provided all the modules obey the bus protocols, there will only be one module driving any bus line at any time. • Immediately after power-on, however, all the modules come up in unknown states. • It takes some time for a clock oscillator to stabilize after power- up, so there may be no reliable clock available to sequence all the modules into a known state.
  • 13. Bus Reset • In any case, • if two or more modules power-up trying to drive bus lines in opposite directions, the • output drive clashes may cause power supply crow-bar problems which may prevent • the chip from powering up properly at all. • Correct ASB power-up is ensured by imposing an asynchronous reset mode that • forces all drivers off the bus independently of the clock.
  • 14. References • Steve Furber, ‘’ARM System - On - Chip architecture” Addison Wesley, 2000