1Module 5: CPU How the CPU executes instructions Each CPU has its own instruction set Instructions are fundamental operations such as addition, load/save,

Slides:



Advertisements
Similar presentations
The Central Processing Unit: What Goes on Inside the Computer
Advertisements

Chapter 4 The Central Processing Unit
The System Unit What is the system unit?
The Central Processing Unit (CPU) Understanding Computers.
Welcome to CMPE003 Personal Computers: Hardware and Software Dr. Chane Fullmer Fall 2002 UC Santa Cruz.
Welcome to CMPE003 Personal Computer Concepts: Hardware and Software Winter 2003 UC Santa Cruz Instructor: Guy Cox.
The Central Processing Unit: What Goes on Inside the Computer.
The Central Processing Unit: What Goes on Inside the Computer.
CENTRAL PROCESSING UNIT
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 4 The Central Processing Unit: What Goes On Inside the Computer.
The Central Processor and Memory
CSCE101 – 4.2, 4.3 October 17, Power Supply Surge Protector –protects from power spikes which ruin hardware. Voltage Regulator – protects from insufficient.
Computer Hardware Processing and Internal Memory.
BA 471 Management Information Systems Hardware Basics.
Computer Applications NCBS Stage 1. The Central Processing UnitSlide 2Computer Applications Stage 1 Course Content and Assessment Practical – 60% (2 Hrs.
Chapter 4 The Central Processing Unit: What goes on Inside the Computer.
1 Senn, Information Technology, 3 rd Edition © 2004 Pearson Prentice Hall James A. Senn’s Information Technology, 3 rd Edition Chapter 4 The Central Processor.
 Central Processing Unit(CPU) Central Processing Unit(CPU)  Components of the CPU Components of the CPU  Actions Performed by CPU Actions Performed.
Introduction Computer Hardware Jess 2006 The CPU.
3.1Introduction to CPU Central processing unit etched on silicon chip called microprocessor Contain tens of millions of tiny transistors Key components:
1 Microprocessor speeds Measure of system clock speed –How many electronic pulses the clock produces per second (clock frequency) –Usually expressed in.
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
How a Computer Processes Data Hardware. Major Components Involved: Central Processing Unit Types of Memory Motherboards Auxiliary Storage Devices.
Central Processing Unit Part III Bayram Güzer. Personal Computer Chips The chips in personal computers is attached to the motherboard. Flat main circuit.
CPU, CONTROL UNIT, ALU BY: GROUP 10 (MT - 2A) Grado, Crystell Joy
Computer Architecture CST 250 INTEL PENTIUM PROCESSOR Prepared by:Omar Hirzallah.
Copyright Jim Martin Computers Inside and Out Dr Jim Martin
1 Adapted from Pearson Prentice Hall Adapted from James A. Senn’s Information Technology, 3 rd Edition Chapter 4 The Central Processor and Memory.
CPUs Used in Personal Computers Powered by DeSiaMore1.
C4- The Central Processing Unit: What Goes On Inside the Computer.
Writer:-Rashedul Hasan Editor:- Jasim Uddin
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
Principles of Information Systems, Sixth Edition Hardware: Input, Processing, and Output Devices Chapter 3.
Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction set 4. Important features of CPUs.
The Central Processing Unit: What Goes on Inside the Computer
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Spring 2007.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 4 The Central Processing Unit: What Goes On Inside the Computer.
Motherboard A motherboard allows all the parts of your computer to receive power and communicate with one another.
Academic PowerPoint Computer System – Architecture.
1 Central Processing Unit (CPU) Consists of complex set of electronic circuitry Executes stored program instructions Three components –Registers –Control.
T HE C ENTRAL P ROCESSING U NIT : W HAT G OES ON I NSIDE THE C OMPUTER By : Mr. Johny Anthony.
 Introduction to the CPU Introduction to the CPU  Main Operations of the CPU Main Operations of the CPU  Explanation of Operations Explanation of Operations.
Central Processing Unit CPU or Processor. Central Processing Unit Components Control Unit Arithmetic & Logic Unit.
Succeeding with Technology Chapter 2 Hardware Designed to Meet the Need The Digital Revolution Integrated Circuits and Processing Storage Input, Output,
Computers: Tools for an Information Age Chapter 4 The Central Processing Unit: What Goes On Inside the Computer.
Chapter 2 Turning Data into Something You Can Use
Processor Rashedul Hasan. Processor The microprocessor is sometimes referred to as the 'brain' of the personal computer, and is responsible for the processing.
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
Lecture # 10 Processors Microcomputer Processors.
Objectives Identify the components of the central processing unit and how they work together and interact with memory Describe how program instructions.
The Central Processing Unit: What Goes on Inside the Computer.
The Central Processing Unit: What Goes on Inside the Computer
The Central Processing Unit: What Goes on Inside the Computer
The Central Processing Unit (CPU)
Introduction Computer Hardware Jess 2006
Lesson 8 CPUs Used in Personal Computers.
CS101 Introduction to Computing Lecture 5 Central Processing Unit
The Central Processing Unit
Phnom Penh International University (PPIU)
Lecture 3 The Hardware.
3.1 Introduction to CPU Central processing unit etched on silicon chip called microprocessor Contain tens of millions of tiny transistors Key components:
Central Processing Unit
Computers: Tools for an Information Age
Computers Inside and Out
Lesson 8 CPUs Used in Personal Computers.
Computers: Tools for an Information Age
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

1Module 5: CPU How the CPU executes instructions Each CPU has its own instruction set Instructions are fundamental operations such as addition, load/save, branch Instructions are fundamental operations such as addition, load/save, branch Each instruction is represented by 0-1 string of a word length, must be load from memory to register before execution. Each instruction is represented by 0-1 string of a word length, must be load from memory to register before execution. Four steps performed for each instruction execution Fetch, decode, execute, store Fetch, decode, execute, store Machine cycle Machine cycle: the amount of time needed to execute an instruction Machine cycle: the amount of time needed to execute an instruction Instruction time Execution time Personal computers execute in less than one millionth of a second Personal computers execute in less than one millionth of a second Supercomputers execute in less than one trillionth of a second Supercomputers execute in less than one trillionth of a second System clock synchronizes the execution of a program, one instruction after another.

2Module 5: CPU The machine cycle

3Module 5: CPU Time for executing an instruction Instruction time Control unit gets instruction from memory and puts it into a register Control unit gets instruction from memory and puts it into a register Control unit decodes instruction and determines the memory location of needed data Control unit decodes instruction and determines the memory location of needed data Execution time Control unit moves data from register to ALU, which does the computation on the data Control unit moves data from register to ALU, which does the computation on the data Control unit stores result of operation in memory or in a register Control unit stores result of operation in memory or in a register FetchDecodeexecutestore one instruction time Next instruction Clock cycle time

4Module 5: CPU Microprocessor A CPU etched on silicon chip Contain tens of millions of tiny transistors Contain tens of millions of tiny transistors Transistors: electronic switches that may or may not allow electric current to pass through Transistors: electronic switches that may or may not allow electric current to pass through New technology makes the size of a transistor smaller and smaller! New technology makes the size of a transistor smaller and smaller! Current: 0.13 micro meter or 130 nano meter Moving to 0.09 micro meter 90 nano meter Next a few years: 60 nano meters a b c b = 1, a and c are connected, ON b = 0, a and c are disconnected, OFF

5Module 5: CPU Types of chips Intel makes a family of processors Pentium III and Pentium4 processors in most PCs Pentium III and Pentium4 processors in most PCs Celeron processor sold for low-cost PCs Celeron processor sold for low-cost PCs Xeon and Itanium for high-end workstations and network servers Xeon and Itanium for high-end workstations and network servers Other processors Cyrix and AMD make Intel-compatible microprocessors Cyrix and AMD make Intel-compatible microprocessors PowerPC chips used primarily in Macintosh computers PowerPC chips used primarily in Macintosh computers Compaq’s Alpha microprocessor used in high-end servers Compaq’s Alpha microprocessor used in high-end servers

6Module 5: CPU Microprocessor speeds Measure of system clock speed How many electronic pulses the clock produces per second (clock frequency) How many electronic pulses the clock produces per second (clock frequency) Usually expressed in frequency Usually expressed in frequency Gigahertz (GHz), Megahertz (MHz), Kilohertz (KHz) Gigahertz (GHz), Megahertz (MHz), Kilohertz (KHz) Or how much time for each cycle: clock cycle time clock cycle time = 1 / clock frequency Or how much time for each cycle: clock cycle time clock cycle time = 1 / clock frequency Second, millisecond, microsecond, nanosecond, picoseconds Second, millisecond, microsecond, nanosecond, picoseconds Comparison of clock speed only meaningful between identical microprocessors

7Module 5: CPU Other performance measures Millions of Instructions per Second (MIPS) High-speed personal computers can perform over 500 MIPS High-speed personal computers can perform over 500 MIPS Typically a more accurate measure of performance than clock speed Typically a more accurate measure of performance than clock speed Megaflop: one million floating-point operations Measures ability of computer to perform complex mathematical operations Measures ability of computer to perform complex mathematical operations

8Module 5: CPU Cache A temporary storage area Speeds up data transfer within computer Speeds up data transfer within computer Control Unit ALU Registers Memory CPU Cache L1 Cache L2 Secondary storage