Home www.play-hookey.com Thu, 11-23-2017
| Direct Current | Alternating Current | Semiconductors | Digital | Logic Families | Digital Experiments | Computers |
| Analog | Analog Experiments | Oscillators | Optics | HTML Test |
| Combinational Logic | Sequential Logic | Alternate Flip-Flop Circuits | Counters | Registers | The 555 Timer |
| Basic Gates | Derived Gates | The XOR Function | Boolean Algebra | Binary Addition | Negative Numbers and Binary Subtraction |
| Two-Input Multiplexer | Four-Input Multiplexer | One-to-Two Line Decoder/Demultiplexer | Two-to-Four Line Decoder/Demultiplexer |

Two-Input Multiplexer

One circuit I've received a number of requests for is the multiplexer circuit. This is a digital circuit with multiple signal inputs, one of which is selected by separate address inputs to be sent to the single output. It's not easy to describe without the logic diagram, but is easy to understand when the diagram is available.

A two-input multiplexer is shown below.








Two-Input Multiplexer
TRUTH TABLE
INPUTS OUTPUT
A X1 X0 X
0 x 0 0
0 x 1 1
1 0 x 0
1 1 x 1

The multiplexer circuit is typically used to combine two or more digital signals onto a single line, by placing them there at different times. Technically, this is known as time-division multiplexing.

Input A is the addressing input, which controls which of the two data inputs, X0 or X1, will be transmitted to the output. If the A input switches back and forth at a frequency more than double the frequency of either digital signal, both signals will be accurately reproduced, and can be separated again by a demultiplexer circuit synchronized to the multiplexer.

This is not as difficult as it may seem at first glance; the telephone network combines multiple audio signals onto a single pair of wires using exactly this technique, and is readily able to separate many telephone conversations so that everyone's voice goes only to the intended recipient. With the growth of the Internet and the World Wide Web, most people have heard about T1 telephone lines. A T1 line can transmit up to 24 individual telephone conversations by multiplexing them in this manner.



A very common application for this type of circuit is found in computers, where dynamic memory uses the same address lines for both row and column addressing. A set of multiplexers is used to first select the row address to the memory, then switch to the column address. This scheme allows large amounts of memory to be incorporated into the computer while limiting the number of copper traces required to connect that memory to the rest of the computer circuitry. In such an application, this circuit is commonly called a data selector.

Multiplexers are not limited to two data inputs. If we use two addressing inputs, we can multiplex up to four data signals. With three addressing inputs, we can multiplex eight signals. The next page is a demonstration of a four-input multiplexer. This demonstration requires 64 separate images, each approximately 4K bytes in size, so it will take a few moments to load. An eight-input multiplexer would require 2048 separate images; therefore it will not be included on these pages.


Prev: Negative Numbers and Binary Subtraction Next: Four-Input Multiplexer

All pages on www.play-hookey.com copyright © 1996, 2000-2015 by Ken Bigelow
Please address queries and suggestions to: webmaster@play-hookey.com