Digital Logic
Digital logic is where this series stops talking about computing in the abstract and starts building the actual physical machinery underneath it, starting from the exact AND/OR truth table discrete mathematics already covered. Boolean algebra supplies three core operations — AND, true only if both inputs are true; OR, true if either input is true; and NOT, which flips true to false — and every other logical function, no matter how complex, can be built by combining just these three, the same operations behind the truth table worked through earlier in this series. A logic gate is the physical circuit that implements one Boolean operation, and it is built directly from the hardware this entire series has been running on top of: a transistor acts as a voltage-controlled switch, and arranging a handful of them in specific patterns produces an AND gate, an OR gate, or an inverter directly in silicon — this is the literal bridge from a true/false proposition to a physical voltage level on a real chip. Wiring individual gates together builds a circuit: a combinational circuit's output depends only on its current inputs, with no memory of anything before, while a sequential circuit adds a clock and feedback so its output also depends on what happened in previous steps, which is exactly what a register is — a small set of flip-flops, one-bit memory cells built from feedback-looped gates, holding a fixed number of bits as the fastest, closest-to-the-processor storage tier, even faster than the stack covered earlier in this series. An arithmetic unit is a combinational circuit purpose-built for math: a half-adder combines two single bits using an XOR gate for the sum and an AND gate for the carry, and chaining several full-adders together, each one also accepting a carry-in from the previous bit, builds a complete binary adder capable of adding two multi-bit numbers exactly the way the binary integers from data representation get added together in real hardware. Every layer here builds strictly on the one below it — Boolean algebra defines the rules, gates realize them in silicon, circuits wire gates into either memory or computation, and arithmetic units specialize circuits for math — which is the layered picture that scales all the way up into the full CPU this entire series has been describing as running on top of exactly these gates.