ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

Answer1


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

Archive

WHAT'S YOUR ENGINEERING QUOTIENT?

Test Your EQ

Problem 1Show that a two-input multiplexer (MUX) is a universal gate; i.e., capable of implementing any combinatorial function.


Answer:

It is sufficient to note that multiplexers of any size can be built up from a basic two-input multiplexer block, and that a multiplexer with N control inputs (and 2N data inputs) can implement any arbitrary function of those N inputs by tying the data inputs high and low in the desired pattern.

For most common functions, however, a full lookup table is rarely necessary. For example, a 2-input NAND function can be implemented as follows.

The truth table of a NAND gate is:

A B A NAND B
0 0 1
0 1 1
1 0 1
1 1 0

The direct way to implement this table with MUXes is shown below:

Any MUX that has both data inputs tied high or both tied low can be eliminated, replacing its output withe corresponding logic level. This simplifies the above circuit as shown below.

Contributor: Naveen PN

01-02 — NEXT Q&A


For questions or comments about
Test Your EQ, e-mail eq@circuitcellar.com
.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ