SlideShare una empresa de Scribd logo
1 de 32
Advanced RISC Machine
           ARM7 TDMI
           Prof. Anish Goel
µP Systems Overview




2            Advanced RISC Machine   Anish Goel
µP Systems Overview


 Complexity growth
 Like no other industry




3                         Advanced RISC Machine   Anish Goel
µP Systems Overview

    Embedded Systems and Applications
     Embedded microprocessors account for about 94% of all
     microprocessor sales.
     Embedded microprocessors extend over a much larger
     performance range than PC’s.
    Terminology
    GP Systems vs. Embedded Systems
     What are the key design parameters?




4                      Advanced RISC Machine        Anish Goel
µP Systems Overview

    Basic microprocessor system structure
      Central processing unit (CPU)
      Memory
      Input/Output (I/O)
      System bus
    A microcontroller or SoC will include some or all
    components on the same chip as the CPU.




5                        Advanced RISC Machine    Anish Goel
Why the ARM?

    Many possible devices to study (or use!)…
     Intel, Motorola, Microchip, Atmel, TI, Zilog, Philips, Rabbit,
     Siemens, Hitachi, AMD, etc.
    Considerations
     Installed base and software compatibility
     Development tool availability
     Complexity and architectural issues
     Computational capabilities
    Why not use the Pentium 4 instead?


6                          Advanced RISC Machine             Anish Goel
System Design
                       User needs
                  1 Requirements Analysis
                         2 Specification
                      3 System Architecture
       4 HW Design                             4 SW Design
    5 HW Implementation                   5 SW Implementation
       6 HW Testing                            6 SW Testing
                      7 System Integration
                       8 System Validation
                       9 O & M, Evolution
7                           Advanced RISC Machine               Anish Goel
Microprocessor System Design
Options
    Discrete microprocessor/microcontroller
    System-on-Chip (SoC)
     ASIC
    Programmable logic
     Soft cores
     Hard cores
    Specialized microprocessors
     Digital signal processors
     Network processors



8                        Advanced RISC Machine   Anish Goel
Simplified Pentium 4 Architecture




9             Advanced RISC Machine   Anish Goel
Caches: CPU-Memory Performance Gap




      350 nm
       (94%)                                                        130 nm
                          180 nm                                     (93%)
StrongArm SA-110
                           (86%) Itanium® 2 Processors
                                           From Dileep Bhandarkar, Intel
 10                Advanced RISC Machine                                   Anish Goel
Topics

     Microprocessor Organization
     Organization of Microprocessor Systems
     Endian-ness
     ARM History and Characteristics
     ARM7TDMI Implementation
     NXP LPC 2148 Overview




11                     Advanced RISC Machine   Anish Goel
Microprocessor Components

     Register file
       Program counter
       General purpose registers
       Hidden registers
     ALU
     Buses
     Memory interface
       Signal conventions
     Control and timing unit


12                          Advanced RISC Machine   Anish Goel
A Simple µP Architecture

                                                                                                                    16
                                                                                                                           ADDR


                  TR0                                    PC                                       AR
TEMPORARY    REGISTER                 PROGRAM     COUNTER                    ADDRESS       REGISTER


                                                                                                                     8
                                                                                                                           DATA
                                   Internal Data Bus
             A                                                                                     IR
  ACCUMULATOR           TEMP REG                       GEN REG 0   R0                       INST REG


                                                       GEN REG 1   R1
                                           F           GEN REG 2   R2
                                       FLAGS
                                                                                       INSTRUCTION DECODER
                                                                                                                          /RD
     ARITHMETIC AND LOGIC UNIT                         GEN REG 3   R3                   TIMING AND CONTROL
               (ALU)                                                                                                      /WR


                                                                          CLOCK
                                                                        GENERATOR                                         /RESET




            A less simple architecture
13                                              Advanced RISC Machine                                        Anish Goel
Instruction Set Architecture (ISA)
     Complex Instruction Set (CISC)
       Single instructions for complex tasks (string search, block
       move, RMW, etc.)
       Usually have variable length instructions
       Registers have specialized functions
     Reduced Instruction Set (RISC) (load/store)
       Instructions for simple operations only
       Usually fixed length instructions
       Large register sets (Register File based)




14                         Advanced RISC Machine           Anish Goel
Register Architectures
     Accumulator
      One instruction operand comes from a dedicated register
      (the accumulator) closely coupled to the ALU.
     Register-Memory
      Instruction operands can be obtained from both registers and
      memory
      Commonly used in CISC machines
     Load-Store
      All operands must be in general-purpose registers
      Only a very limited number of instructions (loads/stores) can
      “touch” memory
      Commonly used in RISC machines

15                       Advanced RISC Machine         Anish Goel
Microprocessor System Organization

     Memory Architectures
      Von Neumann architecture
      Harvard architecture
      Input/Output (I/O)
        Memory-mapped I/O
        Isolated I/O
     Programmer’s Model
      aka Register View
     Memory Maps



16                        Advanced RISC Machine   Anish Goel
Endian-ness
     Byte Ordering for Little Endian vs. Big Endian

                         Byte Byte Byte Byte
                          3    2    1    0
      Most Significant                                   Least Significant Byte
          Byte (MSB)                                     (LSB)

     Memory Address      +0       +1        +2      +3

      Big Endian         Byte    Byte     Byte Byte MSB in the lowest (first)
                          3       2        1    0 memory address
 Little Endian           Byte    Byte     Byte Byte LSB in the lowest (first)
                          0       1        2    3 memory address


17                              Advanced RISC Machine                Anish Goel
ARM Ltd

Founded in November 1990
  Spun out of Acorn Computers

Designs the ARM range of RISC processor cores
Licenses ARM core designs to semiconductor partners
who fabricate and sell to their customers.
   ARM does not fabricate silicon itself

Also develop technologies to assist with the design-in of
the ARM architecture
   Software tools, boards, debug hardware, application
   software, bus architectures, peripherals etc




18                              Advanced RISC Machine       Anish Goel
ARM Partnership Model




 19           Advanced RISC Machine   Anish Goel
ARM Powered Products




20           Advanced RISC Machine   Anish Goel
ARM Characteristics
     Designed to be a simple, efficient RISC core
      Small die area
      Low power
      Low interrupt latency
     These characteristics enabled ARM to become
     dominant in the cell phone market.
      Most cell phones contain a heterogenous multiprocessor
      SoC with an ARM and a DSP.
     Advanced ARM designs (ARM9,10,11) have
     become much more sophisticated (i.e. Intel Xscale
     in PDAs), but have had less success in penetrating
     other markets where power consumption issues
     are not as severe.

21                      Advanced RISC Machine       Anish Goel
CASE STUDY….
 ARM powered Product.
     Nintendo DS Lite
 Features:
     Touch Screen: Same specs as top
     screen, but with a transparent analog
     touch screen.
     Wireless Communication: IEEE 802.11
     embedded microphone for voice
     recognition
     embedded real-time clock; date, time
     and alarm
     CPUs: One ARM9 and one ARM7
     power-saving sleep mode

 http://www.arm.com/markets/home_solutions/app.html

22                         Advanced RISC Machine   Anish Goel
ARM7TDMI Implementation

     The ARM7TDMI uses the ARM v4T ISA.
      All instructions are conditional
     The ARM7TDMI is a basic load-store RISC
      Sixteen GP registers (R15-R0) with banking
      Three stage pipeline (FDE)
      No caches
      Support for ARM (32-bit) and Thumb (16-bit) instruction sets
      Multiply-accumulate (MAC) unit
      On-chip hardware debug support
        Test Access Port controller


23                        Advanced RISC Machine         Anish Goel
ARM7TDMI Processor Block Diagram




24         Advanced RISC Machine   Anish Goel
ARM7TDMI Processor Core




25        Advanced RISC Machine   Anish Goel
CPU Performance: Pipelining
 Several instructions are executed simultaneously at
 different stages of completion.

 Various conditions can cause pipeline bubbles that reduce
 utilization:
     branches;
     memory system delays;
     etc.

 Both ARM and SHARC have 3-stage pipes:
     fetch instruction from memory;
     decode opcode and operands;
     execute.

26                       Advanced RISC Machine   Anish Goel
ARM Pipeline Execution



            fetch    decode        execute    add r0,r1,#5


     sub r2,r3,r6    fetch         decode     execute

         cmp r2,#3                   fetch    decode        execute


                                                                time
              1         2               3


27                    Advanced RISC Machine             Anish Goel
Performance Measures
 Latency: time it takes for an instruction to get through
 the pipeline.

 Throughput: number of instructions executed per time
 period.

 Pipelining increases throughput without reducing latency.




28                    Advanced RISC Machine       Anish Goel
Pipeline Stalls
 If every step cannot be completed in the same amount of
 time, pipeline stalls.

 Bubbles introduced by stall increase latency, reduce
 throughput.




29                    Advanced RISC Machine       Anish Goel
ARM Multi-cycle LDMIA Instruction


ldmia        fetch decodeex ld r2ex ld r3
  r0,{r2,r3}

sub                        fetch decode                 ex sub
  r2,r3,r6

cmp                                 fetch               decodeex cmp
  r2,#3

                                                                              time
   http://www.sesp.cse.clrc.ac.uk/html/SoftwareTools/vtune/users_guide/mergedProj
   ects/analyzer_ec/mergedProjects/reference_olh/mergedProjects/instructions/xscin
   struct_hh/LDMIA_(Thumb).htm
   30                           Advanced RISC Machine                  Anish Goel
Control Stalls
 Branches often introduce stalls (branch penalty).
     Stall time may depend on whether branch is taken.


 May have to squash instructions that already started
 executing.

 Don’t know what to fetch until condition is evaluated.




31                       Advanced RISC Machine           Anish Goel
ARM Pipelined Branch


bne foo      fetch decode ex bne ex bne ex bne

sub                fetch decode
  r2,r3,r6

foo add                              fetch decode ex add
 r0,r1,r2

                      2 cycle                                     time
                      penalty



  32                   Advanced RISC Machine               Anish Goel

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

ARM Architecture
ARM ArchitectureARM Architecture
ARM Architecture
 
Arm architechture
Arm architechtureArm architechture
Arm architechture
 
2 introduction to arm architecture
2 introduction to arm architecture2 introduction to arm architecture
2 introduction to arm architecture
 
Introduction to ARM
Introduction to ARMIntroduction to ARM
Introduction to ARM
 
Arm processor
Arm processorArm processor
Arm processor
 
ARM - Advance RISC Machine
ARM - Advance RISC MachineARM - Advance RISC Machine
ARM - Advance RISC Machine
 
Ppt
PptPpt
Ppt
 
ARM Processor
ARM ProcessorARM Processor
ARM Processor
 
ARM Processor Tutorial
ARM Processor Tutorial ARM Processor Tutorial
ARM Processor Tutorial
 
Lecture8
Lecture8Lecture8
Lecture8
 
ARM Processors
ARM ProcessorsARM Processors
ARM Processors
 
Unitii armarchitecture-130305014346-phpapp01
Unitii armarchitecture-130305014346-phpapp01Unitii armarchitecture-130305014346-phpapp01
Unitii armarchitecture-130305014346-phpapp01
 
Arm processors' architecture
Arm processors'   architectureArm processors'   architecture
Arm processors' architecture
 
ARM Introduction
ARM IntroductionARM Introduction
ARM Introduction
 
ARM7TDM
ARM7TDMARM7TDM
ARM7TDM
 
Arm architecture overview
Arm architecture overviewArm architecture overview
Arm architecture overview
 
ARM 7 Detailed instruction set
ARM 7 Detailed instruction setARM 7 Detailed instruction set
ARM 7 Detailed instruction set
 
EMBEDDED SYSTEM DESIGN ARM architecture support for operating system by sanj...
 EMBEDDED SYSTEM DESIGN ARM architecture support for operating system by sanj... EMBEDDED SYSTEM DESIGN ARM architecture support for operating system by sanj...
EMBEDDED SYSTEM DESIGN ARM architecture support for operating system by sanj...
 
Arm architecture
Arm architectureArm architecture
Arm architecture
 
ARM architcture
ARM architcture ARM architcture
ARM architcture
 

Destacado

ARM7-ARCHITECTURE
ARM7-ARCHITECTURE ARM7-ARCHITECTURE
ARM7-ARCHITECTURE Dr.YNM
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERsravannunna24
 
Unit II Arm7 Thumb Instruction
Unit II Arm7 Thumb InstructionUnit II Arm7 Thumb Instruction
Unit II Arm7 Thumb InstructionDr. Pankaj Zope
 
Arm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furberArm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furberasodariyabhavesh
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction SetDr. Pankaj Zope
 
AAME ARM Techcon2013 002v02 Advanced Features
AAME ARM Techcon2013 002v02 Advanced FeaturesAAME ARM Techcon2013 002v02 Advanced Features
AAME ARM Techcon2013 002v02 Advanced FeaturesAnh Dung NGUYEN
 
Sierra Wireless Developer Day 2013 - Show&Tell 1 - ARM & Sierra Wireless
Sierra Wireless Developer Day 2013 - Show&Tell 1 - ARM & Sierra WirelessSierra Wireless Developer Day 2013 - Show&Tell 1 - ARM & Sierra Wireless
Sierra Wireless Developer Day 2013 - Show&Tell 1 - ARM & Sierra WirelessThibault Cantegrel
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded Systemsanishgoel
 
Unit II Arm 7 Introduction
Unit II Arm 7 IntroductionUnit II Arm 7 Introduction
Unit II Arm 7 IntroductionDr. Pankaj Zope
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scopeArshit Rai
 
Embedded System Practical Workshop using the ARM Processor
Embedded System Practical Workshop using the ARM ProcessorEmbedded System Practical Workshop using the ARM Processor
Embedded System Practical Workshop using the ARM ProcessorMomenMostafa
 
Introduction to arm architecture
Introduction to arm architectureIntroduction to arm architecture
Introduction to arm architectureZakaria Gomaa
 
Embedded System
Embedded SystemEmbedded System
Embedded Systemsureskal
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded SystemZakaria Gomaa
 
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7Noor Mohammad's Faltoos
 

Destacado (20)

ARM7-ARCHITECTURE
ARM7-ARCHITECTURE ARM7-ARCHITECTURE
ARM7-ARCHITECTURE
 
ARM- Programmer's Model
ARM- Programmer's ModelARM- Programmer's Model
ARM- Programmer's Model
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLER
 
Unit II Arm7 Thumb Instruction
Unit II Arm7 Thumb InstructionUnit II Arm7 Thumb Instruction
Unit II Arm7 Thumb Instruction
 
Arm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furberArm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furber
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
AAME ARM Techcon2013 002v02 Advanced Features
AAME ARM Techcon2013 002v02 Advanced FeaturesAAME ARM Techcon2013 002v02 Advanced Features
AAME ARM Techcon2013 002v02 Advanced Features
 
Sierra Wireless Developer Day 2013 - Show&Tell 1 - ARM & Sierra Wireless
Sierra Wireless Developer Day 2013 - Show&Tell 1 - ARM & Sierra WirelessSierra Wireless Developer Day 2013 - Show&Tell 1 - ARM & Sierra Wireless
Sierra Wireless Developer Day 2013 - Show&Tell 1 - ARM & Sierra Wireless
 
PAPR Reduction
PAPR Reduction PAPR Reduction
PAPR Reduction
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded Systems
 
arm
 arm arm
arm
 
Unit II Arm 7 Introduction
Unit II Arm 7 IntroductionUnit II Arm 7 Introduction
Unit II Arm 7 Introduction
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scope
 
Embedded System Practical Workshop using the ARM Processor
Embedded System Practical Workshop using the ARM ProcessorEmbedded System Practical Workshop using the ARM Processor
Embedded System Practical Workshop using the ARM Processor
 
Introduction to arm architecture
Introduction to arm architectureIntroduction to arm architecture
Introduction to arm architecture
 
Embedded System
Embedded SystemEmbedded System
Embedded System
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
 
Spark
SparkSpark
Spark
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
 
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
 

Similar a Arm Lecture

Similar a Arm Lecture (20)

Processor types
Processor typesProcessor types
Processor types
 
Unit 4 _ ARM Processors .pptx
Unit 4 _ ARM Processors .pptxUnit 4 _ ARM Processors .pptx
Unit 4 _ ARM Processors .pptx
 
LECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORSLECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORS
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
ARM Versions, architecture
ARM Versions, architectureARM Versions, architecture
ARM Versions, architecture
 
arm_3.ppt
arm_3.pptarm_3.ppt
arm_3.ppt
 
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
armarm
arm
 
Arm
ArmArm
Arm
 
Advance Microcontroller AVR
Advance Microcontroller AVRAdvance Microcontroller AVR
Advance Microcontroller AVR
 
18CS44-MODULE1-PPT.pdf
18CS44-MODULE1-PPT.pdf18CS44-MODULE1-PPT.pdf
18CS44-MODULE1-PPT.pdf
 
Arm arc-2016
Arm arc-2016Arm arc-2016
Arm arc-2016
 
Arm
ArmArm
Arm
 
Introduction to Advanced embedded systems course
Introduction to Advanced embedded systems courseIntroduction to Advanced embedded systems course
Introduction to Advanced embedded systems course
 
Necessity of 32-Bit Controllers
Necessity of 32-Bit ControllersNecessity of 32-Bit Controllers
Necessity of 32-Bit Controllers
 
Arm
ArmArm
Arm
 
18CS44-MODULE1-PPT.pptx
18CS44-MODULE1-PPT.pptx18CS44-MODULE1-PPT.pptx
18CS44-MODULE1-PPT.pptx
 
Module-2 Instruction Set Cpus.pdf
Module-2 Instruction Set Cpus.pdfModule-2 Instruction Set Cpus.pdf
Module-2 Instruction Set Cpus.pdf
 
PIC Introduction and explained in detailed
PIC Introduction and explained in detailedPIC Introduction and explained in detailed
PIC Introduction and explained in detailed
 
3.TechieNest microcontrollers
3.TechieNest  microcontrollers3.TechieNest  microcontrollers
3.TechieNest microcontrollers
 

Más de anishgoel

Computer Organization
Computer OrganizationComputer Organization
Computer Organizationanishgoel
 
Learning vhdl by examples
Learning vhdl by examplesLearning vhdl by examples
Learning vhdl by examplesanishgoel
 
Dot matrix module interface wit Raspberry Pi
Dot matrix module interface wit Raspberry PiDot matrix module interface wit Raspberry Pi
Dot matrix module interface wit Raspberry Pianishgoel
 
Input interface with Raspberry pi
Input interface with Raspberry piInput interface with Raspberry pi
Input interface with Raspberry pianishgoel
 
Learning Python for Raspberry Pi
Learning Python for Raspberry PiLearning Python for Raspberry Pi
Learning Python for Raspberry Pianishgoel
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pianishgoel
 
learning vhdl by examples
learning vhdl by exampleslearning vhdl by examples
learning vhdl by examplesanishgoel
 
Digital System Design Basics
Digital System Design BasicsDigital System Design Basics
Digital System Design Basicsanishgoel
 
digital design of communication systems
digital design of communication systemsdigital design of communication systems
digital design of communication systemsanishgoel
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos conceptsanishgoel
 
8051 Microcontroller Timer
8051 Microcontroller Timer8051 Microcontroller Timer
8051 Microcontroller Timeranishgoel
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O portsanishgoel
 
Serial Communication Interfaces
Serial Communication InterfacesSerial Communication Interfaces
Serial Communication Interfacesanishgoel
 
Embedded systems ppt iv part d
Embedded systems ppt iv   part dEmbedded systems ppt iv   part d
Embedded systems ppt iv part danishgoel
 
Embedded systems ppt iv part c
Embedded systems ppt iv   part cEmbedded systems ppt iv   part c
Embedded systems ppt iv part canishgoel
 
Embedded systems ppt iv part b
Embedded systems ppt iv   part bEmbedded systems ppt iv   part b
Embedded systems ppt iv part banishgoel
 
Embedded systems ppt ii
Embedded systems ppt iiEmbedded systems ppt ii
Embedded systems ppt iianishgoel
 
Embedded systems ppt iii
Embedded systems ppt iiiEmbedded systems ppt iii
Embedded systems ppt iiianishgoel
 
Embedded systems ppt iv part a
Embedded systems ppt iv   part aEmbedded systems ppt iv   part a
Embedded systems ppt iv part aanishgoel
 
Embedded systems ppt i
Embedded systems ppt iEmbedded systems ppt i
Embedded systems ppt ianishgoel
 

Más de anishgoel (20)

Computer Organization
Computer OrganizationComputer Organization
Computer Organization
 
Learning vhdl by examples
Learning vhdl by examplesLearning vhdl by examples
Learning vhdl by examples
 
Dot matrix module interface wit Raspberry Pi
Dot matrix module interface wit Raspberry PiDot matrix module interface wit Raspberry Pi
Dot matrix module interface wit Raspberry Pi
 
Input interface with Raspberry pi
Input interface with Raspberry piInput interface with Raspberry pi
Input interface with Raspberry pi
 
Learning Python for Raspberry Pi
Learning Python for Raspberry PiLearning Python for Raspberry Pi
Learning Python for Raspberry Pi
 
Raspberry Pi
Raspberry PiRaspberry Pi
Raspberry Pi
 
learning vhdl by examples
learning vhdl by exampleslearning vhdl by examples
learning vhdl by examples
 
Digital System Design Basics
Digital System Design BasicsDigital System Design Basics
Digital System Design Basics
 
digital design of communication systems
digital design of communication systemsdigital design of communication systems
digital design of communication systems
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos concepts
 
8051 Microcontroller Timer
8051 Microcontroller Timer8051 Microcontroller Timer
8051 Microcontroller Timer
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O ports
 
Serial Communication Interfaces
Serial Communication InterfacesSerial Communication Interfaces
Serial Communication Interfaces
 
Embedded systems ppt iv part d
Embedded systems ppt iv   part dEmbedded systems ppt iv   part d
Embedded systems ppt iv part d
 
Embedded systems ppt iv part c
Embedded systems ppt iv   part cEmbedded systems ppt iv   part c
Embedded systems ppt iv part c
 
Embedded systems ppt iv part b
Embedded systems ppt iv   part bEmbedded systems ppt iv   part b
Embedded systems ppt iv part b
 
Embedded systems ppt ii
Embedded systems ppt iiEmbedded systems ppt ii
Embedded systems ppt ii
 
Embedded systems ppt iii
Embedded systems ppt iiiEmbedded systems ppt iii
Embedded systems ppt iii
 
Embedded systems ppt iv part a
Embedded systems ppt iv   part aEmbedded systems ppt iv   part a
Embedded systems ppt iv part a
 
Embedded systems ppt i
Embedded systems ppt iEmbedded systems ppt i
Embedded systems ppt i
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 

Último (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 

Arm Lecture

  • 1. Advanced RISC Machine ARM7 TDMI Prof. Anish Goel
  • 2. µP Systems Overview 2 Advanced RISC Machine Anish Goel
  • 3. µP Systems Overview Complexity growth Like no other industry 3 Advanced RISC Machine Anish Goel
  • 4. µP Systems Overview Embedded Systems and Applications Embedded microprocessors account for about 94% of all microprocessor sales. Embedded microprocessors extend over a much larger performance range than PC’s. Terminology GP Systems vs. Embedded Systems What are the key design parameters? 4 Advanced RISC Machine Anish Goel
  • 5. µP Systems Overview Basic microprocessor system structure Central processing unit (CPU) Memory Input/Output (I/O) System bus A microcontroller or SoC will include some or all components on the same chip as the CPU. 5 Advanced RISC Machine Anish Goel
  • 6. Why the ARM? Many possible devices to study (or use!)… Intel, Motorola, Microchip, Atmel, TI, Zilog, Philips, Rabbit, Siemens, Hitachi, AMD, etc. Considerations Installed base and software compatibility Development tool availability Complexity and architectural issues Computational capabilities Why not use the Pentium 4 instead? 6 Advanced RISC Machine Anish Goel
  • 7. System Design User needs 1 Requirements Analysis 2 Specification 3 System Architecture 4 HW Design 4 SW Design 5 HW Implementation 5 SW Implementation 6 HW Testing 6 SW Testing 7 System Integration 8 System Validation 9 O & M, Evolution 7 Advanced RISC Machine Anish Goel
  • 8. Microprocessor System Design Options Discrete microprocessor/microcontroller System-on-Chip (SoC) ASIC Programmable logic Soft cores Hard cores Specialized microprocessors Digital signal processors Network processors 8 Advanced RISC Machine Anish Goel
  • 9. Simplified Pentium 4 Architecture 9 Advanced RISC Machine Anish Goel
  • 10. Caches: CPU-Memory Performance Gap 350 nm (94%) 130 nm 180 nm (93%) StrongArm SA-110 (86%) Itanium® 2 Processors From Dileep Bhandarkar, Intel 10 Advanced RISC Machine Anish Goel
  • 11. Topics Microprocessor Organization Organization of Microprocessor Systems Endian-ness ARM History and Characteristics ARM7TDMI Implementation NXP LPC 2148 Overview 11 Advanced RISC Machine Anish Goel
  • 12. Microprocessor Components Register file Program counter General purpose registers Hidden registers ALU Buses Memory interface Signal conventions Control and timing unit 12 Advanced RISC Machine Anish Goel
  • 13. A Simple µP Architecture 16 ADDR TR0 PC AR TEMPORARY REGISTER PROGRAM COUNTER ADDRESS REGISTER 8 DATA Internal Data Bus A IR ACCUMULATOR TEMP REG GEN REG 0 R0 INST REG GEN REG 1 R1 F GEN REG 2 R2 FLAGS INSTRUCTION DECODER /RD ARITHMETIC AND LOGIC UNIT GEN REG 3 R3 TIMING AND CONTROL (ALU) /WR CLOCK GENERATOR /RESET A less simple architecture 13 Advanced RISC Machine Anish Goel
  • 14. Instruction Set Architecture (ISA) Complex Instruction Set (CISC) Single instructions for complex tasks (string search, block move, RMW, etc.) Usually have variable length instructions Registers have specialized functions Reduced Instruction Set (RISC) (load/store) Instructions for simple operations only Usually fixed length instructions Large register sets (Register File based) 14 Advanced RISC Machine Anish Goel
  • 15. Register Architectures Accumulator One instruction operand comes from a dedicated register (the accumulator) closely coupled to the ALU. Register-Memory Instruction operands can be obtained from both registers and memory Commonly used in CISC machines Load-Store All operands must be in general-purpose registers Only a very limited number of instructions (loads/stores) can “touch” memory Commonly used in RISC machines 15 Advanced RISC Machine Anish Goel
  • 16. Microprocessor System Organization Memory Architectures Von Neumann architecture Harvard architecture Input/Output (I/O) Memory-mapped I/O Isolated I/O Programmer’s Model aka Register View Memory Maps 16 Advanced RISC Machine Anish Goel
  • 17. Endian-ness Byte Ordering for Little Endian vs. Big Endian Byte Byte Byte Byte 3 2 1 0 Most Significant Least Significant Byte Byte (MSB) (LSB) Memory Address +0 +1 +2 +3 Big Endian Byte Byte Byte Byte MSB in the lowest (first) 3 2 1 0 memory address Little Endian Byte Byte Byte Byte LSB in the lowest (first) 0 1 2 3 memory address 17 Advanced RISC Machine Anish Goel
  • 18. ARM Ltd Founded in November 1990 Spun out of Acorn Computers Designs the ARM range of RISC processor cores Licenses ARM core designs to semiconductor partners who fabricate and sell to their customers. ARM does not fabricate silicon itself Also develop technologies to assist with the design-in of the ARM architecture Software tools, boards, debug hardware, application software, bus architectures, peripherals etc 18 Advanced RISC Machine Anish Goel
  • 19. ARM Partnership Model 19 Advanced RISC Machine Anish Goel
  • 20. ARM Powered Products 20 Advanced RISC Machine Anish Goel
  • 21. ARM Characteristics Designed to be a simple, efficient RISC core Small die area Low power Low interrupt latency These characteristics enabled ARM to become dominant in the cell phone market. Most cell phones contain a heterogenous multiprocessor SoC with an ARM and a DSP. Advanced ARM designs (ARM9,10,11) have become much more sophisticated (i.e. Intel Xscale in PDAs), but have had less success in penetrating other markets where power consumption issues are not as severe. 21 Advanced RISC Machine Anish Goel
  • 22. CASE STUDY…. ARM powered Product. Nintendo DS Lite Features: Touch Screen: Same specs as top screen, but with a transparent analog touch screen. Wireless Communication: IEEE 802.11 embedded microphone for voice recognition embedded real-time clock; date, time and alarm CPUs: One ARM9 and one ARM7 power-saving sleep mode http://www.arm.com/markets/home_solutions/app.html 22 Advanced RISC Machine Anish Goel
  • 23. ARM7TDMI Implementation The ARM7TDMI uses the ARM v4T ISA. All instructions are conditional The ARM7TDMI is a basic load-store RISC Sixteen GP registers (R15-R0) with banking Three stage pipeline (FDE) No caches Support for ARM (32-bit) and Thumb (16-bit) instruction sets Multiply-accumulate (MAC) unit On-chip hardware debug support Test Access Port controller 23 Advanced RISC Machine Anish Goel
  • 24. ARM7TDMI Processor Block Diagram 24 Advanced RISC Machine Anish Goel
  • 25. ARM7TDMI Processor Core 25 Advanced RISC Machine Anish Goel
  • 26. CPU Performance: Pipelining Several instructions are executed simultaneously at different stages of completion. Various conditions can cause pipeline bubbles that reduce utilization: branches; memory system delays; etc. Both ARM and SHARC have 3-stage pipes: fetch instruction from memory; decode opcode and operands; execute. 26 Advanced RISC Machine Anish Goel
  • 27. ARM Pipeline Execution fetch decode execute add r0,r1,#5 sub r2,r3,r6 fetch decode execute cmp r2,#3 fetch decode execute time 1 2 3 27 Advanced RISC Machine Anish Goel
  • 28. Performance Measures Latency: time it takes for an instruction to get through the pipeline. Throughput: number of instructions executed per time period. Pipelining increases throughput without reducing latency. 28 Advanced RISC Machine Anish Goel
  • 29. Pipeline Stalls If every step cannot be completed in the same amount of time, pipeline stalls. Bubbles introduced by stall increase latency, reduce throughput. 29 Advanced RISC Machine Anish Goel
  • 30. ARM Multi-cycle LDMIA Instruction ldmia fetch decodeex ld r2ex ld r3 r0,{r2,r3} sub fetch decode ex sub r2,r3,r6 cmp fetch decodeex cmp r2,#3 time http://www.sesp.cse.clrc.ac.uk/html/SoftwareTools/vtune/users_guide/mergedProj ects/analyzer_ec/mergedProjects/reference_olh/mergedProjects/instructions/xscin struct_hh/LDMIA_(Thumb).htm 30 Advanced RISC Machine Anish Goel
  • 31. Control Stalls Branches often introduce stalls (branch penalty). Stall time may depend on whether branch is taken. May have to squash instructions that already started executing. Don’t know what to fetch until condition is evaluated. 31 Advanced RISC Machine Anish Goel
  • 32. ARM Pipelined Branch bne foo fetch decode ex bne ex bne ex bne sub fetch decode r2,r3,r6 foo add fetch decode ex add r0,r1,r2 2 cycle time penalty 32 Advanced RISC Machine Anish Goel