Chapter 8 CPU Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.

Slides:



Advertisements
Similar presentations
Machine cycle.
Advertisements

Chapter 1. Basic Structure of Computers
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Control path Recall that the control path is the physical entity in a processor which: fetches instructions, fetches operands, decodes instructions, schedules.
Major components of CPU
PART 5: (2/2) Processor Internals CHAPTER 15: CONTROL UNIT OPERATION 1.
ARITHMETIC LOGIC SHIFT UNIT
Microprocessor.  The CPU of Microcomputer is called microprocessor.  It is a CPU on a single chip (microchip).  It is called brain or heart of the.
Processor System Architecture
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
Chapter 7. Register Transfer and Computer Operations
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Dale & Lewis Chapter 5 Computing components. Let’s design a computer Generic CPU with registers −Program counter (PC) – 5 bits (size of addresses) −Instruction.
Processor Types And Instruction Sets Barak Perelman CS147 Prof. Lee.
 Central Processing Unit(CPU) Central Processing Unit(CPU)  Components of the CPU Components of the CPU  Actions Performed by CPU Actions Performed.
Computer Organization and Architecture
Chapter 4 Register Transfer and Microoperations
Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009
Lecture 13 - Introduction to the Central Processing Unit (CPU)
KEY COMPONENTS OF A COMPUTER SYSTEM ANDREW LOLAVAR.
Basic Operational Concepts of a Computer
Group 1 Michael Bouizza Rolando Abreu Carlos De Cossio Ricardo Urena Michael Hernandez Robert Romano Sun Li Yang.
Micro-operations Are the functional, or atomic, operations of a processor. A single micro-operation generally involves a transfer between registers, transfer.
SAP1 (Simple-As-Possible) Computer
Microcontrollers Microcontroller (MCU) – An integrated electronic computing device that includes three major components on a single chip Microprocessor.
TEAM 1: Miguel Harmant Rodney Rodriguez Elias Crespo Javier Parra Alfredo Alonso Marc-Wayne Anglin.
Stack Stack Pointer A stack is a means of storing data that works on a ‘Last in first out’ (LIFO) basis. It reverses the order that data arrives and is.
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
Chapter 1 Introduction. Architecture & Organization 1 Architecture is those attributes visible to the programmer —Instruction set, number of bits used.
Computer Design Basics
CPU Design. Introduction – The CPU must perform three main tasks: Communication with memory – Fetching Instructions – Fetching and storing data Interpretation.
Exam2 Review Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
The Central Processing Unit (CPU) and the Machine Cycle.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
General Concepts of Computer Organization Overview of Microcomputer.
1 Purpose of This Chapter In this chapter we introduce a basic computer and show how its operation can be specified with register transfer statements.
M. Mateen Yaqoob The University of Lahore Spring 2014.
Lec 5 Basic Computer Organization
Computer Science 101 Computer Systems Organization ALU, Control Unit, Instruction Set.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
COMPILERS CLASS 22/7,23/7. Introduction Compiler: A Compiler is a program that can read a program in one language (Source) and translate it into an equivalent.
CENTRAL PROCESSING UNIT Written by: Gizem Gulsen.
Dale & Lewis Chapter 5 Computing components
Computer operation is of how the different parts of a computer system work together to perform a task.
Lecture 5: Register Transfer & Micro-OpsOverview1.
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
GROUP 2 CHAPTER 16 CONTROL UNIT Group Members ๏ Evelio L. Hernandez ๏ Ashwin Soerdien ๏ Andrew Keiper ๏ Hermes Andino.
Control Unit Operations Chapter10:. What is Control Unit (CU)?(1)  Part of a CPU or other device that directs its operation.  Tells the rest of the.
Chapter 10 Control Unit Operation “Controls the operation of the processor”
XYZCS Designing Binary Adders with decoders C(X,Y,Z) =  m(3,5,6,7) S(X,Y,Z) = S m(1,2,4,7);
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Chapter 5 Computer Organization TIT 304/TCS 303. Purpose of This Chapter In this chapter we introduce a basic computer and show how its operation can.
Types of Micro-operation  Transfer data between registers  Transfer data from register to external  Transfer data from external to register  Perform.
William Stallings Computer Organization and Architecture
Computer Architecture
Computer Organization and Design
The Processor and Machine Language
Functional Units.
CENTRAL PROCESSING UNIT
A Top-Level View Of Computer Function And Interconnection
Instruction execution and ALU
Computer Architecture
Presentation transcript:

Chapter 8 CPU Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009

Central Processing Unit The part of the computer performs the bulk of data processing operations is called the central processing unit The CPU is made up of three major parts: Register set ALU Control units

CPU The central processing unit (CPU) of a computer is the main unit that dictates the rest of the computer organization 1. Register set: Stores intermediate data during the execution of instructions; 2. Arithmetic logic unit (ALU): Performs the required micro-operations for executing the instructions; 3. Control unit: supervises the transfer of information among the registers and instructs the ALU as to which operation to perform by generating control signals. Control Unit Registers Arithmetic Logic Unit

Central Processing Unit = “brain” Executes programs by: –Fetching and decoding the next instruction from memory –Execute it Consists of: –Control Unit –Arithmetic Logic Unit (ALU) –Registers (high-speed memory) Program Counter (PC) Instruction Register (IR) DiskPrinter Main Memory Control Unit Registers Arithmetic Logic Unit Bus I/O Devices

8-2. General Register Organization CPU must have some working space (fast access and close to CPU) This space is efficiently used to store intermediate values The most convenient way to communicate registers is trough common bus system

8-2. General Register Organization Bus organization for 7 CPU registers: l 2 MUX l BUS A and BUS B l ALU l 3 X 8 Decoder

8-2. General Register Organization Bus organization for 7 CPU registers: 2 MUX: select one of 7 register or external data input by SELA and SELB BUS A and BUS B : form the inputs to a common ALU ALU : OPR determine the arithmetic or logic microoperation The result of the microoperation is available for external data output and also goes into the inputs of all registers 3 X 8 Decoder: select the register (by SELD) that receives the information from ALU

8-2. General Register Organization An operation is selected by the ALU operation selector (OPR). The result of a microoperation is directed to a destination register selected by a decoder (SELD). Control word: The 14 binary selection inputs (3 bits for SELA, 3 for SELB, 3 for SELD, and 5 for OPR)

 Binary selector input l 1) MUX A selector (SELA) : to place the content of R2 into BUS A l 2) MUX B selector (SELB) : to place the content of R3 into BUS B l 3) ALU operation selector (OPR) : to provide the arithmetic addition R2 + R3 l 4) Decoder selector (SELD) : to transfer the content of the output bus into R1 Example 1

l Encoding of Register Selection Fields: »SELA or SELB = 000 (External Input) : MUX selects the external data »SELD = 000 (None) : no destination register is selected but the contents of the output bus are available in the external output

(Example 2) 1. Micro-operation R1  R2 - R3 2. Control word Field: SELA SELB SELDOPR Symbol: R2 R3 R1 SUB Control word: Example