Boolean function
Specify a relationship between binary inputs and outputs using algebra, a truth table, or another exact logical description.
Digital logic turns binary relationships into physical circuits. Boolean functions define desired behavior, gates implement those functions, combinational networks compose them into useful operations, and sequential circuits add memory so hardware can evolve through time.
A gate is simple enough to describe with a tiny truth table. Useful hardware emerges by wiring many such functions together and, when memory is needed, feeding state forward through time.
Specify a relationship between binary inputs and outputs using algebra, a truth table, or another exact logical description.
Implement Boolean operations with composable gates such as NOT, AND, OR, XOR, NAND, and NOR.
Combine gates so outputs depend only on the inputs present now: adders, multiplexers, encoders, decoders, comparators, and more.
Add stored state and feedback so future behavior depends on both current input and remembered history.
invert one bit
1 only when both inputs are 1
1 when at least one input is 1
1 when the inputs differ
A full adder combines XOR, AND, and OR relationships to add two bits plus an incoming carry. Chaining full adders creates wider binary addition.
Combinational logic answers a question about the present inputs. Sequential logic lets the circuit's past affect what happens next.
Stores one bit of state using a circuit whose output can persist after the initiating input changes.
Groups multiple state elements so a word of binary data can be held and updated together.
Uses stored state plus combinational next-state logic to move through a defined sequence of binary states.
Combines a state register with next-state and output logic to coordinate multi-step hardware behavior.