SlideShare a Scribd company logo
1 of 23
ARM
 The ARM processor core is a key component of many successful
32-bit embedded systems.
 RISC (reduced instruction set computer) design philosophy was
adapted by ARM to create a flexible embedded processor.
1
SYNOPSIS
 ROLE OF ARM
 WHY ARM?
 RISC
 RISC VS CISC
 ARM FAMILIES
 ARM REGISTERS
 THUMB
 EXCEPTION
 ARCHITECTURE OF ARM
2
ROLE OF ARM CO.
 ARM HOLDINGS is a technology company situated in
Cambridge,England,UK.
 The Company is best known for its processors,and it also designs
software development tools such as KEIL,REALVIEW.
 ARM do not make IC’s.
 Examples:LPC2148 from NXP,AT91RM9200 from ATMEL
3
WHY ARM PROCESSOR ARE USED?
 Arm Processor can be used in any domain.
 Because of their reduced instruction set, they require fewer transistors,
which enables a smaller die size for the integrated circuitry (IC).
 ARM processor reduces complexity
 Easy to simulate
 Low power consumption makes it suitable for miniaturised devices.
4
RISC
 RISC is a design philosophy aimed at delivering simple but powerful
instructions that execute within a single cycle at a high clock speed.
 The RISC philosophy concentrates on reducing the complexity of
instructions performed by the hardware because it is easier to provide
greater flexibility and intelligence in software rather than hardware.
 The RISC philosophy is implemented with four major design rules:
o Instructions
o Pipelines
o Registers
o Load store architecture
5
COMPILER
processor processor
COMPILER
Greater
Complexity
Greater
Complexity
Code
Generation
Code
Generation
CISC vs. RISC
6
ARM NOMENCLATURE:
ARM{x}{y}{z}{T}{D}{M}{I}{E}{J}{F}{-S}
x—family
y—memory management/protection unit
z—cache
T—Thumb 16-bit decoder
D—JTAG debug
M—fast multiplier
I—Embedded ICE macrocell
E—enhanced instructions (assumes TDMI)
J— Jazelle
F—vector floating-point unit
7
ARM VERSIONS
 ARM7TDMI
 STRONG ARM
 ARM9
 ARM9TDMI,ARM9E
 ARM 10E
 ARM11
 Cortex-A for application process for high end running >1Ghz
 Cortex-R for real time process for mid range 400-600 Mhz
 Cortex-M for microcontroller for lower range <200 Mhz
8
9
ARM
FAMILY
YEAR OF
RELEASE
ARCHITECTURE PIPELINE FREQUENCY MULTIPLIER
ARM 7 1995 VON NEUMANN 3 STAGE 80MHZ 8X32
ARM 9 1997 HARVARD 5 STAGE 150MHZ 8X32
ARM 10 1999 HARVARD 6 STAGE 260MHZ 16X32
ARM 11 2003 HARVARD 8 STAGE 335MHZ 16X32
ARM PROCESSOR FAMILIES
10
ARM APPLICATIONS
 CORTEX A SERIES APPLICATIONS:
• Smartphones
• Digital TV
• Servers and networking
 CORTEX R SERIES APPLICATIONS:
 Automotive Braking systems
 Powertrain solutions
 Mass storage controller
 CORTEX M SERIES APPLICATIONS:
 Micro controllers
 Mixed signal devices
 Smart sensors
11
THUMB
 The Thumb is subset of the ARM instruction set.
 Thumb instructions are half the size of ARM instructions (16 bits
compared with 32 bits).
 However, the Thumb instruction set does have some limitations:
 Thumb code usually uses more instructions , making ARM code best for
maximizing performance of time-critical code.
 ARM state and some associated ARM instructions are required for
exception handling.
 The Thumb instruction set is always used in conjunction with a version
of the ARM instruction set.
12
EXCEPTION
 Exceptions are generated by internal and external sources to cause the
processor to handle an event , such as an externally generated
interrupt or an attempt to execute an Undefined instruction.
 Exceptions processing modes:
Exception Mode Purpose
Fast Interrupt Request FIQ Fast Interrupt Handling
Interrupt Request IRQ Normal Interrupt Handling
SWI and RESET SVC Protected Mode for OS
Prefetch and Data Abort ABT Memory Protection Handling
Undefined Instructions UND SW emulation of HW
coprocessing
Exception Priorities
 RESET
 DATA ABORT
 FIQ
 IRQ
 PREFETCH ABORT
 SWI ,UNDEFINED INSTRUCTION
14
HIGH
LOW
ARM REGISTERS
 ARM has 31 general-purpose 32-bit registers.
 At any one time, 16 of these registers are visible.
 The other registers are used to speed up exception processing.
Three of the 16 visible registers have special roles:
 Stack pointer Software normally uses R13 as a Stack Pointer (SP).
 Link register Register 14 is the Link Register (LR).
 Program counter Register 15 is the Program Counter (PC).
15
GENERAL PURPOSE REGISTERS
 The general-purpose registers R0 to R15 can be split into three
groups.
 These groups differ in the way they are banked and in their special-
purpose uses:
 The unbanked registers, R0 to R7
 The banked registers, R8 to R14
 Register 15 is the program counter.
16
Program status Registers
 The Current Program Status Register (CPSR) is accessible in all
processor modes.
 It contains condition code flags, interrupt disable bits, the current
processor mode, and other status and control information.
 Each exception mode also has a Saved Program Status Register
(SPSR), that is used to preserve the value of the CPSR when the
associated exception occurs.
17
The format of the CPSR and the SPSRs
N Z C V Q RES J RESV GE[3:0] RESV
E A I F T M[4:0]
31 30 29 28 27 26 25 24 23 20 19 16 15
10 9 8 7 6 5 4 0
N = Negative result from ALU flag.
Z = Zero result from ALU flag.
C = ALU operation Carried out
V = ALU operation overflowed
* Interrupt Disable bits.
I = 1, disables the IRQ.
F = 1, disables the FIQ.
* T Bit (Architecture v4T only)
T = 0, Processor in ARM state
T = 1, Processor in Thumb state
Copies of the ALU status flags (latched if the
instruction has the "S" bit set).
18
THE INSTRUCTION PIPELINE
 The ARM uses a pipeline in order to increase the speed of the
flow of instructions to the processor.
 Allows several operations to be undertaken simultaneously,
rather than serially.
FETCH
DECODE
EXECUTE
Instruction fetched from memory
Decoding of registers used in instruction
Register(s) read from Register Bank
Shift and ALU operation
Write register(s) back to Register Bank
PC
PC - 4
PC - 8
ARM
19
ARM ARCHITECTURE
20
ARM ARCHITECTURE FEATURES
 Simple addressing modes
 Uniform and fixed-length instruction fields
 A large uniform register file
 Control over both the Arithmetic Logic Unit (ALU) and shifter in
most data-processing instructions
 Load and Store Multiple instructions to maximize data throughput
 Conditional execution to maximize execution throughput.
21
ARM bus
 AMBA:(Advanced Microcontroller Bus Architecture)
-Open standard.
-Many external
devices.
 Varieties of AMBA:
AMBA High-Performance Bus(AHB) in 2000A simple transaction on the AHB
consists of an address phase and a subsequent data phase
AMBA PeripheralsBus (APB).APB is designed for low bandwidth control
accesses.
AMBA AXI(2005)Advanced eXtensible Interface for even higher performance
22
ARM PERIPHERALS
23

More Related Content

What's hot

2 introduction to arm architecture
2 introduction to arm architecture2 introduction to arm architecture
2 introduction to arm architecture
satish1jisatishji
 
Arm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_armArm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_arm
Prashant Ahire
 

What's hot (20)

Introduction to ARM
Introduction to ARMIntroduction to ARM
Introduction to ARM
 
2 introduction to arm architecture
2 introduction to arm architecture2 introduction to arm architecture
2 introduction to arm architecture
 
ARM Micro-controller
ARM Micro-controllerARM Micro-controller
ARM Micro-controller
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
Arm processors' architecture
Arm processors'   architectureArm processors'   architecture
Arm processors' architecture
 
Introduction to arm processor
Introduction to arm processorIntroduction to arm processor
Introduction to arm processor
 
Arm architecture
Arm architectureArm architecture
Arm architecture
 
The ARM Architecture: ARM : ARM Architecture
The ARM Architecture: ARM : ARM ArchitectureThe ARM Architecture: ARM : ARM Architecture
The ARM Architecture: ARM : ARM Architecture
 
Introduction to ARM Architecture
Introduction to ARM ArchitectureIntroduction to ARM Architecture
Introduction to ARM Architecture
 
LECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORSLECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORS
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLER
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
 
Arm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_armArm cortex-m3 by-joe_bungo_arm
Arm cortex-m3 by-joe_bungo_arm
 
ARM architcture
ARM architcture ARM architcture
ARM architcture
 
Lect 3 ARM PROCESSOR ARCHITECTURE
Lect 3  ARM PROCESSOR ARCHITECTURE Lect 3  ARM PROCESSOR ARCHITECTURE
Lect 3 ARM PROCESSOR ARCHITECTURE
 
Evolution of Microprocessor
Evolution of MicroprocessorEvolution of Microprocessor
Evolution of Microprocessor
 
ARM CORTEX M3 PPT
ARM CORTEX M3 PPTARM CORTEX M3 PPT
ARM CORTEX M3 PPT
 
ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
Embedded System basic and classifications
Embedded System basic and classificationsEmbedded System basic and classifications
Embedded System basic and classifications
 

Viewers also liked

Risc cisc Difference
Risc cisc DifferenceRisc cisc Difference
Risc cisc Difference
Sehrish Asif
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded Systems
anishgoel
 
Core I3 Vs Core I5
Core I3 Vs Core I5Core I3 Vs Core I5
Core I3 Vs Core I5
Ayeshasidhu
 
Introduction to multi core
Introduction to multi coreIntroduction to multi core
Introduction to multi core
mukul bhardwaj
 

Viewers also liked (20)

Arm Processor
Arm ProcessorArm Processor
Arm Processor
 
Basic of ARM Processor
Basic of ARM Processor Basic of ARM Processor
Basic of ARM Processor
 
CPU Architectures for Mobile Phone Devices
CPU Architectures for Mobile Phone DevicesCPU Architectures for Mobile Phone Devices
CPU Architectures for Mobile Phone Devices
 
Intel & ARM: Strategic Comparison
Intel & ARM: Strategic ComparisonIntel & ARM: Strategic Comparison
Intel & ARM: Strategic Comparison
 
RISC Vs CISC, Harvard v/s Van Neumann
RISC Vs CISC, Harvard v/s Van NeumannRISC Vs CISC, Harvard v/s Van Neumann
RISC Vs CISC, Harvard v/s Van Neumann
 
Risc cisc Difference
Risc cisc DifferenceRisc cisc Difference
Risc cisc Difference
 
ARM Processor
ARM ProcessorARM Processor
ARM Processor
 
Introduction to Embedded Architecture
Introduction to Embedded Architecture Introduction to Embedded Architecture
Introduction to Embedded Architecture
 
ARMv8-M TrustZone: A New Security Feature for Embedded Systems (FFRI Monthly ...
ARMv8-M TrustZone: A New Security Feature for Embedded Systems (FFRI Monthly ...ARMv8-M TrustZone: A New Security Feature for Embedded Systems (FFRI Monthly ...
ARMv8-M TrustZone: A New Security Feature for Embedded Systems (FFRI Monthly ...
 
Multi_Core_Processor_2015_(Download it!)
Multi_Core_Processor_2015_(Download it!)Multi_Core_Processor_2015_(Download it!)
Multi_Core_Processor_2015_(Download it!)
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded Systems
 
Core I3 Vs Core I5
Core I3 Vs Core I5Core I3 Vs Core I5
Core I3 Vs Core I5
 
Embedded Platform Architecture - I
Embedded Platform Architecture - IEmbedded Platform Architecture - I
Embedded Platform Architecture - I
 
Game controlling via android
Game controlling via androidGame controlling via android
Game controlling via android
 
Arm processor architecture awareness session pi technologies
Arm processor architecture awareness session pi technologiesArm processor architecture awareness session pi technologies
Arm processor architecture awareness session pi technologies
 
Unit vi (2)
Unit vi (2)Unit vi (2)
Unit vi (2)
 
Smart Phone CPU
Smart Phone CPUSmart Phone CPU
Smart Phone CPU
 
Embedded Systems - Training ppt
Embedded Systems - Training pptEmbedded Systems - Training ppt
Embedded Systems - Training ppt
 
Introduction to multi core
Introduction to multi coreIntroduction to multi core
Introduction to multi core
 
Android internals 08 - System start up, Media subsystem (rev_1.1)
Android internals 08 - System start up, Media subsystem (rev_1.1)Android internals 08 - System start up, Media subsystem (rev_1.1)
Android internals 08 - System start up, Media subsystem (rev_1.1)
 

Similar to Arm corrected ppt

Similar to Arm corrected ppt (20)

Unit 4 _ ARM Processors .pptx
Unit 4 _ ARM Processors .pptxUnit 4 _ ARM Processors .pptx
Unit 4 _ ARM Processors .pptx
 
arm
armarm
arm
 
Arm
ArmArm
Arm
 
Unitii armarchitecture-130305014346-phpapp01
Unitii armarchitecture-130305014346-phpapp01Unitii armarchitecture-130305014346-phpapp01
Unitii armarchitecture-130305014346-phpapp01
 
Arm Lecture
Arm LectureArm Lecture
Arm Lecture
 
ARM7-ARCHITECTURE
ARM7-ARCHITECTURE ARM7-ARCHITECTURE
ARM7-ARCHITECTURE
 
arm 7 microprocessor architecture ans pin diagram.ppt
arm 7 microprocessor architecture ans pin diagram.pptarm 7 microprocessor architecture ans pin diagram.ppt
arm 7 microprocessor architecture ans pin diagram.ppt
 
Arm
ArmArm
Arm
 
07-arm_overview.ppt
07-arm_overview.ppt07-arm_overview.ppt
07-arm_overview.ppt
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Arm
ArmArm
Arm
 
ARM 7 and 9 Core Architecture Illustration
ARM 7 and 9 Core Architecture IllustrationARM 7 and 9 Core Architecture Illustration
ARM 7 and 9 Core Architecture Illustration
 
arm-intro.ppt
arm-intro.pptarm-intro.ppt
arm-intro.ppt
 
ARM.ppt
ARM.pptARM.ppt
ARM.ppt
 
Lecture8
Lecture8Lecture8
Lecture8
 
07-arm_overview.ppt
07-arm_overview.ppt07-arm_overview.ppt
07-arm_overview.ppt
 
LPC 2148 Instructions Set.ppt
LPC 2148 Instructions Set.pptLPC 2148 Instructions Set.ppt
LPC 2148 Instructions Set.ppt
 
arm_3.ppt
arm_3.pptarm_3.ppt
arm_3.ppt
 
ARM Versions, architecture
ARM Versions, architectureARM Versions, architecture
ARM Versions, architecture
 
ARM
ARM ARM
ARM
 

Recently uploaded

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 

Recently uploaded (20)

Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
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
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
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
 
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
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 

Arm corrected ppt

  • 1. ARM  The ARM processor core is a key component of many successful 32-bit embedded systems.  RISC (reduced instruction set computer) design philosophy was adapted by ARM to create a flexible embedded processor. 1
  • 2. SYNOPSIS  ROLE OF ARM  WHY ARM?  RISC  RISC VS CISC  ARM FAMILIES  ARM REGISTERS  THUMB  EXCEPTION  ARCHITECTURE OF ARM 2
  • 3. ROLE OF ARM CO.  ARM HOLDINGS is a technology company situated in Cambridge,England,UK.  The Company is best known for its processors,and it also designs software development tools such as KEIL,REALVIEW.  ARM do not make IC’s.  Examples:LPC2148 from NXP,AT91RM9200 from ATMEL 3
  • 4. WHY ARM PROCESSOR ARE USED?  Arm Processor can be used in any domain.  Because of their reduced instruction set, they require fewer transistors, which enables a smaller die size for the integrated circuitry (IC).  ARM processor reduces complexity  Easy to simulate  Low power consumption makes it suitable for miniaturised devices. 4
  • 5. RISC  RISC is a design philosophy aimed at delivering simple but powerful instructions that execute within a single cycle at a high clock speed.  The RISC philosophy concentrates on reducing the complexity of instructions performed by the hardware because it is easier to provide greater flexibility and intelligence in software rather than hardware.  The RISC philosophy is implemented with four major design rules: o Instructions o Pipelines o Registers o Load store architecture 5
  • 7. ARM NOMENCLATURE: ARM{x}{y}{z}{T}{D}{M}{I}{E}{J}{F}{-S} x—family y—memory management/protection unit z—cache T—Thumb 16-bit decoder D—JTAG debug M—fast multiplier I—Embedded ICE macrocell E—enhanced instructions (assumes TDMI) J— Jazelle F—vector floating-point unit 7
  • 8. ARM VERSIONS  ARM7TDMI  STRONG ARM  ARM9  ARM9TDMI,ARM9E  ARM 10E  ARM11  Cortex-A for application process for high end running >1Ghz  Cortex-R for real time process for mid range 400-600 Mhz  Cortex-M for microcontroller for lower range <200 Mhz 8
  • 9. 9 ARM FAMILY YEAR OF RELEASE ARCHITECTURE PIPELINE FREQUENCY MULTIPLIER ARM 7 1995 VON NEUMANN 3 STAGE 80MHZ 8X32 ARM 9 1997 HARVARD 5 STAGE 150MHZ 8X32 ARM 10 1999 HARVARD 6 STAGE 260MHZ 16X32 ARM 11 2003 HARVARD 8 STAGE 335MHZ 16X32
  • 11. ARM APPLICATIONS  CORTEX A SERIES APPLICATIONS: • Smartphones • Digital TV • Servers and networking  CORTEX R SERIES APPLICATIONS:  Automotive Braking systems  Powertrain solutions  Mass storage controller  CORTEX M SERIES APPLICATIONS:  Micro controllers  Mixed signal devices  Smart sensors 11
  • 12. THUMB  The Thumb is subset of the ARM instruction set.  Thumb instructions are half the size of ARM instructions (16 bits compared with 32 bits).  However, the Thumb instruction set does have some limitations:  Thumb code usually uses more instructions , making ARM code best for maximizing performance of time-critical code.  ARM state and some associated ARM instructions are required for exception handling.  The Thumb instruction set is always used in conjunction with a version of the ARM instruction set. 12
  • 13. EXCEPTION  Exceptions are generated by internal and external sources to cause the processor to handle an event , such as an externally generated interrupt or an attempt to execute an Undefined instruction.  Exceptions processing modes: Exception Mode Purpose Fast Interrupt Request FIQ Fast Interrupt Handling Interrupt Request IRQ Normal Interrupt Handling SWI and RESET SVC Protected Mode for OS Prefetch and Data Abort ABT Memory Protection Handling Undefined Instructions UND SW emulation of HW coprocessing
  • 14. Exception Priorities  RESET  DATA ABORT  FIQ  IRQ  PREFETCH ABORT  SWI ,UNDEFINED INSTRUCTION 14 HIGH LOW
  • 15. ARM REGISTERS  ARM has 31 general-purpose 32-bit registers.  At any one time, 16 of these registers are visible.  The other registers are used to speed up exception processing. Three of the 16 visible registers have special roles:  Stack pointer Software normally uses R13 as a Stack Pointer (SP).  Link register Register 14 is the Link Register (LR).  Program counter Register 15 is the Program Counter (PC). 15
  • 16. GENERAL PURPOSE REGISTERS  The general-purpose registers R0 to R15 can be split into three groups.  These groups differ in the way they are banked and in their special- purpose uses:  The unbanked registers, R0 to R7  The banked registers, R8 to R14  Register 15 is the program counter. 16
  • 17. Program status Registers  The Current Program Status Register (CPSR) is accessible in all processor modes.  It contains condition code flags, interrupt disable bits, the current processor mode, and other status and control information.  Each exception mode also has a Saved Program Status Register (SPSR), that is used to preserve the value of the CPSR when the associated exception occurs. 17
  • 18. The format of the CPSR and the SPSRs N Z C V Q RES J RESV GE[3:0] RESV E A I F T M[4:0] 31 30 29 28 27 26 25 24 23 20 19 16 15 10 9 8 7 6 5 4 0 N = Negative result from ALU flag. Z = Zero result from ALU flag. C = ALU operation Carried out V = ALU operation overflowed * Interrupt Disable bits. I = 1, disables the IRQ. F = 1, disables the FIQ. * T Bit (Architecture v4T only) T = 0, Processor in ARM state T = 1, Processor in Thumb state Copies of the ALU status flags (latched if the instruction has the "S" bit set). 18
  • 19. THE INSTRUCTION PIPELINE  The ARM uses a pipeline in order to increase the speed of the flow of instructions to the processor.  Allows several operations to be undertaken simultaneously, rather than serially. FETCH DECODE EXECUTE Instruction fetched from memory Decoding of registers used in instruction Register(s) read from Register Bank Shift and ALU operation Write register(s) back to Register Bank PC PC - 4 PC - 8 ARM 19
  • 21. ARM ARCHITECTURE FEATURES  Simple addressing modes  Uniform and fixed-length instruction fields  A large uniform register file  Control over both the Arithmetic Logic Unit (ALU) and shifter in most data-processing instructions  Load and Store Multiple instructions to maximize data throughput  Conditional execution to maximize execution throughput. 21
  • 22. ARM bus  AMBA:(Advanced Microcontroller Bus Architecture) -Open standard. -Many external devices.  Varieties of AMBA: AMBA High-Performance Bus(AHB) in 2000A simple transaction on the AHB consists of an address phase and a subsequent data phase AMBA PeripheralsBus (APB).APB is designed for low bandwidth control accesses. AMBA AXI(2005)Advanced eXtensible Interface for even higher performance 22