SinBench
← All labs · Digital Logic Design · Free virtual lab

Lab 5.
Design it,
then wire it.

Go from a word problem to a working circuit: truth table, K-map, gates, wiring. Design a 2-bit adder and a committee voting circuit, then prove both on a 3D digital logic trainer with a real breadboard.

Read the concepts first →
2 designsadder and voting machine
K-maplive on the concepts page
Your circuitchecked by its function
Before you start

Your details

Free to use, no sign up. Your name is only printed on your own lab sheet, and your work is saved in this browser so you can continue later. Nothing is sent to a server.

01
Read the concepts page and try the K-map: click cells and the simplest expression appears.
02
Use any gate chips you like. The bench checks what your circuit does, not how it is drawn.
03
Record all sixteen rows of each table so they appear on your lab sheet.
Designed by
© 2026 Fasih Ullah Saleem. All rights reserved. · About · Terms of Use · Privacy
About this virtual lab

Combinational Circuit Design

This virtual lab follows the complete design procedure for a combinational circuit, from a word problem to a working board. You write the truth table, simplify each output with a Karnaugh map, draw the gates and wire them on a 3D digital logic trainer with a real breadboard.

The two design problems are a circuit that adds two 2 bit numbers and a committee voting circuit that lights a LED when the majority votes yes. Testing every input combination on the LEDs proves the design, and any wiring mistake shows up at once as a wrong row. The same four steps work for any combinational problem, from a code converter to a simple alarm controller.

Combinational Circuit Design: the working 3D lab bench with its trainer and instruments
The bench of this lab, as it looks after you enter it.

What you do on this bench

  1. Write the truth table of a 2 bit adder with three outputs.
  2. Simplify each output with a Karnaugh map and draw the gates.
  3. Wire the adder and test all sixteen input combinations.
  4. Design the committee voting circuit from its word statement.
  5. Wire and test the voting circuit.

On the bench

  • Digital logic trainer with 16 toggle switches, 16 LEDs, pulse switches, a clock and a two digit seven segment display
  • Full size breadboard with power rails and jumper wires that are wired pin by pin
  • Cabinet of TTL chips with real pinouts (7400 series)
  • Logic probe, multimeter and a binder of chip data sheets

Free, runs in the browser, no sign up and nothing to install. A computer with a graphics card gives the smoothest 3D view.

Questions students ask

What is a Karnaugh map?

A grid of the truth table outputs arranged so that neighbouring cells differ in one input. Grouping neighbouring 1s in blocks of 1, 2, 4 or 8 gives the simplest sum of products.

How many outputs does a 2 bit adder need?

Three: two sum bits and a carry, because the largest result, 3 + 3 = 6, needs three bits.

What is a majority circuit?

A circuit whose output is 1 when more than half of its inputs are 1. For three voters it is AB + AC + BC.