Digital circuits, including digital computers, are formed from binary circuits

RAJESHSKR 51 views 34 slides Aug 20, 2024
Slide 1
Slide 1 of 34
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34

About This Presentation

Digital circuits, including digital computers, are formed from binary circuits. Binary digital circuits are electronic circuits whose output can be only one of two different states. Each state is indicated by a particular voltage or current level.


Slide Content

The ARM ARCHIECTURE
•The ARM processor is a Reduced Instruction Set Computer.
•The ARM was originally developed at ACORN computers
Ltd of Cambridge between 1983 – 1985 & ARM stood for
Acorn RISC Machines
•It was the first RISC Microprocessor developed for
commercial use and has some significant differences from
subsequent RISC architectures.
•In 1990, Advanced RISC Machines Ltd was established as
separate company specifically to widen the exploitation of
ARM technology.
20/08/24 MC 2

ARCHITECTURAL INHERITANCE
•RISC Architectures before ARM -Berkeley RISC I, Berkeley
RISC II and Stanford MIPS (Microprocessor without
Interlocking Pipeline Stages)
Features Used by ARM:
•Load Store Architecture
•Fixed length 32-bit instructions
•3-address instruction formats.(Rn,Rm,Rd)
(Rn,Rm source registers and Rd- destination registers)
20/08/24 MC 3

DATA SIZE AND INSTRUCTION SET
20/08/24 MC 4

REGISTERS IN ARM
20/08/24 MC 5

Current visible registers
20/08/24 OBE 6

Special purpose registers
20/08/24 OBE 7
THREE SPECIAL FUNCTION REGISTERS:
•Stack pointer.
•Link Register.
•Program counter.
•STACK POINTER (R13): It is used to store the head of the stack in
the current processor mode.
•LINK REGISTER(R14): It is used when the interrupt is used in
program.
•It is used to return when subroutine calls occurred.
•PROGRAM COUNTER(R15):
It is used to store the address of next instruction to be execute.

THE ARM PROGRAMMER’S MODEL

20/08/24 MC 8

PROCESSOR MODES
20/08/24 MC 10

THE ARM PROGRAMMER’S MODEL
20/08/24 MC 11

BANKED REGISTERS
•Shows all 37 registers in the register files
•20 registers are hidden from a program at
different times. These registers are called
banked registers and are identified by shading
the diagram.
•Available only when the processor is in particular
mode. Ex: abort mode has banked registers
r13_abt, r14_abt and spsr_sbt
20/08/24 OBE 12

THE ARM PROGRAMMER’S MODEL
The Memory System:
•Data items may be 8-bit bytes, 16-bit half words or 32-bit words. Words are
always aligned on 4-byte boundaries.
•The ARM can be set up to access its data in either little or big endian format.
Little endian:
•Least significant byte of a word is stored in bits 0 7 of an addressed word.

Big endian:
•Least significant byte of a word is stored in bits 24 31 of an addressed word.


20/08/24 MC 14

THE ARM PROGRAMMER’S MODEL
Load-Store Architecture:
•ARM employs a load-store architecture. This means that the instruction
set will only process (add, subtract, and so on) values which are in
registers (or specified directly within the instruction itself), and will
always place the results of such processing into a register.
•The only operations which apply to memory state are ones which copy
memory values into registers (load instructions) or copy register values
into memory (store instructions).

20/08/24 MC 16

ARM Pipelining
 
•A
 
Pipelining 
is the mechanism used by 
RISC(Reduced
instruction set computer)
 
processors to execute
instructions,
•by speeding up the execution by 
fetching 
the
instruction, while other instructions are being
 
decoded
and executed 
simultaneously.
•Which in turn allows the memory system and processor
to work continuously.
•The pipeline design for each
 ARM family is different.
20/08/24 OBE 17

•Pipelining is a design technique or a process
which plays an important role in increasing the
efficiency of data processing in the processor of a
computer and microcontroller. By keeping the
processor in a continuous process of fetching,
decoding and executing called (F&E cycle).
 
20/08/24 OBE 18

3-stage pipeline ARM organization
The
 
register
bank, 
which stores
the
 processor state.
Barrel Shifter,
which can shift or
rotate one operand
by any number of
bits.
ALU, performs the
arithmetic and
logic functions
required by the
instruction set.

ARM Single-Cycle Instruction
3 stage piepline

20/08/24 MC 21
ARM processors up to the ARM7 employ a simple 3-stage
pipeline with the following pipeline stages
1.Fetch
2.Decode
3.Execute

ARM single-cycle instruction 3-stage pipeline
operation
1.When the processor is executing simple data
processing instructions
 the pipeline
enables
 
one instruction 
to be completed
every
clock cycle.
 
2.An individual instruction takes three clock
cycles to complete, so it has three-cycle
latency, but the throughput is one instruction
per cycle.

5-Stage Pipeline ARM
Organization
Basic five-stage pipeline in a
 
RISC 
machine (IF = 
Instruction Fetch, ID = Instruction Decode,
EX = Execute, MEM = Memory access, WB = Register write back). The vertical axis is
successive instructions; the horizontal axis is time. So in the green column, the earliest
instruction is in WB stage, and the latest instruction is undergoing instruction fetch.

5-Stage Pipeline Organization

5-Stage Pipeline Organization (2/2)

ARM PROCESSOR CORES
•ARM Processor Core is the engine within a system that
fetches ARM instructions from memory and executes
them.
•The ARM cores are very small, typically occupying just a
few square millimeters of chip area.
•Modern VLSI technology allows a large number of
additional system components to be incorporated on the
same chip.(like cache memory, MMU , signal processing
hardware, debugging tools….etc)
•The correct choice of processor core is one of the most
critical decisions in the specification of a new system.
29ARM Platform Design

ARM7TDMI
•The origins of the name are as follows:
The ARM7, a 3 volt compatible rework of the ARM6 32-bit
integer core, with:
the Thumb 16-bit compressed instruction set;
on-chip Debug support, enabling the processor to halt in
response to a debug request;
an enhanced Multiplier, with higher performance than its
predecessors and yielding a full 64-bit result; and
Embedded lCE hardware to give on-chip breakpoint and
watchpoint support.
30ARM Platform Design

ARM7TDMI
•32-bit RISC-processor core (32-bit instructions)
•Pipelined (ARM7: 3 stages)
•Cached (depending on the implementation)
•Von Neuman-type bus structure (ARM7), Harvard (ARM9)
• 8 / 16 / 32 -bit data types
•7 modes of operation (usr, fiq, irq, svc, abt, sys, und)
•Simple structure -> reasonably good speed / power
consumption ratio
•ARM7TDMI is a core processor module embedded in many
ARM7 microprocessors, such as ARM720T, ARM710T,
ARM740T
31ARM Platform Design

ARM PROCESSOR CORES
32ARM Platform Design 09/21/2003

34ARM Platform Design

40ARM Platform Design 09/21/2003

41ARM Platform Design

ARM TOOLS
44

48ARM Platform Design 09/21/2003

49ARM Platform Design

50ARM Platform Design

51ARM Platform Design

52ARM Platform Design

53ARM Platform Design
Tags