Study
All courses
IFT-212 Computer Science · 200 levelInformation Technology · 200 level

Computer Architecture and Organisation

Inside the silicon — from stored programs to caches and multicore buses

7 units · 25 lessons · about 5 hours of reading

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.

  1. 0/3
    Unit 1

    Architecture, Organisation and the Von Neumann Machine

    How a programmer's blueprint turns into silicon hardware, and how stored programs replaced rewiring cables.
    1. 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
    2. 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
    3. 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
    4. Unit 1 quiz6 questions on this unit 8 min
  2. 0/3
    Unit 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.
    1. 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
    2. 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
    3. 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
    4. Unit 2 quiz6 questions on this unit 8 min
  3. 0/5
    Unit 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.
    1. Machine Instruction Elements and Instruction Formats Binary bit-fields encode opcodes, and zero-, one-, two-, and three-address formats reshape a program. 13 min
    2. 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
    3. Addressing Modes A 16-bit or 32-bit instruction locates data anywhere in gigabytes of RAM through addressing modes. 14 min
    4. 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
    5. Assembly Language Programming and the Assembly Process Two-pass assemblers, linkers, loaders, and system interrupts turn human-readable mnemonics into running code. 14 min
    6. Unit 3 quiz8 questions on this unit 10 min
  4. 0/3
    Unit 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.
    1. 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
    2. 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
    3. Instruction Pipelining, Hazards and Superscalar Execution Overlapping instruction stages multiplies CPU throughput, while superscalar execution and hazard handling keep pipelines moving. 15 min
    4. Unit 4 quiz6 questions on this unit 8 min
  5. 0/3
    Unit 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.
    1. 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
    2. 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
    3. 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
    4. Unit 5 quiz6 questions on this unit 8 min
  6. 0/3
    Unit 6 Full plan

    Cache Memory and Virtual Memory

    Keeping the CPU fed at gigahertz speeds using small, smart caches and page-table address translation.
    1. 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
    2. 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
    3. 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
    4. Unit 6 quiz6 questions on this unit 8 min
  7. 0/5
    Unit 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.
    1. 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
    2. 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
    3. 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
    4. 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
    5. Interconnection Networks for Parallel Systems Comparing bus, crossbar, multistage Omega, mesh, ring, and hypercube topologies for multi-node parallel systems. 14 min
    6. Unit 7 quiz8 questions on this unit 10 min

Practise and remember