Computer Systems. Computer System Components Computer Networks.

Slides:



Advertisements
Similar presentations
Chapter 2: Data Manipulation
Advertisements

The CPU The Central Presentation Unit What is the CPU?
Machine cycle.
Computer Architecture and the Fetch-Execute Cycle
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.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
CHAPTER 4 COMPUTER SYSTEM – Von Neumann Model
Stored Program Concept: The Hardware View
Basic Computer Organization, CPU L1 Prof. Sin-Min Lee Department of Computer Science.
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.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
Introduction to computer: executes instructions. Overview Topics discussed in this webnote: –Structure and operation of the CPU –Program flow –Types of.
Inside The CPU. Buses There are 3 Types of Buses There are 3 Types of Buses Address bus Address bus –between CPU and Main Memory –Carries address of where.
Lecture 13 - Introduction to the Central Processing Unit (CPU)
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Basic Operational Concepts of a Computer
Computer Organization Computer Organization & Assembly Language: Module 2.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
Computing hardware CPU.
Computer Systems Organization CS 1428 Foundations of Computer Science.
The Central Processing Unit
Computer Architecture and the Fetch-Execute Cycle
CENTRAL PROCESSING UNIT – a,b,c & d a - The Purpose of a CPU The CPU is the brain of the computer. The Purpose of the CPU is to process.
Lecture #30 Page 1 ECE 4110– Sequential Logic Design Lecture #30 Agenda 1.von Neumann Stored Program Computer Architecture Announcements 1.N/A.
The CPU Central Processing Unit. 2 Reminder - how it fits together processor (CPU) memory I/O devices bus.
CPU Design. Introduction – The CPU must perform three main tasks: Communication with memory – Fetching Instructions – Fetching and storing data Interpretation.
The Central Processing Unit (CPU) and the Machine Cycle.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
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.
1.4 Representation of data in computer systems Instructions.
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.
Dale & Lewis Chapter 5 Computing components
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
Von Neumann Model Computer Organization I 1 September 2009 © McQuain, Feng & Ribbens The Stored Program Computer 1945: John von Neumann –
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
Simple ALU How to perform this C language integer operation in the computer C=A+B; ? The arithmetic/logic unit (ALU) of a processor performs integer arithmetic.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
CPUz 4 n00bz.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
3.1.4 Hardware a. describe the function and purpose of the control unit, memory unit and ALU (arithmetic logic unit) as individual parts of a computer;
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
GCSE Computing - The CPU
Basic Computer Organization and Design
Chapter 10: Computer systems (1)
Lecture 13 - Introduction to the Central Processing Unit (CPU)
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
von Neumann Architecture CPU
CENTRAL PROCESSING UNIT CPU (microprocessor)
Computer Architecture
Teaching Computing to GCSE
Data Representation – Instructions
The fetch-execute cycle
The Processor and Machine Language
Functional Units.
CS149D Elements of Computer Science
Basic Computer Organization
CPU Key Revision Points.
The Little Man Computer
von Neumann Architecture CPU
Central Processing Unit
Basic components Instruction processing
GCSE Computing - The CPU
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.
Sec (2.3) Program Execution.
Presentation transcript:

Computer Systems

Computer System Components

Computer Networks

CPU

The CPU contains a Control Unit, Arithmetic Logic Unit (ALU) and a small number of memory locations called Registers. Different registers perform different tasks such: –as manipulating data, –keeping track of the results of decision making operations, –and pointing to the next instruction to be executed

CPU Registers The Instruction Register (IR) contains the actual instruction which is currently being executed by the CPU. The Status Register records the result of comparing the contents of register A with the contents of register B. The Program Counter (PC) contains the address of the next instruction to be executed by the program.

CPU Registers Registers A & B hold the operands for each arithmetic operation (ie. the values on which the operation will be performed). After the operation has been carried out, the result is always stored in Register B. Therefore, after an arithmetic operation has been performed, the second operand is no longer stored in Register B, because it has been overwritten by the result of the operation.

Instructions An instruction is a sequence of bits. A simple instruction format consist of an operation code (Op code) and an address or operands. Op Code Operands / Address

Instructions The operation code specifies the operation the computer is to carry out., while the address allows the instruction to refer to a location in main memory.

Instruction Processing Each instruction is run in 3 steps, known as the fetch-decode-execute cycle. During the fetch part, the CPU fetches the next instruction from the address contained in the Program Counter and places it in the Instruction Register. As soon as an instruction is fetched, the CPU adds 1 to the contents of the Program Counter.

Instruction Processing Once an instruction has been placed in the instruction register, a decode unit within the CPU deciphers the instruction, determines what operations need to be done and what type of operands stored in the instruction ( decode part) During the execution part, the required operation is performed. After execution of the instruction has been completed the cycle starts all over again (unless the action of the instruction terminates the program).

Memory Computer memory consist of blocks of bits called words. Word sizes vary from computer to computer. Each word will hold either data or program instructions.

Computer Systems All programs (instructions) are stored in the secondary storage. The instructions are brought from the secondary storage, which is slow, and are placed into main memory to provide the CPU with instruction for the fetch- decode-execute cycle.

Computer Systems

As CPU speeds became faster, the main memory could don ’ t provide the CPU with the instructions at a high rate. Fast memory ( cache memory) is placed between the CPU and main memory to provide the instructions at a fast rate to the CPU.

Computer Systems

Current CPUs have a cache memory (L1),on the same silicon wafer, to provide the CPU with instructions at the same clock speed like the CPU.

Computer Systems

User view of Computer Systems