CSE 102 Introduction to Computer Engineering Central Processing Unit.

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

CS1102 Lec04 Hardware – Inside the Box Computer Science Department City University of Hong Kong.
Machine cycle.
Stored Program Architecture
BT 1005 Managing Information Lecture 2 Data Representation, Storage and Transmission.
INTRODUCTION OF COMPUTER
CENTRAL PROCESSING UNIT
CSE115: Introduction to Computer Science I
Computer Systems. Computer System Components Computer Networks.
1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Introduction to Computer Systems
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
Computer Hardware Processing and Internal Memory.
BA 471 Management Information Systems Hardware Basics.
Computer Hardware In this lecture, we will study:
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
MIS 175 Spring Learning Objectives When you finish this chapter, you will: –Recognize major components of an electronic computer. –Understand how.
Introduction Computer Hardware Jess 2006 The CPU.
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.
1 Computer Architecture Instruction Set Architecture (IBM 360) –… the attributes of a [computing] system as seen by the programmer. I.e. the conceptual.
Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI CSCI.
Georgia Institute of Technology Introduction to Programming Part 2 Barb Ericson Georgia Institute of Technology May 2006.
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
Information Technology COMPUTERS Dr. GUVEN Aerospace Engineer (P.hD) Nuclear Science and Technology Engineer (M.Sc)
Understanding Computers, Ch.31 Chapter 3 The System Unit: Processing and Memory.
Chapter 1 Basic Structure of Computers. Chapter Outline computer types, structure, and operation instructions and programs numbers, arithmetic operations,
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Marr CollegeHigher ComputingSlide 1 Part 2: Computer Structure – 6 hours Higher Computing: COMPUTER SYSTEMS.
C++ Programming: From Problem Analysis to Program Design, Third Edition Chapter 1: An Overview of Computers and Programming Languages.
Computer Confluence 7/e © 2006 Prentice-Hall, Inc.
Cis303a_chapt04.ppt Chapter 4 Processor Technology and Architecture Internal Components CPU Operation (internal components) Control Unit Move data and.
The Central Processing Unit (CPU) and the Machine Cycle.
Appendix A Information Systems Hardware Information Systems Today Leonard Jessup and Joseph Valacich.
Chapter 4 Information Technology in Business: Hardware.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Organization & Assembly Language © by DR. M. Amer.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall
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.
Chapter 1 Getting Acquainted With Computers, Programs, and C++
Lecture on Central Process Unit (CPU)
The Computer System.
Succeeding with Technology Chapter 2 Hardware Designed to Meet the Need The Digital Revolution Integrated Circuits and Processing Storage Input, Output,
Chapter 2 Turning Data into Something You Can Use
Session 4 Teaching Computing to GCSE Level with Python.
© 2003 Prentice Hall, Inc.A-1 Appendix A Information Systems Hardware Information Systems Today Leonard Jessup and Joseph Valacich.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Hardware Architecture
Introduction to Computers - Hardware
Chapter 1 Introduction.
TECHNOLOGY GUIDE ONE Computer Hardware.
Introduction Computer Hardware Jess 2006
UNIT 9 Computer architecture
Stored program concept
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Chapter 1: An Overview of Computers and Programming Languages
C++ Programming: From Problem Analysis to Program Design
Computer Architecture
PARTS OF THE COMPUTER.
Introduction to Programming Part 2
Central Processing Unit
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
4. Computer system.
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

CSE 102 Introduction to Computer Engineering Central Processing Unit

Classes of Computers Supercomputer$5-20 million Mainframe$0.5-4 million Server$ thousand PC/Workstation$1-10 thousand Game console$300-$1000 Embedded device$1-$100 Future disposable1-100 cents

Building Computer Chips Complex multi-step process –Slice ingots into wafers –Process wafers into patterned wafers –Dice patterned wafers into dies –Test dies, select good dies –Bond to package –Test parts –Ship to customers and make money

Building Computer Chips

Microprocessors and Memory Microprocessor Performance Factors: What makes one microprocessor perform better than another? CPU speed is influenced by several factors: –clock speed – Megahertz, Gigahertz –word size 8-bit, 16-bit, 32-bit or 64-bit word sizes –Cache – Level 1, Level 2 caches –instruction set size

Performance vs. Design Time Time to market is critically important E.g., a new design may take 3 years –It will be 3 times faster –But if technology improves 50%/year –In 3 years = 3.38 –So the new design is worse! (unless it also employs new technology)

Moore’s Law Considering the rate of technological development, the complexity of an integrated circuit, with respect to minimum component cost will double in about 24 months (18-24).

Input Devices Processing Data into Information Output Devices Secondary Storage Devices Central Processing Unit Computer System Components Keyboard Mouse Touch Screen Voice... Monitor Printer Disks, Tapes, Optical Disks

CPU (Central Processing Unit) The CPU executes computer instructions Popular CPU’s: Intel-Pentium, AMD, Power PC It is on a chip called the microprocessor System clock –Megahertz Has three parts: 1.Control Unit 2.ALU (Arithmetic Logic Unit) 3.Registers

How Computers Work CD on CPU simulation Fetch the Instruction Interpret the Instruction Prepare Circuitry to Execute Instruction Manipulate the Data Store the Result Fetch the Data The Instruction CycleThe Execution Cycle 1. Fetch 2. Decode 3. Execute 4. Store

Code Translation (C to Assembly Language) #include int main( ) { int a=10; int b=20; int c; c=a+b*2; return 0; } MOVR1, #10 MOVR2, #20 MOVR3, #2 MULR4, R2, R3 ADDR5, R1, R4 BREAK

Code Translation (C to Machine Code) #include int main( ) { int a=10; int b=20; int c; c=a+b*2; return 0; } MOVR1, #10 MOVR2, #20 MOVR3, #2 MULR4, R2, R3 ADDR5, R1, R4 BREAK Adress Data ============== A A 0000 MEMORY

CPU Control Unit Adress Data ============== A A 0000 MEMORY Fetch from PC 110A DECODE 0001 Opcode MOV 0001 Register 0110 Data Data2 CPU PC = 1000Program Counter

Registers and MOV operation A MOV CPU PC = 1000 REGISTERSDATA R0 R1 R2 R3 R4 R5 R6 R = 10 in decimal

Registers and MOV operation MOV CPU PC = 1002 REGISTERSDATA R0 R1 R2 R3 R4 R5 R6 R = 20 in decimal

Registers and MOV operation MOV CPU PC = 1004 REGISTERSDATA R0 R1 R2 R3 R4 R5 R6 R = 2 in decimal

Registers and MUL operation MUL CPU PC = 1004 REGISTERSDATA R0 R1 R2 R3 R4 R5 R6 R Mul ALU =

Registers and ADD operation ADD CPU PC = 1006 REGISTERSDATA R0 R1 R2 R3 R4 R5 R6 R Add ALU =