01Chapter 1: Why memory is a hierarchyThis chapter assumes you can read binary and hexadecimal numbers, know that a CPU fetches instructions and data from memory, and can compute a weighted average.2 min read
02Chapter 2: Splitting an address into tag, index and offsetA cache stores copies of blocks from main memory. When the CPU requests a byte, the cache must find out whether that byte's block is already stored. It does this by splitting the memory address into three fields: the offset, the index and the tag.2 min read
03Chapter 3: Cache size, tag bits and total storageThis chapter assumes you know binary and powers of two, that memory is byte-addressable, and that a cache moves data in fixed-size blocks between levels of memory.2 min read