computer-science

Logic Circuits & Digital Systems

Boolean gates, truth tables, adders, flip-flops, and finite automata — the building blocks that make every computer possible.

logic gatesBoolean algebradigital circuitsflip-flopfinite automatontruth table

Digital logic is the foundation of every computer, smartphone, and microcontroller on Earth. At its core, computation reduces to just a handful of Boolean operations — AND, OR, NOT — combined in clever ways to perform arithmetic, store memory, and execute programs.

These simulations let you build and observe logic circuits in real time. Toggle inputs on Boolean gates, generate truth tables, watch carry bits propagate through adders, observe flip-flops latch and hold state, and design finite automata that recognize patterns. Every transistor in a modern CPU is doing exactly what you see here — billions of times per second.

5 interactive simulations

simulator

Boolean Logic Gates Simulator

Visualize AND, OR, NOT, XOR, and NAND gates in real time — toggle inputs and watch outputs change instantly to build intuition for digital logic

simulator

Finite State Machine Simulator

Design and run finite automata — define states and transitions, feed input strings, and watch the machine accept or reject patterns in real time

simulator

SR & JK Flip-Flop Memory Circuit Simulator

Observe how flip-flops store a single bit of memory — toggle Set, Reset, and Clock inputs to see state transitions in SR and JK circuits

simulator

Half Adder & Full Adder Circuit Simulator

Watch binary addition happen gate-by-gate — see carry bits propagate through half adders and full adders to build multi-bit arithmetic

simulator

Truth Table Generator & Evaluator

Generate and visualize truth tables for any combination of Boolean operations — see every possible input-output mapping at a glance