sr-latch
The SR Latch: The Simplest Digital Memory Element
TL;DR: The SR (Set-Reset) latch is a bistable circuit built from two cross-coupled NOR gates (active-high) or two cross-coupled NAND gates (active-low). It supports Set, Reset, and Hold operations but...