Digital Logic · Browser-based · Free

Digital Logic Simulator

Design, simulate, and export digital circuits — right in your browser.

A1B0XOR⊕AND&SUM1CARRY0Half Adder — live demo

1 + 0 = 01(binary: carry, sum)

Click A or B to flip an input

boolflow.site/app
The Boolflow editor with a decade counter wired to a seven-segment display
The real editor: a decade counter driving a seven-segment displayOpen this circuit →

Your circuit becomes real code

One click turns what you drew into Verilog, VHDL or C++ — with your own signal names and an optional testbench.

  • ✓Signal names come from the labels you typed on the canvas
  • ✓The C++ output compiles as it is — a plain function, no simulator needed
  • ✓Check the design first: truth table and test cases
// Generated by BoolFlow
module boolflow (
input wire A,
input wire B,
output wire SUM,
output wire CARRY
);
// Internal wires
wire w_x_0;
wire w_n_0;
// XOR
assign w_x_0 = A ^ B;
// AND
assign w_n_0 = A & B;
assign SUM = w_x_0;
assign CARRY = w_n_0;
endmodule
Generated from the half adder above

Everything you need to explore digital logic

70+ gates and elements

From AND and XOR to counters, adders, ALUs and programmable PLM blocks — all ready to place.

ANDORXORNANDNORNOTTRIBUFD-FFJKTSRD-LATCHREG4SHIFT4CNT4ADD4ALUCMP4INC4MUX4DEC38PRIENCSEG7CLOCKLEDPLMVIA

Real-time simulation

Click any INPUT — signals update across the whole circuit instantly.

Try it
AND

Truth table

The complete table for any combinational circuit, generated automatically.

ABY = A·B
000
010
100
111

Multi-layer design

Up to 4 independent layers linked by VIA nodes keep big circuits readable.

Test cases and checks

Write the outputs you expect, run them in one click, and catch a loose wire before it costs you an hour.

A=0 B=0 → 0✓
A=0 B=1 → 0✓
A=1 B=1 → 0✗
🌐Runs in the browser — nothing to install👤No account, no sign-up💾Circuits save as plain JSON files

Who Boolflow is for

Students

Check your homework instead of copying it

Build the circuit from a lab assignment, flip the inputs and compare the result with your truth table. A test case tells you exactly which row fails.

Teachers

Show it live in class

Open an example, click the inputs and let the room watch the signals travel. Every example opens from a link, so students get the exact same circuit.

Self-taught and FPGA beginners

Prototype before you write HDL

Sketch a design and watch it run. Combinational logic exports to Verilog, VHDL or C++, so you do not type it from scratch.

Questions, answered

Is Boolflow free? Do I need an account?

It is free. There is no account and no sign-up, and nothing to install: the editor runs in your browser. Circuits are saved as .boolflow.json files that stay with you.

Can it simulate flip-flops, counters and feedback?

Yes. D, JK, T and SR flip-flops, registers, shift registers and counters are built in. Circuits with feedback, such as ripple counters and LFSRs, are simulated tick by tick from a CLOCK element, the way hardware behaves.

Which languages can I export to?

Verilog, VHDL and C++. The export covers combinational logic: gates, adders, multiplexers and the like. Flip-flops, registers and counters are skipped, and every skipped element is marked in the output, so nothing disappears silently.

How do I check that my circuit is correct?

For a combinational circuit Boolflow builds the truth table by itself, and you can write test cases, which are the outputs you expect for given inputs, and run them with one click. A circuit with flip-flops you check by running it and watching the outputs.

Does it work on a phone or tablet?

Yes. Touch is supported: tap one pin, then another, to connect them. Big circuits are still more comfortable on a larger screen.

Where can I learn the theory behind it?

In the Articles section: Boolean algebra, Karnaugh maps, flip-flops, counters and state machines, in English, Russian and German. Most articles come with a diagram and a circuit you can open in the editor.

Ready to start designing?

No install. No account. Just open the editor and start placing gates.

Browse examples
  • ✓Free
  • ✓No sign-up
  • ✓Runs in your browser