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

Answer 4


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 4Design a half-adder circuit using just five 2-input NAND gates.

The definition of a half-adder is this: Given two inputs A and B, the outputs are:

Sum = A XOR B

Carry = A•B


Answer:

A XOR B can also be written A•B' + A'•B.

The following figure shows the half-adder built with five NAND gates.

We shall prove that the above circuit is indeed a half adder:
The output of the gate 1 is (A•B)'.

The output of gate 2 is ((A•B)')' = A•B, which is the required Carry.

The output of gate 3 is ((A•B)'•A)' = (A•B')'

The output of gate 4 is ((A•B)'•B)' = (A'•B)'

The output of gate 5 is ((A•B')'•(A'•B)')' = A•B' + A'•B, which is the required Sum.

Contributor: Naveen P N

4-01NEXT 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