Systems architecture
What the CPU does and what is inside it, the fetch-decode-execute cycle, what makes a processor faster, and embedded systems.
Watch the lesson
Every point below, worked through in one video, and each point links straight to its own part.
Learn
Systems architecture, explained point by point
Everything the GCSE specification expects you to be able to do, and how to actually do it - the same lesson a signed-in student studies from.
Explain the purpose of the CPU and the fetch-decode-execute cycle
The CPU (central processing unit) carries out the instructions that make up every program. It does one thing, over and over: fetch the next instruction from memory, decode it to work out what it means, then execute it. A 3 GHz processor goes round that cycle about three billion times a second. Everything a computer appears to do, from a game to a spreadsheet, is that loop running very fast.
Describe the parts of the CPU: the ALU, the control unit, cache and registers
The arithmetic logic unit (ALU) does the calculations and the comparisons, such as adding two numbers or testing whether one is bigger. The control unit (CU) decodes each instruction and sends the signals that tell the other parts what to do. Registers are tiny, very fast stores inside the CPU that each hold one value, and cache is fast memory holding the instructions and data the CPU uses most. AQA and Edexcel also name the buses, the sets of wires that carry addresses, data and control signals between the CPU and memory.
Describe von Neumann architecture and the job of each named registerOCR, Edexcel and Eduqas only
In von Neumann architecture, instructions and data are stored together in the same memory, and the CPU fetches them one at a time. Four registers do the bookkeeping. The program counter (PC) holds the address of the next instruction. The memory address register (MAR) holds the address being read from or written to, and the memory data register (MDR) holds the instruction or data that has just been fetched or is about to be stored. The accumulator (ACC) holds the result of the calculation the ALU has just done. OCR and Eduqas ask for these by name, and Eduqas adds the current instruction register (CIR), which holds the instruction being decoded. Edexcel asks for the stored program idea without naming registers. AQA no longer examines von Neumann architecture and says specific registers are not required.
Explain how clock speed, the number of cores and cache size affect performanceOCR, AQA and Eduqas only
Clock speed is how many cycles the CPU runs each second, measured in gigahertz: a higher speed means more instructions carried out per second. Each core is a processor in its own right, so a quad-core CPU can work on four tasks at once, although a program only gains if it was written to split its work across cores. A bigger cache keeps more of the instructions in use close to the CPU, so fewer slow trips to RAM are needed. In an answer, say what changes and then why it makes the computer faster. Edexcel does not ask for these three factors.
Explain what an embedded system is and give examples
An embedded system is a computer built into a larger device to do one dedicated job. A washing machine, a microwave, a car’s engine management unit and a traffic light controller all contain one. Because the job is fixed, the system can be small, cheap and low-power, and its program is usually stored in ROM. A laptop or a phone is a general-purpose computer, so it is not an embedded system.
Identify other hardware inside a computer: graphics cards, sound cards and the motherboardEduqas only
Eduqas also asks about the hardware around the CPU. A graphics processing unit (GPU) does the calculations needed to draw images: an integrated GPU is built into the processor and shares its memory, while a dedicated GPU is a separate card with memory of its own. A sound card turns digital data into sound and back. The motherboard is the main circuit board that everything else plugs into. Input devices put data in and output devices bring results out.
Systems architecture key terms
The words the specification and the mark schemes use, each defined the way an examiner wants it.
- CPU
- The central processing unit: the part of a computer that fetches, decodes and executes program instructions.
- Fetch-decode-execute cycle
- The repeating sequence in which the CPU fetches an instruction from memory, decodes it and carries it out.
- Arithmetic logic unit (ALU)
- The part of the CPU that carries out calculations and logical comparisons.
- Control unit (CU)
- The part of the CPU that decodes instructions and sends signals to coordinate the other components.
- Register
- A very small, very fast store inside the CPU that holds a single value, such as an address or an instruction.
- Program counter (PC)
- The register that holds the memory address of the next instruction to be fetched.
- Accumulator (ACC)
- The register that holds the result of the calculation the ALU has just carried out.
- Von Neumann architecture
- A computer design in which instructions and data are stored together in the same memory.
- Clock speed
- The number of fetch-decode-execute cycles a CPU carries out each second, measured in hertz.
- Core
- A processing unit within a CPU that can fetch and execute instructions independently of the other cores.
- Embedded system
- A computer system built into a larger device to carry out one dedicated function.
Common mistakes in Systems architecture
The slips that cost marks year after year, and what to do instead.
Saying a faster clock speed means the computer has more memory
Clock speed is the number of cycles the CPU runs each second. Link it to instructions carried out per second, never to storage.
Swapping the MAR and the MDR
The MAR holds an address, which is where to look. The MDR holds what was found there or what is about to be stored.
Claiming that twice as many cores makes every program twice as fast
Extra cores only help when the work can be split between them. Say that the software must be written to use several cores.
Calling a laptop or a phone an embedded system
An embedded system has one dedicated job inside a larger device, such as a washing machine. A general-purpose computer is not one.
Practice
Try a Systems architecture question
A GCSE-style original question from this topic. Have a go before you open the working - deciding on an answer first is what makes the working stick.
Answer: The quad-core can work on up to four tasks at once, but a program gains only if it is written to use several cores
Each core is a processor in its own right, so four cores can run four tasks at once, but only software written to split its work gains.
- Each core can fetch, decode and execute on its own.
- Four cores can process up to four tasks at once.
- A program only gains if it is written to share its work between cores.
