Processor components & Fetch–Decode–Execute
Follow register transfers, buses, control signals, opcode/operand decoding and instruction execution.
| Address | Contents |
|---|
Binary instruction words & Decode Unit
Fetch an 8-bit word from RAM, split it into opcode and operand, then watch the Decode Unit determine the instruction.
| Opcode | Operand | Instruction |
|---|
| Address | 8-bit word |
|---|
Instruction pipelining
Observe Fetch, Decode and Execute overlapping across different instructions.
Von Neumann, Harvard & contemporary architectures
Compare where instructions/data are stored and how their pathways are organised.
Von Neumann
Instructions and data share the same main memory and shared pathways.
Harvard
Instructions and data use separate memories and separate buses.
Contemporary / modified Harvard
A common modern arrangement mixes both ideas.
Factors affecting CPU performance
Explore clock speed, number of cores and cache without pretending they combine into one universal benchmark.
Clock speed
How many clock cycles occur each second. A higher clock can allow more processor operations per second, all else equal.
Number of cores
Multiple cores can execute instructions independently, but software must contain work that can run in parallel.
Cache
Small, fast memory close to the CPU stores recently/frequently used instructions or data to reduce slower main-memory accesses.