Docsity

Week 1 & 2 lecture, Lecture notes of Advanced Computer Architecture

Partial preview of the text

Download Week 1 & 2 lecture and more Lecture notes Advanced Computer Architecture in PDF only on Docsity!

Computer Organization and

Architecture

Week 1 & 2

Computer Architecture

Computer Organization

Many computer manufacturers offer a family of computer models, all with the same architecture but with differences in organization. Consequently, the different models in the family have different price and performance characteristics.

+ Structure and Function

 Hierarchical system

 Set of interrelated

subsystems

 Hierarchical nature of

complex systems is

essential to both their

design and their description

 Designer need only deal

with a particular level of the

system at a time

 Concerned with structure

and function at each level

 Structure

 The way in which

components relate to

each other

 Function

 The operation of

individual components as

part of the structure

A computer is a complex system; contemporary computers contain millions of Elementary electronic components. How, then, can one clearly describe them? The key is to recognize the hierarchical nature of most complex systems, including the computer

Function

 Both the structure and

functioning of a

computer are, in

essence, simple.

 A computer can perform

four basic functions:

● (^) Data processing ● (^) Data storage ● (^) Data movement ● (^) Control The computer, of course, must be able to process data. The data may take a wide variety of forms, and the range of processing requirements is broad. However, we shall see that there are only a few fundamental methods or types of data processing.

Operations (b) Data movement

Diagrams show

operations involving

data processing, on

data either in storage

Operations

(c)

Data storage

It is also essential that a computer store data. Even if the computer is processing data on the fly (i.e., data come in and get processed, and the results go out immediately), the computer must temporarily store at least those pieces of data that are being worked on at any given moment. Thus, there is at least a short-term data storage function.

The

Computer

interacts in some fashion with its external environment. In general, all of its linkages to the external environment can be classified as peripheral devices or

Structure

CPU

 Control Unit

 Controls the operation of the CPU

and hence the computer

 Arithmetic and Logic Unit (ALU)

 Performs the computer’s data

processing function

 Registers

 Provide storage internal to the

CPU

 CPU Interconnection

 Some mechanism that provides

for communication among the

control unit, ALU, and registers

Major structural

components:

+ Computer Evolution and Performance study of computers with a brief history

ENIAC

John von Neumann

 (^) First publication of the idea was in 1945  (^) Stored program concept

 Attributed to ENIAC designers, most notably the mathematician
John von Neumann
 Program represented in a form suitable for storing in memory
alongside the data

 (^) IAS computer

 Princeton Institute for Advanced Studies

 (^) In 1946, von Neumann and his colleagues began the design of a new stored program computer

 Prototype of all subsequent general-purpose computers
 Completed in 1952

EDVAC (Electronic Discrete Variable Computer)

IAS Memory Formats

 Both data and instructions are

stored there

 Numbers are represented in

binary form and each

instruction is a binary code

 The memory of the IAS

consists of 1000 storage

locations (called words )

of 40 bits each

Figure 2.2 illustrates these formats. Each number is represented by a sign bit and a 39-bit value. A word may also contain two 20-bit instructions, with each instruction Consisting of an 8-bit operation code (opcode) specifying the operation to be Performed and a 12-bit address designating one of the words in memory (numbered from 0 to 999).

Structure

of

IAS

Computer

The control unit operates the IAS by fetching instructions from memory and executing them one at a time. This figure reveals that both the control unit and the ALU contain storage locations, called registers.