chapter 1 introduction. architecture & organization 1 architecture is those attributes visible...

16
Chapter 1 Introduction

Upload: austin-williamson

Post on 01-Jan-2016

227 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Chapter 1Introduction

Page 2: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Architecture & Organization 1

• Architecture is those attributes visible to the programmer—Instruction set, number 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?

Page 3: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Architecture & Organization 2

• All Intel x86 family share the same basic architecture

• The IBM System/370 family share the same basic architecture

• This gives code compatibility—At least backwards

• Organization differs between different versions

Page 4: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Structure & Function

• Structure is the way in which components relate to each other

• Function is the operation of individual components as part of the structure

Page 5: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Function

• All computer functions are:—Data processing—Data storage—Data movement—Control

Page 6: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Functional View

Page 7: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

• The computer must be able to process data. The data could be in a variety of forms.

• It is also essential that the computer can store data.

• The computer could also able to move data between itself and the outside worl.

• The computer must control the process, storing data and move data.

Page 8: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Operations (a) Data movement

Page 9: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Operations (b) Storage

Page 10: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Operation (c) Processing from/to storage

Page 11: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Operation (d)Processing from storage to I/O

Page 12: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Structure - Top Level

Computer

Main Memory

InputOutput

SystemsInterconnection

Peripherals

Communicationlines

CentralProcessing Unit

Computer

Page 13: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Structure - The CPU

Computer Arithmeticand Login Unit

ControlUnit

Internal CPUInterconnection

Registers

CPU

I/O

Memory

SystemBus

CPU

Page 14: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

• Control Processing Unit: control the operation of the computer and performs its data processing functions, often simply referred to a processor.

• Main memory : stores data.• I/O: moves data between the computer

and its external environment.• System Interconnection: There should be

a mechanism for communication among CPU, main memory, I/O.

Page 15: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

Structure - The Control Unit

CPU

ControlMemory

Control Unit Registers and Decoders

SequencingLogin

ControlUnit

ALU

Registers

InternalBus

Control Unit

Page 16: Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used

• Major structural components:—Control Unit: controls the operations of the

CPU and hence the computers.—ALU: Performs the computer’s data processing

functions.—Registers: Provides storage internal to the

CPU.—CPU interconnection: probably the best

example is bus system.