Microprocessors and applications

Содержание

Слайд 2

Architecture & Organization

Architecture is those attributes visible to the programmer
Instruction set, number

Architecture & Organization Architecture is those attributes visible to the programmer Instruction
of bits used for data representation, I/O mechanisms, addressing techniques.
e.g. Is there a multiply instruction?
Organization is how features are implemented
Control signals, interfaces, memory technology.
e.g. Is there a hardware multiply unit or is it done by repeated addition?

Слайд 3

Architecture & Organization

All Intel x86 family share the same basic architecture
The IBM

Architecture & Organization All Intel x86 family share the same basic architecture
System/370 family share the same basic architecture
This gives code compatibility
At least backwards
Organization differs between different versions

Слайд 4

Structure & Function

Structure is the way in which components relate to each

Structure & Function Structure is the way in which components relate to
other
Function is the operation of individual components as part of the structure

Слайд 5

Function

All computer functions are:
Data processing
Data storage
Data movement and
Control

Function All computer functions are: Data processing Data storage Data movement and Control

Слайд 6

Functional view

Functional view

Слайд 7

Structure - Top Level

Computer

Main
Memory

Input
Output

Systems
Interconnection

Peripherals

Communication
lines

Central
Processing
Unit

Computer

Structure - Top Level Computer Main Memory Input Output Systems Interconnection Peripherals

Слайд 8

Structure - The CPU

Computer

Arithmetic
and
Login Unit

Control
Unit

Internal CPU
Interconnection

Registers

CPU

I/O

Memory

System
Bus

CPU

Structure - The CPU Computer Arithmetic and Login Unit Control Unit Internal

Слайд 9

Structure - The Control Unit

CPU

Control
Memory

Control Unit
Registers and
Decoders

Sequencing
Logic

Control
Unit

ALU

Registers

Internal
Bus

Control Unit

Structure - The Control Unit CPU Control Memory Control Unit Registers and

Слайд 10

ENIAC - background

Electronic Numerical Integrator And Computer
University of Pennsylvania
Trajectory tables for weapons

ENIAC - background Electronic Numerical Integrator And Computer University of Pennsylvania Trajectory

Started 1943 and Finished 1946
Too late for war effort
Used until 1955

Слайд 11

ENIAC - details

Decimal (not binary)
20 accumulators of 10 digits
Programmed manually by switches
18,000

ENIAC - details Decimal (not binary) 20 accumulators of 10 digits Programmed
vacuum tubes and 30 tons
15,000 sq. ft and 140 kW power consumption
5,000 additions per second

Слайд 12

von Neumann/Turing

Stored Program concept (1952)
Main memory storing programs and data
ALU operating on

von Neumann/Turing Stored Program concept (1952) Main memory storing programs and data
binary data
Control unit interpreting instructions from memory and executing
Input and output equipment operated by control unit
Princeton Institute for Advanced Studies IAS

Слайд 13

Structure of von Neumann machine

Structure of von Neumann machine

Слайд 14

Transistors

Replaced vacuum tubes
Smaller and Cheaper
Less heat dissipation
Solid State device and Made from

Transistors Replaced vacuum tubes Smaller and Cheaper Less heat dissipation Solid State
Silicon (Sand)
Invented 1947 at Bell Labs
William Shockley et al.

Слайд 15

Transistor Based Computers

Second generation machines
NCR & RCA produced small transistor machines
IBM 7000
DEC

Transistor Based Computers Second generation machines NCR & RCA produced small transistor
- 1957
Produced PDP-1

Слайд 16

Microelectronics

Literally - “small electronics”
A computer is made up of gates, memory cells

Microelectronics Literally - “small electronics” A computer is made up of gates,
and interconnections
These can be manufactured on a semiconductor
e.g. silicon wafer

Слайд 17

Generations of Computer

Vacuum tube - 1946-1957
Transistor - 1958-1964
Small scale integration - 1965

Generations of Computer Vacuum tube - 1946-1957 Transistor - 1958-1964 Small scale
on
Up to 100 devices on a chip
Medium scale integration - to 1971
100 - 3,000 devices on a chip
Large scale integration - 1971-1977
3,000 - 100,000 devices on a chip
Very large scale integration - 1978 to date
100,000 - 100,000,000 devices on a chip
Ultra large scale integration
Over 100,000,000 devices on a chip

Слайд 18

Growth in CPU Transistor Count

Growth in CPU Transistor Count

Слайд 19

CPU Structure

CPU must:
Fetch instructions
Interpret instructions
Fetch data
Process data
Write data

CPU Structure CPU must: Fetch instructions Interpret instructions Fetch data Process data Write data

Слайд 20

CPU With Systems Bus

CPU With Systems Bus

Слайд 21

CPU Internal Structure

CPU Internal Structure

Слайд 22

Registers

CPU must have some working space (temporary storage)
Called registers
Number and function vary

Registers CPU must have some working space (temporary storage) Called registers Number
between processor designs
One of the major design decisions
Top level of memory hierarchy

Слайд 23

User Visible Registers

General Purpose
Data
Address
Condition Codes

User Visible Registers General Purpose Data Address Condition Codes

Слайд 24

General Purpose Registers (1)

May be true general purpose
May be restricted
May be used

General Purpose Registers (1) May be true general purpose May be restricted
for data or addressing
Data
Accumulator
Addressing
Segment

Слайд 25

General Purpose Registers (2)

Make them general purpose
Increase flexibility and programmer options
Increase instruction

General Purpose Registers (2) Make them general purpose Increase flexibility and programmer
size & complexity
Make them specialized
Smaller (faster) instructions
Less flexibility

Слайд 26

How Many GP Registers?
Between 8 – 32
Fewer = more memory references
RISC

How Many GP Registers? Between 8 – 32 Fewer = more memory references RISC

Слайд 27

How big?

Large enough to hold full address
Large enough to hold full word
Often

How big? Large enough to hold full address Large enough to hold
possible to combine two data registers
C programming
double int a;
long int a;

Слайд 28

Condition Code Registers

Sets of individual bits
e.g. result of last operation was zero
Can

Condition Code Registers Sets of individual bits e.g. result of last operation
be read (implicitly) by programs
e.g. Jump if zero
Can not (usually) be set by programs

Слайд 29

Control & Status Registers

Program Counter
Instruction Decoding Register
Memory Address Register
Memory Buffer Register

Control & Status Registers Program Counter Instruction Decoding Register Memory Address Register Memory Buffer Register

Слайд 30

Program Status Word

A set of bits
Includes Condition Codes
Sign of last result
Zero
Carry
Equal
Overflow
Interrupt enable/disable
Supervisor

Program Status Word A set of bits Includes Condition Codes Sign of

Слайд 31

Example Register Organizations

Example Register Organizations

Слайд 32

Intel

1971 - 4004
First microprocessor
All CPU components on a single chip
4 bit
Followed

Intel 1971 - 4004 First microprocessor All CPU components on a single
in 1972 by 8008
8 bit
Both designed for specific applications
1974 - 8080
Intel’s first general purpose microprocessor

Слайд 33

Performance Mismatch

Processor speed increased
Memory capacity increased
Memory speed lags behind processor speed

Performance Mismatch Processor speed increased Memory capacity increased Memory speed lags behind processor speed

Слайд 34

DRAM and Processor Characteristics

DRAM and Processor Characteristics

Слайд 35

Solutions

Increase number of bits retrieved at one time
Make DRAM “wider” rather than

Solutions Increase number of bits retrieved at one time Make DRAM “wider”
“deeper”
Change DRAM interface
Cache
Reduce frequency of memory access
More complex cache and cache on chip
Increase interconnection bandwidth
High speed buses

Слайд 36

Pentium Evolution (1)

8080
first general purpose microprocessor
8 bit data path
Used in first personal

Pentium Evolution (1) 8080 first general purpose microprocessor 8 bit data path
computer – Altair
8086
much more powerful
16 bit
instruction cache, prefetch few instructions
8088 (8 bit external bus) used in first IBM PC
80286
16 Mbyte memory addressable
80386
32 bit
Support for multitasking

Слайд 37

Pentium Evolution (2)

80486
sophisticated powerful cache and instruction pipelining
built in math co-processor
Pentium
Superscalar
Multiple instructions

Pentium Evolution (2) 80486 sophisticated powerful cache and instruction pipelining built in
executed in parallel
Pentium Pro
Increased superscalar organization
Aggressive register renaming
branch prediction
data flow analysis
speculative execution

Слайд 38

Speeding it up

Pipelining
On board L1 & L2 cache
Branch prediction
Data flow analysis and
Speculative

Speeding it up Pipelining On board L1 & L2 cache Branch prediction
execution

Слайд 39

Cache

Small amount of fast memory
Sits between normal main memory and CPU
May be

Cache Small amount of fast memory Sits between normal main memory and
located on CPU chip or module

Слайд 40

Two Stage Instruction Pipeline

Two Stage Instruction Pipeline

Слайд 41

Timing of Pipeline

Timing of Pipeline

Слайд 42

Pentium Evolution (3)

Pentium II
MMX technology
graphics, video & audio processing
Pentium III
Additional floating point

Pentium Evolution (3) Pentium II MMX technology graphics, video & audio processing
instructions for 3D graphics
Pentium 4
Note Arabic rather than Roman numerals
Further floating point and multimedia enhancements
Itanium
64 bit

Слайд 43

Pentium 4 Cache

80386 – no on chip cache
80486 – 8k using 16

Pentium 4 Cache 80386 – no on chip cache 80486 – 8k
byte lines and four way set associative organization
Pentium (all versions) – two on chip L1 caches
Data & instructions
Pentium 4 – L1 caches
8k bytes
64 byte lines
four way set associative
L2 cache
Feeding both L1 caches
256k and 128 byte lines
8 way set associative

Слайд 44

Pentium 4 Diagram (Simplified)

Pentium 4 Diagram (Simplified)

Слайд 45

Background to IA-64

Pentium 4 appears to be last in x86 line
Intel &

Background to IA-64 Pentium 4 appears to be last in x86 line
Hewlett-Packard (HP) jointly developed
New architecture
64 bit architecture
Not extension of x86
Not adaptation of HP 64bit RISC architecture
Exploits vast circuitry and high speeds
Systematic use of parallelism

Слайд 46

Motivation

Instruction level parallelism
Implicit in machine instruction
Not determined at run time by

Motivation Instruction level parallelism Implicit in machine instruction Not determined at run
processor
Long or very long instruction words (LIW/VLIW)
Branch predication (not the same as branch prediction)
Speculative loading
Intel & HP call this Explicit Parallel Instruction Computing (EPIC)
IA-64 is an instruction set architecture intended for implementation on EPIC

Слайд 47

Superscalar v IA-64

Superscalar v IA-64

Слайд 48

Why New Architecture?

Not hardware compatible with x86
Now have tens of millions of

Why New Architecture? Not hardware compatible with x86 Now have tens of
transistors available on chip
Could build bigger cache
Diminishing returns
Add more execution units
Increase superscaling
More units makes processor “wider”
More logic needed to orchestrate
Improved branch prediction required
Longer pipelines required
At most six instructions per cycle

Слайд 49



CLOSEST POINT OF APPROACH

TCAS

INTRUDER

CPA

B

A

CLOSEST POINT OF APPROACH TCAS INTRUDER CPA B A

Слайд 51

Proximity Intruder

Proximity Intruder

Слайд 52

Traffic Advisory

Traffic Advisory

Слайд 53

Resolution Advisory

Resolution Advisory

Слайд 54


Modern Engine

Modern Engine

Слайд 55

INSTRUMENTATION IN AIRBUS A - 320

INSTRUMENTATION IN AIRBUS A - 320

Слайд 56

Too low, terrain

Too low, terrain

Слайд 57

Wind Shear Protection System

Wind Shear Protection System

Слайд 58

C V R / D F D R

C V R / D F D R

Слайд 59

C V R / D F D R

C V R / D F D R

Слайд 60

CVR AND DFDR

CVR AND DFDR
Имя файла: Microprocessors-and-applications.pptx
Количество просмотров: 33
Количество скачиваний: 0