The Hardware Interview
The same architecture, organized the way an interview is organized.
36 chapters6 parts≈ 42.8 h read
Thirty-six topics covering what CPU and SoC design interviews actually ask about, from setup and hold through out-of-order execution, power and timing closure, accelerators, chiplets and CXL. Written to be answered out loud rather than skimmed.
Where the architecture course develops an idea because the next idea depends on it, this develops it because someone is going to ask about it at a whiteboard. The two overlap deliberately and cross-reference each other, so a topic that feels thin in one place can be followed to its fuller treatment in the other. Nothing here is specific to one employer. The thirty-six chapters read best in order. The first five lay the foundations, and the two chapters that begin The Core, on CPU foundations and on virtual memory, open the way to everything after them. Two chapters are not to be skipped: the one on reliability, aging and silicon lifetime, and the whiteboard and RTL coding playbook. A shorter path for a single kind of role keeps a few foundation chapters and the CPU foundations chapter, adds the chapters of that specialty, and ends on the playbook. Ten chapters stand apart, on RISC-V, machine-learning accelerators, power analysis, performance models in C++, DRAM controllers, advanced-node signoff, chiplets, CXL, system debug and AI-assisted design. No other chapter depends on them, so each can be read on its own.
Table of Contents
6 parts · 36 chapters- 01Digital Logic, Timing, and Sequential Fundamentalsadvanced28 min read
- 02State Machines, Arbiters, FIFOs, Flow Control, and CAMsadvanced23 min read
- 03Clock Generation, Distribution, Reset, and Domain Crossingadvanced42 min read
- 04RTL Design and SystemVerilog Practiceadvanced97 min read
- 05Arithmetic Hardware, Adders, Multipliers, Dividers, Shiftersadvanced18 min read
- 06RISC-V, the ISA, the Privileged Spec, and the Vector Extensionadvanced137 min read
- 01CPU Foundations, ISA, Pipeline, and Hazardsadvanced39 min read
- 02Virtual Memory, TLBs, and Memory Orderingadvanced85 min read
- 03Cache Organization, Policies, and Prefetchingadvanced44 min read
- 04SRAM Arrays, Register Files, and Error Correctionadvanced96 min read
- 05Cache Coherence Protocolsadvanced31 min read
- 06Interconnect, NoC, and AMBA Protocolsadvanced45 min read
- 07DRAM Controllers, JEDEC Timing, and the DFI Interfaceadvanced133 min read
- 01Out-of-Order Execution and Superscalar Designadvanced51 min read
- 02Front End, Fetch, Decode, and Branch Predictionadvanced51 min read
- 03Execution Units, Ports, and Bypass Networksadvanced42 min read
- 04Load, Store, and Memory Orderingadvanced52 min read
- 05Security, Side Channels, and Speculative Execution Hazardsadvanced46 min read
- 01Power Fundamentals, Clock Gating, and Power Domainsadvanced43 min read
- 02DVFS, Voltage Droop, Adaptive Clocking, and Thermal Managementadvanced76 min read
- 03Verification Methodologyadvanced44 min read
- 04Synthesis, Static Timing Analysis, and Physical Designadvanced65 min read
- 05Reliability, Aging, Variation, and Silicon Lifetimeadvanced40 min read
- 06Design for Test and Silicon Debugadvanced45 min read
- 07SoC Integration and Interfacesadvanced65 min read
- 08The Power Analysis Flow, from Activity Capture to Silicon Correlationadvanced85 min read
- 09Advanced-node signoff and the EDA vocabulary interviewers useadvanced144 min read
- 10System IP, Debug and Trace Architecture, and RASadvanced162 min read
- 01Performance Modeling and Correlationadvanced51 min read
- 02Programming and Toolingadvanced45 min read
- 03The Whiteboard and RTL Coding Exercise Playbookadvanced45 min read
- 04Building Performance Models in C++ and SystemCadvanced143 min read
- 05AI-assisted design workflows in silicon engineeringadvanced78 min read