Apex › Hardware
The flip-flop — how a circuit remembers a bit
The adder forgets; memory needs feedback. Cross-couple two NOR gates and the pair locks into a stable 0 or 1 and holds it. That is an SR latch. Add a clock edge and you get a D flip-flop, the storage element behind CPU registers and SRAM cache. Set, reset, and hold a latch, then clock a flip-flop and watch it capture data only on the rising edge.
More in Hardware
- Transistors → logic gates
- Binary adder (gates→math)
- ALU (the compute core)
- How hardware multiplies fast (Wallace tree)
- Address decoding & buses
- CPU cache (sets & ways)
- How RAM works (DRAM)
- Memory, up close (guided tour)
- Polling · interrupts · DMA
- How a keystroke reaches the screen
- How an SSD works (flash/FTL)
- How flash stores a bit (floating gate)
- GPU / SIMT execution
- How a TPU multiplies matrices (systolic array)