Engineer · Researcher · Educator

Dr. Anirban Chakraborty

CPU Microcode Engineer at Intel · Ph.D. in Electrical Engineering · Editor-in-Chief, ASIR.

Start herePart I · 1/66

The Computing Stack

Computer architecture is the study of how the hardware that runs software is organized. This opening chapter introduces the field and the vocabulary the rest of the book uses. The discussion moves from purpose…

Architectural Foundations62 min read

Recent commits

  • bb9ed18docs(ecc): record chapters 31 to 33 as published and Part III paused until next week
  • 579a031feat(ecc): publish the Polynomials over a Field chapter
  • 083825cfeat(ecc): publish the Rings and Fields chapter, opening Part III
The Shelf

Written to be read in order

Four books, each starting from nothing and assuming no background beyond school mathematics, longest first. The Parts below are the reading order, not a menu.

The Hardware Interview

The same architecture, organized the way an interview is organized.

≈ 42.8 h of reading

  1. Part IFoundations6
  2. Part IIThe Core7
  3. Part IIIOut-of-Order Execution5
  4. Part IVPhysical Design and Silicon10
  5. Part VSystems, Accelerators and Interconnect3
  6. Part VIThe Room5

Computer Architecture

From first principles to the out-of-order engines in shipping processors.

≈ 34.6 h of reading

  1. Part IArchitectural Foundations12
  2. Part IIInstruction Set Architectures12
  3. Part IIISingle-Cycle, Multi-Cycle, and Pipelined CPUs11
  4. Part IVMemory Hierarchy13
  5. Part VAdvanced ILP and Out-of-Order Execution18

Error Correction Coding

From finite-field arithmetic to decoders in silicon.

≈ 30 h of reading

  1. Front matterBefore You Start3
  2. Part IErrors, Information and Channels12
  3. Part IILinear Block Codes19
  4. Part IIIFinite Fields and Their Arithmetic2

Post-Quantum Cryptography from First Principles

The mathematics behind ML-KEM and ML-DSA, built from nothing.

≈ 7 h of reading

  1. Front matterBefore you start1
  2. Chapter 1Finite Fields and Polynomial Rings10
  3. Chapter 2Why Post-Quantum Cryptography?10
  4. Chapter 3Lattices and Learning With Errors11
  5. Chapter 4Ring-LWE, Module-LWE, and the Number Theoretic Transform11
  6. Chapter 5ML-KEM11
  7. Chapter 6ML-DSA11
  8. Chapter 7Modular Reduction and the Keccak Sponge10
  9. ReferenceNotation and further reading2
114

Hours of reading across four books

7

Peer-reviewed papers

4+

Years in industry

In motion
Five instructions in flight at once. When sub needs x1 a cycle before add writes it back, forwarding from the EX/MEM register saves a two-cycle stall. Pipeline Hazards works through the case cycle by cycle.
Featured ProjectActive

Yantra — CPU Design from Scratch

A ground-up CPU RTL design in SystemVerilog — from combinational building blocks through a fully pipelined processor, with open-source tooling.

Build log

terminal
  • bb9ed18 docs(ecc): record chapters 31 to 33 as published and Part III paused until next week
  • 579a031 feat(ecc): publish the Polynomials over a Field chapter
  • 083825c feat(ecc): publish the Rings and Fields chapter, opening Part III
  • 8662ae7 feat(ecc): publish the Lab: Measuring Miscorrection chapter, completing Part II
  • 06a3e61 feat(ecc): publish the Project: A SEC-DED Encoder and Decoder chapter

Read from the repository when this page was built. The site is static, so this is the state of the source at the last deploy rather than a live feed, and the repository itself is private.

About

From Silicon to Systems

CPU Microcode Engineer at Intel with a Ph.D. in Electrical Engineering. Work spans microcode, RTL design, and hardware architectures for Error Correction Coding. Editor in Chief at Applied Science and Innovative Research, editorial board member at the Journal of Education and Culture Studies, and seven peer-reviewed papers.

More about Anirban
Get in Touch

Ways to Connect

Collaboration, research, speaking, or just a hello — pick the channel that suits you.

Tools of the trade

SystemVerilogVHDLVerilogPythonCMATLABSynopsys DCPrimeTimeCadence VirtuosoModelSimXilinx VivadoIntel QuartusCadence JasperGoldVerdiRTL DesignPhysical DesignFPGAUVMTclLinuxSystemVerilogVHDLVerilogPythonCMATLABSynopsys DCPrimeTimeCadence VirtuosoModelSimXilinx VivadoIntel QuartusCadence JasperGoldVerdiRTL DesignPhysical DesignFPGAUVMTclLinux