The Function of the CPU
Lesson Objectives
To understand the purpose of the CPU
To understand how the CPU processes data
To understand the various components that make up the CPU
Date: 15/09/2023
Settler:
What is the CPU?___________ ________________________________________________________________________
What is it for?______________ ________________________________________________
3 minutes
The Function of the CPU
Lesson Objectives
To understand the purpose of the CPU
To understand how the CPU processes data
To understand the various components that make up the CPU
Date: 15/09/2023
Settler:
What is the CPU?___________ ________________________________________________________________________
What is it for?______________ ________________________________________________
3 minutes
Computing Specification
Computer Systems CPU
Architecture of the CPU
CPU Performance
Embedded Systems
What is the Purpose of the CPU?
The CPU is often known as the 'brain of the computer'.
Its job…..
Whenever you are working on your computer, it is the CPU which is at the heart of everything.
The Function of the CPU
The Fetch-Decode-Execute Cycle
The…..
To begin with, whenever you open and work with a program, its data and instructions are loaded onto the RAM.
As the RAM is accessed directly by the CPU, the CPU can get to work!
The Fetch Stage
In this step…..
The Function of the CPU
The Fetch Stage - Continued
For this to happen, the CPU uses a piece of hardware path called the 'address bus'.
The…..
Data from this area then travels from the RAM to the CPU on another piece of hardware called the ‘Data Bus’
RAM / Memory
CPU
RAM / Memory
CPU
…Bus
…Bus
The Function of the CPU
The Decode Stage
The decode step is when…..
The CPU ‘decodes’ the instruction and gets things ready for the next step.
Making Sense of Instructions
The Function of the CPU
The Execute Stage
The Execute stage is ….
Instructions are carried out on the data.
Once a cycle has been completed…..
The Function of the CPU
Summary of a CPU processing cycle:
The Function of the CPU
What makes up a CPU?
Now that we know the basic actions performed by the CPU it’s time to look at the areas of the CPU responsible:
Control Unit
Immediate Access Store (IAS) or “Cache”
Arithmetic and Logic Unit (ALU)
The Function of the CPU
The Control Unit
There are three main jobs of the Control Unit:
It ……
It ……
It ……
The Function of the CPU
Immediate Access Store (Cache)
This part stores the data which is to be immediately processed.
The CPU takes a chunk of data / instructions from ……
If data and instructions were downloaded from RAM one item at a time, the CPU ……
So instead, chunks are downloaded and stored on the CPU so the CPU doesn’t spend ….
The Function of the CPU
Arithmetic and Logic Unit (ALU)
This is where the CPU actually carries out the maths and logic on the data (processes it).
It has two parts:
Arithmetic part…..
Logic part …….
The Function of the CPU
Summary