Chapter 10: Computer systems (1)

Slides:



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

Machine cycle.
Computer Architecture and the Fetch-Execute Cycle
Central Processing Unit
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
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.
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.
The Computer Processor
CPU Fetch/Execute Cycle
Basic Operational Concepts of a Computer
The Central Processing Unit (CPU) and the Machine Cycle.
Model Computer CPU Arithmetic Logic Unit Control Unit Memory Unit
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Fetch-execute cycle.
Computer Systems - Registers. Starter… Discuss in pairs the definition of the following Control Unit Arithmetic and Logic Unit Registers Internal clock.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Studies/ICT SS2
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.
Dale & Lewis Chapter 5 Computing components
Computer operation is of how the different parts of a computer system work together to perform a task.
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
The Central Processing Unit (CPU)
Central Processing Unit (CPU) MATTHEW BOWEN. Function  The function of the CPU is to execute all of the commands and calculations or “processes” that.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
The Processor & its components. The CPU The brain. Performs all major calculations. Controls and manages the operations of other components of the computer.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Software Design and Development Computer Architecture Computing Science.
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;
Computer Architecture 1 CPU IAS (The computer’s main memory) Store (e.g. Disk, DVD) Input/output Interfaces Clock Bus Keyboard, printer, mouse monitor,
Stored Program Concept Learning Objectives Learn the meaning of the stored program concept The processor and its components The fetch-decode-execute and.
Computer Hardware What is a CPU.
CPU Lesson 2.
OCR GCSE Computer Science Teaching and Learning Resources
GCSE Computing - The CPU
Systems Architecture Keywords Fetch Execute Cycle
GCSE OCR Computing A451 The CPU Computing hardware 1.
The CPU, RISC and CISC Component 1.
Von Neumann architecture
Chapter 2.1 CPU.
Computer Hardware – System Unit
OCR GCSE Computer Science Teaching and Learning Resources
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
3.3.3 Computer architectures
Lesson Objectives A note about notes: Aims
THE CPU i Bytes 1.1.
Computer Architecture
Computer Architecture 2
Teaching Computing to GCSE
System Architecture 1 Chapter 2.
Number Representations and Basic Processor Architecture
Functional Units.
CS149D Elements of Computer Science
Basic Computer Organization
Introduction to Computer Architecture
CPU Key Revision Points.
The Little Man Computer
Components of a CPU AS Computing - F451.
1-2 – Central Processing Unit
GCSE OCR 1 The CPU Computer Science J276 Unit 1
GCSE Computing - The CPU
THE FETCH-EXECUTE CYCLE.
WJEC GCSE Computer Science
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Computer Architecture
Little work is accurate
Sec (2.3) Program Execution.
Presentation transcript:

Chapter 10: Computer systems (1) The CPU The central processing unit (CPU) executes the instructions in a computer system.  It consists of: an arithmetic logic unit a control unit registers buses.

Arithmetic logic unit (ALU) The arithmetic logic unit (ALU) carries out the calculations and logical decisions. The results of its calculations are stored in the accumulator.

Control unit (CU) The control unit sends out signals to co-ordinate how the processor works. It controls how data moves around parts of the CPU and how it moves between the CPU and memory. Instructions are decoded in the control unit.

Registers Registers are memory locations within the processor itself. They work at extremely fast speeds. Program counter (PC): Keeps track of the memory location of the line of machine code being executed. Memory data register (MDR): Stores the data that has been fetched from or stored in memory. Memory address register (MAR): Stores the address of the data or instructions that are to be fetched from or sent to. 

Registers (cont.) Current instruction register (CIR): Stores the most recently fetched instruction, waiting to be decoded and executed. Accumulator (ACC): Stores the results of calculations made by the ALU. General purpose registers: Processors may also have general purpose registers. These can be used temporarily to store data being used rather than sending data to and from the comparatively much slower memory.

Buses Buses are the communications channels through which data can be sent around the computer. There are three buses inside the computer we need to consider: the data bus, control bus and address bus. The data bus carries data between the processor and memory. The address bus carries the address of the memory location being read from or written to. The control bus sends control signals from the control unit.

Processor The processor carries out instructions through the fetch–decode–execute cycle. Fetch: An instruction is fetched from memory into the processor. The MAR provides the location, which is sent down the address bus, and the fetch signal is sent down the control bus. The contents of the memory location are then sent from memory to the processor down the data bus.

Processor (cont.) Decode: The instruction is decoded in the control unit. Execute: The processor carries out the instruction. This might be, for example, adding two numbers together, loading a number from memory into the accumulator or storing the contents of the accumulator into memory.

Processor (cont.) Processor performance can be improved in several ways.  Cache memory: This is small memory that works much faster than the main memory. By anticipating the data and instructions that are likely to be regularly accessed and keeping these in cache memory, the overall speed at which the processor operates can be increased.

Processor (cont.) Cores: Each core is a distinct processing unit on the CPU. When multi-tasking, different cores can run different applications. It is also possible for multiple cores to work on the same problem. Pipelining: This means while one instruction is being executed, the next instruction is being decoded and the one after that is being fetched.

Graphics processing unit Graphics processing units (GPUs) have instruction sets specifically designed for the sorts of calculations required in graphics processing. GPUs have the ability to perform the same instruction on multiple pieces of data at the same time. GPUs have uses outside of graphics including: modelling physical systems, audio processing, breaking passwords and machine learning.