All courses
Computer Architecture and Organisation
Inside the silicon — from stored programs to caches and multicore buses
Start the course First: Computer Architecture and Computer Organisation
The route
Lessons are in the order that makes each one easier than the last. Each unit ends with a short quiz.
- 0/3Unit 1
Architecture, Organisation and the Von Neumann Machine
How a programmer's blueprint turns into silicon hardware, and how stored programs replaced rewiring cables.- Computer Architecture and Computer OrganisationFree Two phones can run the exact same apps yet feel worlds apart in speed and battery life — the reason lies in the split between architecture and organisation. 12 min
- Single-Processor and Multicore Computer Structure Opening the casing reveals four main building blocks — and inside modern processors, several independent cores sharing one piece of silicon. 10 min
- The Von Neumann Architecture and the IAS Machine Before 1945, changing what a computer calculated meant pulling out patch cables and rewiring it by hand — until one simple insight put programs in memory beside the data. 15 min
- Unit 1 quiz6 questions on this unit 8 min
- 0/3Unit 2 Full plan
Instruction Cycles and System Interconnection
How instructions step from memory to execution, and how buses and point-to-point links carry them there.- The Instruction Cycle and Interrupt Basics Fetching and executing one instruction sounds like two simple steps — until pointers, multiple operands, and urgent hardware interrupts enter the room. 11 min
- System Bus Interconnection A CPU without wires to memory and I/O is an engine with no driveshaft — classically, those wires form a shared highway called the system bus. 12 min
- Point-to-Point Interconnects: QPI and PCI Express Instead of forcing every chip to shout down one crowded shared corridor, modern motherboards build dedicated multi-lane expressways between pairs of chips. 12 min
- Unit 2 quiz6 questions on this unit 8 min
- 0/5Unit 3 Full plan
Instruction Set Architecture and Assembly Language
What instructions look like in binary, how they locate operands, and how loops and functions run on bare metal.- Machine Instruction Elements and Instruction Formats Binary bit-fields encode opcodes, and zero-, one-, two-, and three-address formats reshape a program. 13 min
- Operand Types, Byte Ordering and Operation Types An instruction's opcode is only half the story — the CPU also has to know what kind of data sits in memory and which end of a 32-bit number comes first. 11 min
- Addressing Modes A 16-bit or 32-bit instruction locates data anywhere in gigabytes of RAM through addressing modes. 14 min
- Stack Operations, Procedure Calls and High-Level Constructs Behind every function call, every if-statement, and every for-loop in Python or C lies a handful of jumps, comparisons, and a downward-growing stack in RAM. 14 min
- Assembly Language Programming and the Assembly Process Two-pass assemblers, linkers, loaders, and system interrupts turn human-readable mnemonics into running code. 14 min
- Unit 3 quiz8 questions on this unit 10 min
- 0/3Unit 4 Full plan
Data Path, Control Unit Design and Pipelining
Inside the CPU: how micro-operations move data, how control signals fire, and how pipelines overlap work.- Register Transfer Language (RTL) and CPU Data Path Inside the silicon, every machine instruction unfolds as a clocked sequence of micro-operations across buses and registers. 13 min
- Control Unit Design: Hardwired and Microprogrammed Control The data path has all the muscles — registers, buses, and an ALU — while the control unit is the nervous system deciding which switches fire at every tick of the clock. 13 min
- Instruction Pipelining, Hazards and Superscalar Execution Overlapping instruction stages multiplies CPU throughput, while superscalar execution and hazard handling keep pipelines moving. 15 min
- Unit 4 quiz6 questions on this unit 8 min
- 0/3Unit 5 Full plan
Memory Systems and Internal Memory
Why no single memory technology wins on speed, size and price, and how transistors and capacitors hold your bits.- Characteristics of Memory Systems and Storage Technologies Semiconductor, magnetic, optical, and magneto-optical devices store bits and trade off speed, cost, and permanence. 12 min
- Semiconductor Memory: SRAM, DRAM, ROM and Error Correction Comparing SRAM, DRAM, and ROM cells, and using Hamming SEC codes to detect and repair single-bit memory errors. 15 min
- The Memory Hierarchy and Locality of Reference Tiered memory hierarchies exploit temporal and spatial locality to deliver near-cache speed at main-memory cost. 13 min
- Unit 5 quiz6 questions on this unit 8 min
- 0/3Unit 6 Full plan
Cache Memory and Virtual Memory
Keeping the CPU fed at gigahertz speeds using small, smart caches and page-table address translation.- Cache Memory Principles and Mapping Functions Main memory holds millions of blocks while a cache holds only thousands — mapping functions decide which cache slot each memory block is allowed to call home. 15 min
- Replacement Algorithms, Write Policies, Multilevel Caches and Compiler Support Comparing LRU, FIFO, and LFU replacement, write-through vs write-back policies, multilevel caches, and loop tiling. 14 min
- Virtual Memory, Paging and Translation Lookaside Buffers Paging, page tables, the TLB, and segmentation give every running process its own private address space. 14 min
- Unit 6 quiz6 questions on this unit 8 min
- 0/5Unit 7 Full plan
I/O Organisation, Interrupts and Parallel Architectures
Talking to disks and keyboards without stalling the CPU, and wiring multiple cores to work together.- Input/Output Modules and Programmed I/O You cannot plug a printer or SSD straight onto a CPU's raw data bus — an I/O module translates between nanosecond silicon buses and millisecond physical devices. 11 min
- Interrupt-Driven I/O and Multiple Interrupt Handling Interrupt-driven I/O eliminates polling loops, saves processor context, and resolves nested interrupt priorities. 13 min
- Direct Memory Access (DMA) and I/O Channels Letting a DMA controller transfer entire blocks directly between I/O and RAM with only one completion interrupt. 12 min
- Parallel Architectures, Flynn's Taxonomy and Cache Coherence Classifying parallel machines under Flynn's taxonomy and keeping private caches coherent across shared-memory cores. 13 min
- Interconnection Networks for Parallel Systems Comparing bus, crossbar, multistage Omega, mesh, ring, and hypercube topologies for multi-node parallel systems. 14 min
- Unit 7 quiz8 questions on this unit 10 min