von neumann architecture

11
Von Neumann Architecture 1 Computer Organisation Loren Al Hamwi

Upload: loren-al-hamwi

Post on 12-Feb-2017

92 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Von Neumann Architecture

1

Von Neumann Architecture Computer Organisation

Loren Al Hamwi

Page 2: Von Neumann Architecture

2

• What are the important features of Von Neumann Architecture?

- Why is processor speed limited in the Von Neumann Architecture?

• How does the Fetch-Decode-Execute cycle work?

Page 3: Von Neumann Architecture

What is Von Neumann Architecture?

Digital Computer- 4 parts:

1.Processor design (Arithmetic & control units + along with internal memory)

2.Memory to store data and instructions3.I/O devices4.Secondary storage

3

Page 4: Von Neumann Architecture

4

Processor

Main Memory

Arithmetic & Logic Unit

Control UnitInput Devices

Output Devices

Mass Storage

Page 5: Von Neumann Architecture

5

Serial Nature

There is one bus used to transport data and instructions

Only One Instruction at a Time

Page 6: Von Neumann Architecture

6

Think about how programs are written in sequences….. .Instructions are stored in CPU registers .Locations are directly modified as a result of instruction execution

Fetch

DecodeExecute

Why Von Neumann Architecture?

These sequences of instructions relate to the serial nature of Von Neumann processors.

Page 7: Von Neumann Architecture

7

Registers:

1-Program Counter =>PC 2-Memory Address Register =>MAR 3-Memory Data Register =>MDR 4-Current Instruction Register =>CIR 5-Accumulator =>ACC

Other Important Components:

1-Arithmetic and Logic Unit =>ALU 2-Control Unit =>CU 3-Buses

Page 8: Von Neumann Architecture

8

Processor

Arithmetic & Logic Unit

Control Unit

PC

MAR

MDR

CIR

ACC

Primary Memory

Fetch Decode Execute

Start Start Start

Stop

Stop

Stop

Copy address

from PC to MAR

Get data from

primary memory and copy to

MDRCopy from MDR to CIR

Increment PC

Split opcode

from data (address) in

MDRControl unit interprets opcode

(Data) Address copied

from CIR to MARGet data from

primary memory and copy to MDR

Instruction executed

+1

Page 9: Von Neumann Architecture

9

Decode: Splitting an instruction

Opcode

Operand

Opcode

Operand 1

Operand 2

bit-15

bit-15

bit 0

bit 0

Instruction

Data or Address

Result stored in Accumulator

Page 10: Von Neumann Architecture

10

Executing instructions:

. Calculations: -Contents of MDR sent to MDR

. Jump Instructions: -Contents of MDR sent to PC

Page 11: Von Neumann Architecture

11

Thank You for Your Attention and Time