Cover Image: January 2004 Scientific American Magazine See Inside

Verifying Your Circuits [Preview]















Share on Tumblr

You have just received a large collection of digital circuits from a not too trustworthy supplier. You know which wires are connected to which circuit elements, and you are told what the elements are supposed to be. The question is: Have you been told the truth? You want to use as few tests as possible to determine if the supplier has actually put in the correct elements. These circuits use just two possible elements: AND and OR logic gates. Each can be characterized by a truth table relating its two inputs to its output [see tables below]. The output of an AND gate is 1 only when both inputs are 1, and the output of an OR gate is 1 when either input is 1.

As a warm-up, assume that the circuit is in the three-element configuration shown at the bottom left. You suspect that the OR gate (element 3) may actually be an AND gate and that one or both of the AND gates (elements 1 and 2) may actually be OR gates. You can test the circuit by putting a binary value--either 1 or 0--in each of the inputs (A, B, C and D) and seeing which values appear in the outputs (E and F). Only one test is needed to determine whether the logic gates in this circuit are correctly labeled. But what inputs should you use for the test, and what outputs should you expect?


This article was originally published with the title Verifying Your Circuits.



Subscribe     Buy This Issue

Already a Digital subscriber? Sign-in Now
If your institution has site license access, enter here.

Comments

Add Comment
Leave this field empty

Add a Comment

You must sign in or register as a ScientificAmerican.com member to submit a comment.
Click one of the buttons below to register using an existing Social Account.

More from Scientific American

See what we're tweeting about

Scientific American Editors

Tweets could not be retrieved at this time

Free Newsletters


Get the best from Scientific American in your inbox

Solve Innovation Challenges

Powered By: Innocentive

  SA Digital
  SA Digital

Science Jobs of the Week

Email this Article

Verifying Your Circuits: Scientific American Magazine

X
Scientific American MIND iPad

Tap into your MIND

Get Both Print & Tablet Editions for one low price!

Subscribe Now >>

X

Please Log In

Forgot: Password

X

Account Linking

Welcome, . Do you have an existing ScientificAmerican.com account?

Yes, please link my existing account with for quick, secure access.



Forgot Password?

No, I would like to create a new account with my profile information.

Create Account
X

Report Abuse

Are you sure?

X

Institutional Access

It has been identified that the institution you are trying to access this article from has institutional site license access to Scientific American on nature.com. To access this article in its entirety through site license access, click below.

Site license access
X

Error

X

Share this Article

X