C
Computer Architecture and Digital Systems
How computers are built from logic: binary, gates, sequential circuits, processors and the efficiency of computation.
From true/false decisions, through Boolean algebra and binary, to sequential logic and state machines, then processor organisation and register-transfer design, and finally microarchitecture.
Level 1 · Explorer
True/false logic and how computers follow instructions.
1.1Logic: yes/no decisions
AvailableNot yet externally reviewedAND, OR and NOT as everyday rules, explored with switches and gates in the logic lab, and applied to a safety interlock.
- Describe AND, OR and NOT with everyday examples.
- Fill in a truth table for a two-input rule.
- Design a rule that keeps a machine safe when a sensor fails.
1.2How a computer follows instructions
In developmentNot yet externally reviewedA computer as a machine that follows simple steps very quickly, and the difference between a microcontroller and a laptop. A related lesson exists but is pitched above this level.
- Describe a program as a sequence of simple instructions.
- Explain the roles of processor, memory and inputs/outputs.
- Compare a microcontroller with a laptop for a simple job.
Level 2 · Builder
Binary, Boolean algebra and logic gates.
2.1Binary, hexadecimal and digital signals
AvailableNot yet externally reviewedRepresenting numbers in binary and hexadecimal, logic levels, and why digital signals tolerate noise.
- Convert between binary, decimal and hexadecimal.
- Explain bits, bytes and logic levels.
- Add binary numbers and relate this to a half adder in the logic lab.
2.2Boolean algebra and combinational logic
AvailableNot yet externally reviewedSimplifying Boolean expressions and building adders, multiplexers and decoders from gates.
- Simplify a Boolean expression and verify with a truth table.
- Build XOR from NAND gates.
- Design a half adder and a majority vote.
Level 3 · Innovator
Digital electronics, sequential logic, state machines and data representation.
3.1Sequential logic, registers and clocks
AvailableNot yet externally reviewedLatches, flip-flops, registers and counters, and how a clock turns combinational logic into memory.
- Explain how a flip-flop stores a bit.
- Trace a counter through several clock cycles.
- Distinguish combinational from sequential circuits.
3.2Finite state machines
AvailableNot yet externally reviewedDescribing behaviour as states and transitions, in hardware and in firmware.
- Draw a state diagram for a controller.
- Implement a state machine in code.
- Relate a state register to flip-flops.
3.3Integers, bits and registers
AvailableNot yet externally reviewedFixed-width integers and overflow, bitwise operations on registers, and fixed-point numbers.
- Predict overflow in fixed-width integer arithmetic.
- Set, clear and toggle bits with masks.
- Represent fractional values in fixed point.
Level 4 · Systems Engineer
Computer architecture, instruction sets and register-transfer design.
4.1Inside a processor: datapath, control and memory
In developmentNot yet externally reviewedHow a processor fetches, decodes and executes instructions, and how firmware is compiled and placed in memory. Introductory lessons exist; a datapath-level treatment is still to be written.
- Describe the fetch–decode–execute cycle.
- Trace how source code becomes machine instructions in flash.
- Explain the roles of registers, ALU and memory buses.
4.2Instruction set architectures and assembly
PlannedNot yet externally reviewedWhat an instruction set defines, how a small RISC-style ISA encodes instructions, and how C constructs map to assembly.
- Read and write short programs in a teaching assembly language.
- Explain instruction encoding and addressing modes.
- Translate a loop and a function call from C to assembly.
4.3Register-transfer level design
PlannedNot yet externally reviewedDescribing digital hardware as registers and the logic between them, using a hardware description language in a free simulator.
- Describe a counter and a small ALU at register-transfer level.
- Simulate a design and read its waveform.
- Explain timing constraints between clocked registers.
4.4Efficiency: energy, memory and bits
In developmentNot yet externally reviewedHow much energy and memory a computation costs and how number representation trades accuracy for resources. Missions explore this; an architecture-level lesson is still to be written.
- Estimate memory use for storing sensor data at different bit depths.
- Relate duty cycle and clock rate to energy use.
- Choose a number representation that meets an accuracy target.
Level 5 · Research Engineer
Microarchitecture and hardware for resource-constrained computing.
5.1Pipelines, caches and microarchitecture
PlannedNot yet externally reviewedHow processors overlap instructions in pipelines, why hazards occur, and how caches hide memory latency.
- Trace instructions through a five-stage pipeline and identify hazards.
- Calculate average memory access time for a cache.
- Explain how microarchitecture affects real-time predictability.
5.2Hardware for embedded inference
PlannedNot yet externally reviewedHow quantised arithmetic, multiply–accumulate units and memory layout determine the cost of running learned models on small devices.
- Count operations and memory traffic for a small neural network layer.
- Compare floating-point and integer arithmetic costs.
- Evaluate a design's accuracy–energy trade-off.
5.3Measuring and modelling performance
PlannedNot yet externally reviewedBenchmarking honestly: timing code, controlling variables, and building simple performance models that predict measurements.
- Design a fair benchmark with repeated measurements.
- Build a roofline-style model of a kernel.
- Report performance with uncertainty and stated conditions.