Docsity

Computer Architecture: Von Neumann Architecture and Memory Organization, Summaries of Computer Architecture and Organization

Partial preview of the text

Download Computer Architecture: Von Neumann Architecture and Memory Organization and more Summaries Computer Architecture and Organization in PDF only on Docsity!

The base components of

computer design and the way they

are structured.

CHAPTER 5

 List the components and their function in a von Neumann machine

 Describe the fetch-decode-execute cycle of the von Neumann machine

 Describe how computer memory is organized and accessed

 Name and describe different auxiliary storage devices

 Define three alternative parallel computer configurations

Memory

A collection of cells, each with a unique physical address; both addresses and contents are in binary

6

 Performs basic arithmetic operations such as adding

 Performs logical operations such as AND, OR, and NOT

 Most modern ALUs have a small amount of special storage units called registers

8

Control unit

The organizing force in the computer

Instruction register (IR)

Contains the instruction that is being

executed

Program counter (PC)

Contains the address of the next instruction to

be executed

Central Processing Unit (CPU)

ALU and the control unit.

9

Bus A set of wires that connect all major sections

Figure 5.2 Data flow through a von Neumann architecture

Replace A by A+1. Branch if A<0 to instruction 00110:

 01000 Get A

 01010 Add 1 to A

 01100 Test A<

 01110 If True, go to

00110

 10000 …

Instruction Register Fetch A

Program Counter 01010 ... ... 00110 ... 00111 ... 01000 Get 01001 A 01010 Add 01011 + 01100 Test 01101 < 01110 If TRUE 01111 branch 00110 10000 ... ... ...

If TRUE…Test<0Add +1^01100011101000000110

13

Random Access Memory (RAM)

Memory in which each location can be

accessed and changed

Read Only Memory (ROM)

Memory in which each location can be

accessed but not changed

RAM is volatile, ROM is not

15

Seek time Time it takes for read/write head to be over right track Latency

Time it takes for sector to be in position Access time Total time required to obtain data Transfer rate Rate at which data is transferred to internal memory.

16

CD A compact disk that uses a laser to read information stored optically on a plastic disk; data is evenly distributed around track CD-ROM read-only memory CD-DA digital audio CD-WORM write once, read many CD - RW or RAM both read from and written to

DVD Digital Versatile Disk, used for storing audio and video in particular.

Idea is to speed up the execution of large jobs based on design rather than processor speed.

There are four approaches to this:

 Bit level

Manipulate bigger words in each process;

 Instruction level

Instructions done in parallel rather than sequentially, Superscalar is one CPU with multiple resources;

 Data Level

Execute instruction blocks on multiple data sets at the same time, Different ALUs do the same instructions on multiple data sets – SIMD;

Task level

Distribute tasks between different processors.

21

Arranges processors in tandem, where each processor contributes one part to an overall computation

Figure 5.8 Processors in a pipeline

22

Communicate through shared memory

Figure 5.9 Shared memory configuration of processors