Study Atlas › Computer Science › Computer architecture

Boolean logic and digital circuits

Logic with true/false values, built in hardware from gates such as AND, OR and NOT.

Edited by Alex C, EduAlx · Sources cited below

Explanation

Boole's Laws of Thought (1854) formalised the algebra. Shannon's master's thesis (1937) showed relay circuits implement Boolean algebra, founding digital design. NAND alone is universal. Adders, multiplexers and flip-flops build ALUs and memory.

Example

A half adder: sum = A XOR B, carry = A AND B.

How it works, step by step

  1. Write the truth table
  2. Derive a Boolean expression
  3. Simplify (Karnaugh map, De Morgan)
  4. Build with gates

Open the interactive page with diagrams →

People behind it

References

  1. G. Boole, An Investigation of the Laws of Thought, London, 1854.
  2. C. E. Shannon, Trans. AIEE 1938, 57, 713–723.

Textbooks

Related topics

Von Neumann architecturePipelining and parallel processorsMemory hierarchy and cachesP versus NPOperating systems: processes, scheduling and memoryTuring machines and computabilityConcurrency: deadlock and synchronisationDynamic programmingRelational databases and SQLGraph algorithms: BFS, DFS and Dijkstra's shortest path