The fetch-execute cycle. 2 VCN – ICT Department 2013 A2 Computing RegisterMeaningPurpose PCProgram Counter keeps track of where to find the next instruction.

Slides:



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

Computer Architecture and the Fetch-Execute Cycle
Computer Architecture and the Fetch-Execute Cycle Parallel Processor Systems.
Microprocessors. Von Neumann architecture Data and instructions in single read/write memory Contents of memory addressable by location, independent of.
DH2T 34 Computer Architecture 1 LO2 Lesson Two CPU and Buses.
Computer Architecture and Data Manipulation Chapter 3.
Chapter 5 Computing Components. The (META) BIG IDEA Cool, idea but maybe too big DATA – Must be stored somewhere in a storage device PROCESSING – Data.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
GCSE Computing - The CPU
Introduction to Parallel Processing Ch. 12, Pg
A-Level Computing#BristolMet Session Objectives#4 MUST describe the differences between the main types of primary memory SHOULD describe the function and.
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.
Emotion Engine A look at the microprocessor at the center of the PlayStation2 gaming console Charles Aldrich.
Basic Operational Concepts of a Computer
Stuart Cunningham - Computer Platforms COMPUTER PLATFORMS Von Neumann Architecture & Terminology & Performance Week 3.
Processor Structure & Operations of an Accumulator Machine
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
Internal hardware and external components of a computer Three-box Model  Processor The brain of the system Executes programs A big finite state machine.
Computing hardware CPU.
Parallel Processing - introduction  Traditionally, the computer has been viewed as a sequential machine. This view of the computer has never been entirely.
Chapter 2 Parallel Architecture. Moore’s Law The number of transistors on a chip doubles every years. – Has been valid for over 40 years – Can’t.
Multiprocessing. Going Multi-core Helps Energy Efficiency William Holt, HOT Chips 2005 Adapted from UC Berkeley "The Beauty and Joy of Computing"
Parallel architecture Technique. Pipelining Processor Pipelining is a technique of decomposing a sequential process into sub-processes, with each sub-process.
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 2 Data Manipulation. © 2005 Pearson Addison-Wesley. All rights reserved 2-2 Chapter 2: Data Manipulation 2.1 Computer Architecture 2.2 Machine.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Studies/ICT SS2
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
Computer performance issues* Pipelines, Parallelism. Process and Threads.
Playstation2 Architecture Architecture Hardware Design.
Von Neumann Computers Article Authors: Rudolf Eigenman & David Lilja
Chapter 2 Data Manipulation © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 2: Data Manipulation
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
M211 – Central Processing Unit
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Central Processing Unit (CPU) The Computer’s Brain.
Chapter 11 System Performance Enhancement. Basic Operation of a Computer l Program is loaded into memory l Instruction is fetched from memory l Operands.
CPIT Program Execution. Today, general-purpose computers use a set of instructions called a program to process data. A computer executes the.
Software Design and Development Computer Architecture Computing Science.
What’s going on here? Can you think of a generic way to describe both of these?
Computer Hardware What is a CPU.
CPU Lesson 2.
GCSE Computing - The CPU
Computer Organization and Architecture Lecture 1 : Introduction
Systems Architecture Keywords Fetch Execute Cycle
The CPU, RISC and CISC Component 1.
A Level Computing – a2 Component 2 1A, 1B, 1C, 1D, 1E.
Von Neumann architecture
Chapter 10: Computer systems (1)
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
3.3.3 Computer architectures
Assembly Language for Intel-Based Computers, 5th Edition
Microprocessor and Assembly Language
Components of Computer
Teaching Computing to GCSE
Chapter 2: Data Manipulation
Chapter 5: Computer Systems Organization
1.1 The Characteristics of Contemporary Processors, Input, Output and Storage Devices Types of Processors.
Chapter 2: Data Manipulation
1-2 – Central Processing Unit
GCSE OCR 1 The CPU Computer Science J276 Unit 1
GCSE Computing - The CPU
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Lesson Objectives A note about notes: Aims
Chapter 2: Data Manipulation
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

The fetch-execute cycle

2 VCN – ICT Department 2013 A2 Computing RegisterMeaningPurpose PCProgram Counter keeps track of where to find the next instruction so that a copy of the instruction can be placed in the CIR CIRCurrent Instruction Registerholds the instruction that is to be executed MARMemory Address Register hold the memory address that contains either the next piece of data or an instruction that is to be used MDRMemory Data Register acts like a buffer and holds anything that is copied from the memory ready for the processor to use it. IRIndex Register Used for vector/array operations, and for modifying operand addresses during the running of a program. ALUArithmetic Logic Unit This is where data is processed. This involves arithmetic and logical operations. CUControl Unit fetches instructions from memory, decodes them and synchronises the operations before sending signals to other parts of the computer AccumulatorHolds results

3 VCN – ICT Department 2013 A2 Computing A layout of the VNA also showing the data paths.

4 VCN – ICT Department 2013 A2 Computing Computer buses  A bus is a set of parallel wires connecting two or more components of the computer.  Data bus – carries data from a given location to the CPU  Address bus – carries the address of a particular memory location during transfer of data to memory  Control bus – control signals are sent along this bus.  The data, address and control buses connect the processor, memory and I/O controllers. These are all system buses.

5 VCN – ICT Department 2013 A2 Computing Failures of Von Neumann  Both data and programs share the same memory space. This is a problem because it is quite easy for a poorly written or faulty piece of code to write data into an area holding other instructions, so trashing that program.

6 VCN – ICT Department 2013 A2 Computing  Every piece of data and instruction has to pass across the data bus in order to move from main memory into the CPU (and back again). This is a problem because the data bus is a lot slower than the rate at which the CPU can carry out instructions. This is called the 'Von Neumann bottleneck'. If nothing were done, the CPU would spend most of its time waiting around for instructions. A special kind of memory called a 'Cache' (pronounced 'cash') is used to tackle with this problem

7 VCN – ICT Department 2013 A2 Computing  The rate at which data needs to be fetched and the rate at which instructions need to be fetched are often very different. And yet they share the same bottlenecked data bus. To solve the problem idea of the Harvard Architecture is considered that to split the memory into two parts. One part for data and another part for programs. Each part is accessed with a different bus. This means the CPU can be fetching both data and instructions at the same time.

8 VCN – ICT Department 2013 A2 Computing Types of parallel processing TypeClass of computerApplication Pipeline Single Instruction Single Data (SISD) Inside a CPU Array Processor Single Instruction Multiple Data SIMD Graphics cards, games consoles Multi-CoreMultiple Instruction Multiple Data MIMD Super computers, modern multi-core chips

9 VCN – ICT Department 2013 A2 Computing Parallel Processors  Parallel processing is the simultaneous processing of data.  The simultaneous use of more than one CPU or processor core to execute a program or multiple threads. Hence this speeds up the rate at which processing occurs.

10 VCN – ICT Department 2013 A2 Computing Advantages of parallel processing  Faster when handling large amounts of data  Is not limited by the bus transfer rate (the Von Neumann bottleneck)  Can make maximum use of the CPU (pipeline method) in spite of the bottleneck

11 VCN – ICT Department 2013 A2 Computing Pipelining (SISD)  The Von Neumann architecture in microprocessor illustrates that an instruction can be in one of 3 phases/stages. It could be being:  fetched (from memory)  decoded (by the control unit)  executed (by the control unit)  Alternative is split the processor up into 3 parts  Each part handles one of the 3 stages.

12 VCN – ICT Department 2013 A2 Computing  The effect of pipe lining is that there are 3 instructions being dealt with at the same time.  This SHOULD reduce the execution times considerably This results in the situation shown in Fig below, which shows how this process known as pipelining, works.

13 VCN – ICT Department 2013 A2 Computing Array or Vector processing  Has a number of ALUs that allows all the elements of an array to be processed at the same time.  A single instruction is issued by a control unit and that instruction is applied to a number of data sets at the same time.  It is a Single Instruction Multiple Data computer (SIMD)

14 VCN – ICT Department 2013 A2 Computing An architecture of an array processor

15 VCN – ICT Department 2013 A2 Computing Multiple Processors  Multiple instructions act upon multiple data sets (MIMD)  By having a number of CPUs being applied to a single problem  With each CPU carrying out only part of the overall problem.

16 VCN – ICT Department 2013 A2 Computing An architecture of an array processor  Applied to problems such as predicting climate change or running new drug simulations.

17 VCN – ICT Department 2013 A2 Computing Co-processor (Maths co-processor)  A processor used to supplement the functions of the primary processor (the CPU).  Is especially designed to carry out floating point arithmetic calculations extremely quickly.  Other operations performed by the co- processor are:  graphics  signal processing  string processing  encryption

18 VCN – ICT Department 2013 A2 Computing Assignment 2  Qn 1: What are the disadvantages of parallel processing?  Qn 2: What are the applications and limitations of array, multiple and pipeline processors?