introduction computer hardware jess role @ueab 2006 the cpu

19
Introduction Computer Hardw are Jess Role @UEAB 2006 The CPU The CPU

Upload: dennis-arnold

Post on 23-Dec-2015

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

The CPUThe CPU

Page 2: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

What is a CPU? What is a CPU? Central Processing UnitCentral Processing UnitCentral Processing UnitCentral Processing Unit

What is the central processing unit What is the central processing unit (CPU)?(CPU)? Interprets and carries out the basic instructions that operate a

computer Most devices communicate with the CPU in order to carry out a task Also called the processor

Page 3: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

•Basic CPU Overview

Page 4: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

Example of Triple

Bus Architecture

Page 5: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

Page 6: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

Page 7: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

What is a personal computer processor?What is a personal computer processor?

The single processor chip found in personal computers

Sometimes called a microprocessor Processors identified by • Manufacturer

• Model name or model number

Central Processing Central Processing UnitUnit

Central Processing Central Processing UnitUnit

Pentium® 4

Celeron™ Duron™

Athlon™

Page 8: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

Page 9: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

Page 10: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

Motherboards / Motherboards / Chipsets / SocketsChipsets / Sockets

•Chipset

In charge of:

•Memory Controller

•EIDE Controller

•PCI Bridge

•Real Time Clock

•DMA Controller

•IRDA Controller

•Keyboard

•Mouse

•Secondary Cache

•Low-Power CMOS SRAM

Page 11: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

Central Processing UnitCentral Processing UnitCentral Processing UnitCentral Processing Unit

What are the components of the What are the components of the central processing unit (CPU )?central processing unit (CPU )?

CPU

Arithmetic/Logic Unit

(ALU)

Control Unit

Page 12: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

CPU

Arithmetic/Logic Unit

(ALU)

Central Processing UnitCentral Processing UnitCentral Processing UnitCentral Processing UnitWhat is the control unit?What is the control unit?

Control UnitControl Unit

The control unit repeats a set of four basic operations:

Fetch – obtain a program instruction or data item from memory

Decode - translate the instruction into commands

Execute - carry out the command Store - write the result to memory

A component of the CPU that directs and coordinates most of the operations in the computer

Page 13: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

Together the four operations of the CPU comprise a machine cycle

Also called an instruction cycle

• Execution time (e-time) – time it takes to execute and store

e-time

• Instruction time (i-time) - time it takes to fetch and decode

i-time

Central Processing UnitCentral Processing UnitCentral Processing UnitCentral Processing UnitWhat is a machine cycle?What is a machine cycle?

Page 14: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

Central Processing Central Processing UnitUnit

Central Processing Central Processing UnitUnit

A student enters a math problem into the memory of the computer

Step 1: The control unit fetches the math problem from memory

Step 2: The control unit decodes the math problem and sends it to the ALU

Step 3: The ALU executes the math problem

Step 4: The results of the math problem are stored in memory

The result in memory displays on the screen of the monitor

What is a machine cycle?What is a machine cycle?Together the four operations of the CPU comprise a

machine cycle

Page 15: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

CPU

Control Unit

What is the arithmetic/logic unit (ALU)?What is the arithmetic/logic unit (ALU)?

Central Processing Central Processing UnitUnit

Central Processing Central Processing UnitUnit

.and.

.and.

.not.

.not..or..or.

Component of the CPU Performs arithmetic, comparison, and logical

operations Performs the execution part of the machine cycle

Arithmetic/Logic Unit

(ALU)

Page 16: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

Central Processing UnitCentral Processing UnitCentral Processing UnitCentral Processing UnitWhat is the system What is the system

clock?clock?Synchronizes all

computer operations

Each tick is a clock cycle

Fasterclock speed

means the CPU can execute more instructions each

second

Clock speed (clock rate) measured in megahertz (MHz) and gigahertz

(GHz)

MHz - one million ticks of

the system clock

GHz – one billion ticks of

the system clock

Page 17: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

Single Bus

Slow Performance

Page 18: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

CPU Sockets and slotsCPU Sockets and slots

•Socket 4 & 5

•Socket 7

•Socket 8

•Slot 1

•Slot A

Page 19: Introduction Computer Hardware Jess Role @UEAB 2006 The CPU

Introduction Computer Hardware Jess Role @UEAB 2006

Review QuestionsReview Questions