Truth table to equation question (comp Sci)

AI Thread Summary
The discussion focuses on deriving logical equations from a truth table. The user successfully identified F1 as the XOR function (xy' + x'y) and F2 as the AND function (xy). For the second part, the challenge is to express these functions using only NAND gates and inverters. The solution involves implementing the functions with AND and OR gates, then applying DeMorgan's law to convert the configuration into NAND gates. Understanding these transformations is key to simplifying logical expressions using NAND logic.
dancingmaple
Messages
1
Reaction score
0

Homework Statement


http://imgur.com/BSntip0

The Attempt at a Solution



for part a, i got the solution to be F1 = xy'+x'y= x⊕y (XOR) , F2 = x .y (AND)

for part b i don't understand how i would derive an equal equation that uses only NAND which is (xy') and inverter which is x'
 
Physics news on Phys.org
You can start by implememting xy' and x'y with AND gates and their sum with an OR gate. So you have two ANDS feeding an OR. Now on each line connecting an AND with the OR, put two bubbles, one on the AND output and the other on the OR input. The two bubbles are cancelling inverters, but they make the ANDS into NANDS and you have an OR gate with inverted inputs. What does DeMorgan's law tell you that makes?
 

Similar threads

Replies
17
Views
3K
Replies
5
Views
3K
Replies
1
Views
2K
Replies
3
Views
2K
Replies
1
Views
1K
Replies
1
Views
2K
Replies
20
Views
3K
Back
Top