Common CPU components
The CPU/processorCentral processing unit - the brain of the computer that processes program instructions. consists of six main components:
- control unit (CU)The component of the CPU that manages instructions.
- arithmetic logic unit (ALU)A component of the CPU that performs arithmetic and logic calculations.
- registerThe section of high speed memory within the CPU that stores data to be processed.
- cache memoryA piece of temporary memory. It can refer to a part of the RAM, storage disk, CPU, or an area for storing web pages.
- busThe wires through which data travels from one part of a computer to another on the motherboard.
- clockA component of the CPU that sends out regular pulses. Its job is to synchronise the computer's hardware components.
All the components work together to allow processing and system control.
Control unit (CU)
The CU provides several functions:
- it fetchRetrieve data from memory., decodeInterpret an instruction. and executeCarry out an instruction.instructionA single action that can be performed by a computer processor.
- it issues control signals that control hardwareThe physical parts of a computer system, eg a graphics card, hard disk drive or CD drive. components within the CPU
- it transfers dataUnits of information. In computing there can be different data types, including integers, characters and Boolean. Data is often acted on by instructions. and instructions around the system
Arithmetic logic unit (ALU)
The arithmetic logic unit (ALU)A component of the CPU that performs arithmetic and logic calculations. has two main functions:
- it performs arithmetic and logical operations (decisions).
- it acts as a gateway between primary storageThe part of a computer that stores data. and secondary storageNon-volatile memory external to the CPU and used for long-term storage of programs and data. - data transferred between them passes through the ALU.
Registers
Registers are small amounts of high-speed memory contained within the CPU. They are used by the processor to store small amounts of data that are needed during processing, such as:
- the address of the next instruction to be executed
- the current instruction being decoded
- the results of calculations
Different processors have different numbers of registers for different purposes. Most have some, or all, of the following:
- program counter (PC)
- memory address register (MAR)
- memory data register (MDR)
- current instruction register (CIR)
- accumulator (ACC)
Cache
Cache is a small amount of high-speed RAMRandom access memory. This is volatile memory that is constantly being written to and read from. It does not retain its contents without a constant supply of power. When a computer is turned off, everything stored in its RAM is lost. built directly within the processor. It is used to temporarily hold data and instructions that the processor is likely to reuse. This allows for faster processing, as the processor does not have to wait for the data and instructions to be fetchRetrieve data from memory. from the RAM.
Clock
The CPU contains a clock which, along with the CU, is used to coordinate all of the computer's components. The clock sends out a regular electrical pulse which synchronises (keeps in time) all the components.
The frequency of the pulses is known as clock speedThe speed of a computer's CPU, measured in hertz. This indicates the number of fetch-decode-execute cycles that can run per second.. Clock speed is measured in hertzThe unit of frequency, symbol 'Hz'. 1 Hz is 1 wave or cycle per second.. The greater the speed, the more instructions can be performed in any given moment of time.
In the 1980s, processors commonly ran at a rate of between 3 megahertz1,000,000 hertz - a measure of frequency, or cycles per second. and 5 MHz, which is 3 million to 5 million pulses or cycles per second. Today, processors commonly run at a rate of between 3 gigahertzA measure of frequency: 1 gigahertz (1GHz) is 1 billion hertz. and 5 GHz, which is 3 billion to 5 billion pulses or cycles per second.
Buses
A bus is a high-speed internal connection. Buses are used to send control signals and data between the processor and other components.
Three types of bus are used.
- Address bus - carries memory addresses from the processor to other components such as primary storage and input/output devices. The address bus is unidirectionalMoving or operating in one direction..
- Data bus - carries the data between the processor and other components. The data bus is bidirectionalMoving or operating in two directions..
- Control bus - carries control signals from the processor to other components. The control bus also carries the clock's pulses. The control bus is unidirectional.
More guides on this topic
- Primary storage - Eduqas
- Secondary storage and embedded systems - Eduqas
- Networks - Eduqas
- Internet and cybersecurity - Eduqas
- Data representation - Eduqas
- Storage and data organisation - Eduqas
- Operating systems - Eduqas
- Principles of programming - Eduqas
- Algorithms - Eduqas
- Sorting, searching and validation - Eduqas
- Software development - Eduqas
- Impacts of digital technology on wider society - Eduqas