Question

2. [20 points] Show that every logic circuit can be converted to one where every gate has fan-in at most two and fan-out at most one, and all NOT gates have input variables as their inputs (i.e., no gate feeds into a NOT gate). Hint: Recall what De Morgans Law says about AND, OR, and NOT gates.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

2)

This problem is same as showing that every logic can be built through Universal gates and those are NAND gate and NOR gare.

DeMorgan's law says that

(A.B)' = A' + B'

and

(A+B)' = A' . B'

so according to that, every logic can be arranged in such a way that it can be implemented using universal gates.

For example:

we have a logic A.B + A'B'

Now

we can change it into a form where it can be implemented with two fan in inputs NAND gate and one FAN out output

by law of complementation

A.B + A'B' = (A.B + A'B')''

Using DeMorgan's law

(A.B + A'B')'' = ((A.B)' . (A'B')')'

Now this can be implemented using NAND gate.

I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)

Add a comment
Know the answer?
Add Answer to:
2. [20 points] Show that every logic circuit can be converted to one where every gate...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT