SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Ähnlich wie AMBA.ppt

Ähnlich wie 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)
 

Mehr von Anbuselvi Mathivanan

Mehr von 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
 

Kürzlich hochgeladen

HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
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
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal 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
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
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
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
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
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
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
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
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
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 

Kürzlich hochgeladen (20)

HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
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
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
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
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
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
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
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
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
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...
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.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
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 

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