Lab 10.
Eight signals,
one wire.
On a 3D digital logic trainer, pick one of eight inputs with the 74151, send it down a single wire and steer it to one of eight outputs with the 74138. Then build a full adder and a full subtractor from multiplexers.
Read the concepts first →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.
Multiplexer and Demultiplexer (74151, 74138)
This virtual lab is a 74151 multiplexer simulator on a 3D digital logic trainer with a real breadboard. Three select lines pick one of eight data inputs and send it to a single output. A 74138 then works as a demultiplexer and steers that one line back to one of eight outputs.
You also use multiplexers as general logic: a full adder and a full subtractor from 8 to 1 multiplexers, and any 3 variable function such as F = Σ(1, 2, 6, 7) by tying each data input to 0 or 1. Joining the multiplexer and the demultiplexer shows how many signals can share one wire.

What you do on this bench
- Wire the 74151 and select each of its eight inputs in turn.
- Build a full adder and a full subtractor from 8 to 1 multiplexers.
- Use the 74138 as a demultiplexer with the data on an enable input.
- Send data from the multiplexer to the demultiplexer over one wire.
- Make F(x, y, z) = Σ(1, 2, 6, 7) with one multiplexer.
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
How does a multiplexer make any function?
With the inputs of the function on the select lines, each data input stands for one row of the truth table. Tying it to 1 or 0 sets the output for that row.
How is a decoder used as a demultiplexer?
The data goes into an enable input and the select inputs choose the output. Only the chosen output follows the data; the others stay at their inactive level.
Where are multiplexers used?
Wherever several signals must share one path: data selectors in processors, time division multiplexing in communication links and input selection in measuring instruments.
Read the concepts page for this lab · All Digital Logic Design virtual labs · All articles