LogicLab: digital logic and DC circuits in your browser.
Wire gates, flip-flops, buses, ALU/RAM/ROM blocks or DC resistors and meters. Watch live truth tables, Quine-McCluskey minimal expressions, Karnaugh maps and timing diagrams. Pick one of 37 ready exercises or draw your own. It runs on your computer: nothing is sent to a server.
A limited playground. Here there are no auto-graded circuit quiz questions, no button in the editor and no server-side PHP check of the grade. For all the features, try the LogicLab demo course in Moodle: log in as a guest, or as teacher or student with the password Demo-2026.
Loading the simulator...
Try this
- Click the A and B input switches on the half adder and watch the outputs and the highlighted row in the truth table update live.
- Pick a sequential exercise (like a counter or shift register) from the Exercise menu and press Clock pulse or Auto clock to see the timing diagram.
- Switch to one of the DC circuits exercises to measure voltages and currents across resistors, switches and LEDs.
Build and export
Click a component in the palette on the left to place it, drag pins to wire them, toggle ANSI/IEC symbols, or save a subcircuit as a reusable custom IC. Export diagrams as SVG, PNG or Verilog, and use the button above to share your circuit.
In your Moodle
The same simulator is the LogicLab plugins for Moodle: a button in TinyMCE, interactive circuits in pages, and auto-graded circuit questions verified on the server. About the plugins · Demo course · Source (GPL v3)