A-Level Computing#BristolMet Session Objectives#4 MUST describe the differences between the main types of primary memory SHOULD describe the function and.

Slides:



Advertisements
Similar presentations
Components of a computer system
Advertisements

The CPU The Central Presentation Unit What is the CPU?
Computer Architecture and the Fetch-Execute Cycle
Session Objectives#3 COULD explain the role memory plays in computer processing SHOULD describe the purpose of a CPU and its individual components MUST.
The CPU. Parts of the CPU Control Unit Arithmetic & Logic Unit Registers.
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Chapter 4 Processor Technology and Architecture. Chapter goals Describe CPU instruction and execution cycles Explain how primitive CPU instructions are.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Elements of the Computer (How a processor works)
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.
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
CPU Describe the purpose of the CPU
Lecture 13 - Introduction to the Central Processing Unit (CPU)
CPU Fetch/Execute Cycle
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.
Higher Computing Computer Systems S. McCrossan 1 Higher Grade Computing Studies 2. Computer Structure Computer Structure The traditional diagram of a computer...
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Computing hardware CPU.
D75P 34R HNC Computer Architecture 1 Week 9 The Processor, Busses and Peripherals © C Nyssen/Aberdeen College 2003 All images © C Nyssen /Aberdeen College.
Central Processing Unit
Computer Architecture and the Fetch-Execute Cycle
Computer Architecture and the Fetch-Execute Cycle
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
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.
A-Level Computing#BristolMet Session Objectives# Must identify some common types of computer system Should describe the meaning of a computer system Could.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: CPU.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
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 Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Assessment Covering… Von Neuman architecture Registers – purpose and use, the fetch execute cycle.
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 operation is of how the different parts of a computer system work together to perform a task.
Session 4 Teaching Computing to GCSE Level with Python.
Question What technology differentiates the different stages a computer had gone through from generation 1 to present?
A-Level Computing#BristolMet Session Objectives#3 MUST identify components of a CPU SHOULD describe the purpose of a CPU and its individual components.
Activity 1 Review the work from last lesson so that you can explain the following: -What is the purpose of a CPU. -What steps does the CPU take to process.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
24/06/20161 Hardware Processor components & ROM. 224/06/2016 Learning Objectives Describe the function and purpose of the control unit, memory unit and.
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 Hardware What is a CPU.
CPU Lesson 2.
Systems Architecture Keywords Fetch Execute Cycle
GCSE OCR Computing A451 The CPU Computing hardware 1.
The CPU, RISC and CISC Component 1.
Chapter 10: Computer systems (1)
Chapter 2.1 CPU.
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
Lesson Objectives A note about notes: Aims
THE CPU i Bytes 1.1.
Introduction of microprocessor
Computer Architecture
Hook – CPU Knowledge Check
Teaching Computing to GCSE
The Processor and Machine Language
Functional Units.
Introduction to Computer Architecture
CPU Key Revision Points.
Components of a CPU AS Computing - F451.
1-2 – Central Processing Unit
Unit 1.1 System Architecture Lesson 2
GCSE OCR 1 The CPU Computer Science J276 Unit 1
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
Sec (2.3) Program Execution.
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Presentation transcript:

A-Level Computing#BristolMet Session Objectives#4 MUST describe the differences between the main types of primary memory SHOULD describe the function and purpose of the control unit, memory unit and ALU as individual parts of a computer COULD explain the use of registers in the functioning of the processor Create solutions to the Little Man Computer assignment

A-Level Computing#BristolMet Computer Processing STARTER: GO FOR Try to list 5 factors which affect how a computer performs. Ext: For each explain what affect it has and why. 1.Size of processor 2.Amount of Cache Memory 3.Number of cores4.Amount of RAM 5.Transfer speed of data buses. BONUS: Amount of free Hard Disk space...If a computer is using all or it’s RAM it will use a section of hard disk as a supplement. This is called VIRTUAL MEMORY. However this is still slower than pure RAM.

A-Level Computing#BristolMet Primary Storage This is also known as Main Memory or Primary Storage. INVESTIGATION (7 mins): Research what is known as the ‘bootstrap’ program of a computer. Take notes and prepare to explain where and how is stored in the computer and why it is so important. This is the first instructions the CPU receives when a computer is turned on and is commonly called the BIOS (Basic Input Output System). It contains code which controls the basic hardware settings of a PC. It is mainly stored in ROM (Read Only Memory) which is NOT erased when power is turned off.

A-Level Computing#BristolMet MEMEMORY – Remember?? To recap... There are 2 main categories of memory: RAM – Random Access Memory This is volatile memory as it’s erasable (without power) but can be accessed quickly by the CPU. ROM – Read Only Memory This is non volatile as the data Is retained without power. Therefore Knows how to start up (or boot) after Being turned off.

A-Level Computing#BristolMet 4 Min Investigation What type of memory is cache memory? Are there any sub-divisions of memory? Create a table and note their characteristics.

A-Level Computing#BristolMet Summary of Memory Use Speed of data transfer... TASK: Go shopping...Create a table and compare costs and quantities of secondary storage, RAM and CPU with cache memory. What are your conclusions?... TRANSFER SPEED INCREASES Secondary Storage CPU RAM Cache memory TYPECOSTQuantity Secondary Storage RAM CPU (with cache)

A-Level Computing#BristolMet The Fetch-Execute Cycle The CPU receives data and instructions in binary form. An instruction will have 2 parts – an instruction and possibly some data, a number or a memory location. The programs that the CPU needs to process are stored in main memory. The CPU simply fetches the next instruction it needs to process, decodes it and executes it before repeating the process. The speed of this cycle is determined by an electronic Real Time Clock (RTC) chip. The computer synchronises all processes to this clock signal. The clock speed is measured in Hertz (Hz) or cycles per second. TASK: 500 Hz would be 500 cycles per second, how many could a 3GHz processor be capable of? Fetch Decode Excecute

A-Level Computing#BristolMet Machine Code with The Little Man Computer Visit the following site and follow the simulations of the Fetch-Execute cycle using the Little Man Computer (LMC) This is an interpretation of how a processor handles machine code. The simulation shows instructions being excecuted. The Op Code (or Operation Code Field) is part of the binary code giving the instruction to be carried out i.e add or jump The Operand (Operand Field or address field) gives the address (memory location) where the data to be used in the operation can be found.

A-Level Computing#BristolMet Flow Chart Flow chart of solution to LMC Assignment 3

A-Level Computing#BristolMet Registers Registers keep a check on the progress of the instructions and data as it moves around the processor. Think of them as part of a logical operation rather than individual registers. Program Counter (PC) – In the CU. Counts the instructions as they are carried out and increments by (+1). Contains the address of the next instruction to be executed(Instructions are always stored in order) Memory Address Register (MAR) –stores the address of the memory location currently in use, sent by the PC. Memory Data Register (MDR) – A copy of the instruction held in the MAR is stored here so that the memory unit and processor and work on it at the same time. Current Instruction Register (CIR) – the instruction now in the MDR is copied into the CIR. In here it can be spilt into 2 parts; 1 part is sent to be decoded so that the processor knows what the instruction is (and signals can be sent to other parts of the processor which may be required to carry out the instruction). The other part is an address stating whereabouts in the memory the required data is.

A-Level Computing#BristolMet Registers CIR continued... E.G if an instruction of ADD 20 is given it will be split into: ADD – ALU works out how to do an add 20 – is where the data to be added will be found (the address) The address will be sent back to the MAR Memmory will be searched and whatever is address ‘20’ will be copied into the MDR. The value in the MDR can then be used as per instructed by the CIR i.e Adding As the instruction is arithmetic it will be sent to the Accumulator (a special storage register with the ALU) to be carried out

A-Level Computing#BristolMet More on Buses The signals being sent around the processor are again called buses. 3 buses you need to remember are: The Control Bus – The CU uses this to send commands to different parts of the processor. The Data Bus – carries data from one register to another. The Address Bus – carries the location address to which the data is going.