CPUz 4 n00bz.

Slides:



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

The Fetch – Execute Cycle
Memory. Memory.
Machine cycle.
Computer Architecture and the Fetch-Execute Cycle
PIPELINE AND VECTOR PROCESSING
CS364 CH16 Control Unit Operation
PART 5: (2/2) Processor Internals CHAPTER 15: CONTROL UNIT OPERATION 1.
Computer Organization and Architecture
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
Computer Systems. Computer System Components Computer Networks.
Stored Program Concept: The Hardware View
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
GCSE Computing - The CPU
1 Sec (2.3) Program Execution. 2 In the CPU we have CU and ALU, in CU there are two special purpose registers: 1. Instruction Register 2. Program Counter.
Processor Types And Instruction Sets Barak Perelman CS147 Prof. Lee.
Introduction to computer: executes instructions. Overview Topics discussed in this webnote: –Structure and operation of the CPU –Program flow –Types of.
CPU Structure and Instruction Execution Timothy C. Rice Jr., MIT.
A-Level Computing#BristolMet Session Objectives#4 MUST describe the differences between the main types of primary memory SHOULD describe the function and.
The Computer Processor
Lecture 13 - Introduction to the Central Processing Unit (CPU)
CPU Fetch/Execute Cycle
Basic Operational Concepts of a Computer
A-Level Computing#BristolMet Session Objectives#5 MUST identify different buses and registers used in a CPU SHOULD describe the use of buses to send information.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
The CPU (or Central Processing Unit. Statistics Clock speed – number of instructions that can be executed per second Data width – The number of bits held.
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.
Computer Architecture and the Fetch-Execute Cycle
Computer Architecture and the Fetch-Execute Cycle
Introduction to Computing Systems from bits & gates to C & beyond The Von Neumann Model Basic components Instruction processing.
The CPU Central Processing Unit. 2 Reminder - how it fits together processor (CPU) memory I/O devices bus.
Computers Internal Communication. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
Topic 6: Further System Fundamentals. Fetch-Execute Cycle Review Computer programs are instructions stored in RAM Processor fetches instructions and executes.
The Central Processing Unit (CPU) and the Machine Cycle.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
General Concepts of Computer Organization Overview of Microcomputer.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Fetch-execute cycle.
D75P 34 – HNC Computer Architecture
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.
System Unit Working of CPU. The CPU CPU The CPU CPU stands for central processing unit. it is brain of computer It is most important component of the.
Computer operation is of how the different parts of a computer system work together to perform a task.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
CS61C L20 Datapath © UC Regents 1 Microprocessor James Tan Adapted from D. Patterson’s CS61C Copyright 2000.
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.
Structure and Role of a Processor
Processor Organization and Architecture Module III.
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.
Lec 4-2 Five operations of the machine cycle Fetch- fetch the next program instruction from memory. (PC+1); instruction to IR Decode- decode the instruction.
CPU Lesson 2.
Chapter 10: Computer systems (1)
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Components of Computer
William Stallings Computer Organization and Architecture
Computer Architecture
The fetch-execute cycle
Functional Units.
CPU Key Revision Points.
The Little Man Computer
GCSE OCR 1 The CPU Computer Science J276 Unit 1
A Top-Level View Of Computer Function And Interconnection
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Instruction execution and ALU
Computer Architecture Assembly Language
Computer Architecture
Sec (2.3) Program Execution.
Presentation transcript:

CPUz 4 n00bz

CPU Diagram Program Cache Counter (PC) RAM (Memory) Instruction Control Unit (CU) Program Counter (PC) Cache Address Bus Instruction Register (IR) Decoder Arithmetic Logic Unit (ALU) Data Bus Accumulator

Additional CPU Components Program counter (PC) Holds the address of the next instruction in the program sequence Instruction register Holds the operation code of the type of instruction to be executed (e.g. ADD, SUB) Accumulator ALU’s internal register that holds ongoing total

Fetch-Execute Again Fetch instruction from the address stored in the program counter Store instruction in instruction register Decode instruction register Execute operation (control unit tells ALU what to do) ALU performs operation and uses its accumulator to remember result Store accumulator result back to memory

What happens when we need to pause the fetch-execute cycle? Interrupts! Things that “interrupt” the processor’s normal operation Handle events and exceptions Keyboard input Null pointer exception etc. Special code exists to handle instructions, which is also stored in RAM

Interrupt Register Stores the offset address of the special interrupt handling code Interrupt Code Address = Base Address + Interrupt Register Basically…it stores the location in memory of where you go to handle the interrupt

Processor Optimizations Pipelining Fetch-execute cycle overlapping for multiple instructions

Instruction Pipelining

More Cool Optimizations Multiprocessing Dual-core and Quad-core processors Cell processor has 8 processors! http://upload.wikimedia.org/wikipedia/en/d/da/Cell_Broadband_Engine_Processor.jpg