Karnaugh maps, logic gates, timing diagrams, and sorting networks.


A four-variable map with its two groups circled, which simplify to BD + B'D'.


An XOR gate for the sum and an AND gate for the carry, with TikZ's US-style logic symbols.


A clock, a data input, and a flip-flop output that changes only on rising clock edges.


The five comparators that sort any four values, shown sorting 3, 1, 4, 2.