Skip to content
Chethan Yadav_

$ cd ~/learn/computer-architecture

Computer Architecture

Number systems, CPU design, pipelining, memory hierarchy, caches and I/O.

CS Fundamentals/6 Lessons

All subjects
  1. Lesson 01 · 7 min read

    Number Systems

    Binary, octal and hexadecimal conversion, signed numbers with two's complement, overflow, IEEE 754 floating point, BCD and character encodings.

  2. Lesson 02 · 7 min read

    Digital Logic

    Logic gates, Boolean algebra, Karnaugh maps, combinational circuits like adders and multiplexers, and sequential circuits like flip-flops and counters.

  3. Lesson 03 · 7 min read

    CPU Organization

    Von Neumann architecture, CPU components, the instruction cycle, instruction formats, addressing modes, RISC vs CISC and CPU performance equations.

  4. Lesson 04 · 7 min read

    Pipelining

    Instruction pipelining, the classic five-stage pipeline, speedup, structural, data and control hazards, forwarding, stalls and branch prediction.

  5. Lesson 05 · 8 min read

    Memory Hierarchy and Cache

    The memory hierarchy, locality, cache mapping (direct, fully and set associative), replacement and write policies, AMAT and cache coherence.

  6. Lesson 06 · 7 min read

    I/O and Parallelism

    I/O techniques, buses, Flynn's taxonomy, multicore and SIMD, GPUs, Amdahl's and Gustafson's laws, and shared vs distributed memory.