Logic — half adder
Two-input half adder with XOR (sum) and AND (carry).
View example and source Edit in StudioNative digital-logic engine — three modes in one. `type gates` for IEC-style gate schematics (AND, OR, NOT, NAND, NOR, XOR, XNOR, BUF), `type kmap` for 2-4 variable Karnaugh maps with Gray-coded rows / columns and highlighted 1-cells, `type truthtable` for full truth tables with output-coloured cells. Covers the EE / CS undergraduate digital-logic curriculum.

Most users come to Digital logic (gates / K-map / truth table) from Logisim sketches or Textbook digital-logic figures. flowss runs this engine in the browser — no install, shareable via URL, exportable to PNG / SVG / PDF / source.
type gates
input A at (0,0)
gate AND G1 at (3,0)
output Y at (6,0)
wire A G1
wire G1 YPaste this in the Studio code pane to see Digital logic (gates / K-map / truth table) render live. The full grammar is at the upstream-docs link above.
Two-input half adder with XOR (sum) and AND (carry).
View example and source Edit in StudioCross-coupled NAND SR latch.
View example and source Edit in Studio2-variable K-map for the XOR function.
View example and source Edit in StudioMajority function K-map (3 variables).
View example and source Edit in StudioTruth table for A implies B.
View example and source Edit in StudioOne-bit full adder built from two XOR, two AND and one OR gate.
View example and source Edit in Studiologic · ← Browse all engines · Quick-start guide