Chapter 1: Introduction to Computer Organization and ...

20
Chapter 1: Introduction to Computer Organization and Architecture Instructor: Mr. Rawad Hammad 2012 2/8/2012 1

Transcript of Chapter 1: Introduction to Computer Organization and ...

Page 1: Chapter 1: Introduction to Computer Organization and ...

Chapter 1: Introduction to Computer Organization and Architecture

Instructor: Mr. Rawad Hammad

2012

2/8

/2012

1

Page 2: Chapter 1: Introduction to Computer Organization and ...

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?

2/8

/2012

2

Page 3: Chapter 1: Introduction to Computer Organization and ...

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

2/8

/2012

3

Page 4: Chapter 1: Introduction to Computer Organization and ...

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

2/8

/2012

4

Page 5: Chapter 1: Introduction to Computer Organization and ...

Function

• All computer functions are:

• Data processing

• Data storage

• Data movement

• Control

2/8

/2012

5

Page 6: Chapter 1: Introduction to Computer Organization and ...

Functional View

2/8

/2012

6

Page 7: Chapter 1: Introduction to Computer Organization and ...

Operations (a): Data movement

2/8

/2012

7

Page 8: Chapter 1: Introduction to Computer Organization and ...

Operations (b): Storage

2/8

/2012

8

Page 9: Chapter 1: Introduction to Computer Organization and ...

Operation (c): Processing from/to storage

2/8

/2012

9

Page 10: Chapter 1: Introduction to Computer Organization and ...

Operation (d): Processing from storage to I/O

2/8

/2012

10

Page 11: Chapter 1: Introduction to Computer Organization and ...

Structure

• This Figure shows the simplest possible depiction of a computer.

• In general, all of computer linkages to the external environment can be classified as peripheral devices or communication lines.

11

2/8

/2012

Page 12: Chapter 1: Introduction to Computer Organization and ...

Top Level Structure

Computer

Main

Memory

Input

Output

Systems

Interconnection

Peripherals

Communication

lines

Central

Processing

Unit

Computer

2/8

/2012

12

Page 13: Chapter 1: Introduction to Computer Organization and ...

Definitions for Top Level Structure

• Central processing unit (CPU): Controls the operation of the computer and performs its data processing functions; often simply referred to as processor.

• Main memory: Stores data.

• I/O: Moves data between the computer and its external environment.

• System interconnection: Some mechanism that provides for communication among CPU, main memory, and I/O. A common example of system

13

2/8

/2012

Page 14: Chapter 1: Introduction to Computer Organization and ...

CPU Structure

Computer Arithmetic

and

Login Unit

Control

Unit

Internal CPU

Interconnection

Registers

CPU

I/O

Memory

System

Bus

CPU

2/8

/2012

14

Page 15: Chapter 1: Introduction to Computer Organization and ...

CPU Structure Definitions

• Control unit: Controls the operation of the CPU and hence the computer

• Arithmetic and logic unit (ALU): Performs the computer’s data processing functions

• Registers: Provides storage internal to the CPU

• CPU interconnection: Some mechanism that provides for communication among the control unit, ALU, and registers

15

2/8

/2012

Page 16: Chapter 1: Introduction to Computer Organization and ...

Structure - The Control Unit

CPU

Control

Memory

Control Unit

Registers and

Decoders

Sequencing

Login

Control

Unit

ALU

Registers

Internal

Bus

Control Unit

2/8

/2012

16

Page 17: Chapter 1: Introduction to Computer Organization and ...

Outline of the Course (1)

• Computer Evolution and Performance

• Computer Interconnection Structures

• Internal Memory

• External Memory

• Input/Output

• Operating Systems Support

• Computer Arithmetic

• Instruction Sets

2/8

/2012

17

Page 18: Chapter 1: Introduction to Computer Organization and ...

Outline of the Course(2)

• CPU Structure and Function

• Reduced Instruction Set Computers

• Superscalar Processors

• Control Unit Operation

• Microprogrammed Control

• Multiprocessors and Vector Processing

• Parallel Processing

2/8

/2012

18

Page 19: Chapter 1: Introduction to Computer Organization and ...

Conclusion • Architecture Vs. Organization

• Structure & Function

• Functional View

• Operations

• Data movement

• Storage

• Processing from/to storage

• Processing from storage to I/O

• Top Level Structure • Computer

• CPU

• Control Unit

2/8

/2012

19

Page 20: Chapter 1: Introduction to Computer Organization and ...

Thanks for your time

Time for discussion

20

2/8

/2012