Logic circuits, Boolean expressions, timing diagrams and values per interval
Type a Boolean expression: the circuit, the expression, the timing diagram and the values per interval will follow what you wrote. For a random exercise, use “New circuit”.
Traditional IEC/ANSI symbols. White background for easier reading.
Nalgoritmo's Boolean algebra generator creates logic circuit exercises and also solves Boolean expressions. Click “New circuit” to get a random exercise, or type your own Boolean expression and click “Solve” to see its logic circuit, Boolean formula, timing diagram and values per interval.
It is made for students, teachers and anyone studying digital electronics, logic gates, computer architecture or programming logic who wants to practice reading logic circuits and writing Boolean expressions.
Type the expression in the “Solve an expression” box, for example S = (A · B) + ~C, and click “Solve”. The page draws the logic circuit and shows the Boolean formula, the timing diagram and the values per interval together with the output.
NOT with ~ or !, AND with · . * or &, XOR with ⊕ or ^, and OR with + or |. You can also use the words NAND, NOR and XNOR. Variables are the letters A to Z, and S is the output. Precedence is NOT, AND, XOR, OR.
The logic circuit as a logic diagram, the Boolean expression as a formula, the timing diagram with output S next to the formula, and the values-per-interval table with the output. The expression and the output are also listed one per line below the table.
Boolean inputs (0 / 1), conditional inputs that use relational operators, and Boolean timer inputs, where each input is an LED that turns on and off.
From 1 to 10 gates. You can allow all gates, only AND / OR / NOT, or every gate except NOT, and choose whether gate outputs may branch (fan-out).