MakarovSuites
English
EnglishDeutschРусскийУкраїнськаFrançaisEspañolItalianoPolski
Contact & licences

Math

Logic gates

Operate Boolean gates, half and full adders, a four-bit carry chain and an edge-triggered memory bit.

Logic gates — Actual application image
Actual application image

Try this

Gold wires carry 1, dark wires carry 0. Click input cells or change integer inputs. Single-bit circuits use the low bit. The D flip-flop captures D only on the rising clock edge; changing D alone does not change Q.

Equations used in the module
Equations
Half adder: S = A XOR B; C = A AND B
Full adder: S = A XOR B XOR Cin
Cout = (A AND B) OR (Cin AND (A XOR B))
D flip-flop: Qnext = D on a rising clock edge; otherwise Qnext = Q

Related experiments

Back to catalogue
Backtracking: queens and sudoku — Actual application image

Math

Backtracking: queens and sudoku

Follow recursive backtracking for N queens and full 9×9 Sudoku, compare pruning and variable ordering, and enumerate queen solutions.

Edit distance and diff — Actual application image

Math

Edit distance and diff

Build edit-distance tables from your own strings and trace an optimal alignment with adjustable substitution cost.