Understanding Demorgan's Theorem for Logic Gates

  • Context: High School 
  • Thread starter Thread starter hell18
  • Start date Start date
  • Tags Tags
    Theorem
Click For Summary
SUMMARY

DeMorgan's Theorem is essential for understanding the relationship between logic gates, specifically AND and OR operations. The theorem states that the negation of a conjunction is equivalent to the disjunction of the negations, represented as ~(A & B) <--> (~A V ~B). This principle is crucial in technology mapping, where logic is often converted to NAND or NOR gates for efficiency. The discussion emphasizes that applying DeMorgan's Theorem restructures logic to meet specific requirements, enhancing performance in digital circuit design.

PREREQUISITES
  • Understanding of basic logic gates (AND, OR, NOT)
  • Familiarity with DeMorgan's Theorem
  • Knowledge of technology mapping techniques
  • Basic principles of digital circuit design
NEXT STEPS
  • Study the application of DeMorgan's Theorem in digital circuit design
  • Learn about NAND and NOR gate configurations
  • Explore technology mapping techniques in logic synthesis
  • Investigate the implications of logic gate performance on circuit efficiency
USEFUL FOR

Students and professionals in electrical engineering, computer science, and anyone involved in digital circuit design and optimization.

hell18
Messages
21
Reaction score
0
when using Demorgan's Theorem i didn't understand why it had to be used as logic gates AND or OR?.

e.g.

not x and y not x or not y


in other words when facing a situation with 2 logic gates the same you make them the opposite of each other to get the answer?
 
Mathematics news on Phys.org
Your post is difficult to understand. DeMorgans shows how the negation distributes over the conjunction and disjunction.
For example
~(A & B) <--> (~A V ~B)
This makes sense. The left hand side says
"It is not the case that both A and B are true."
The right hand side says,
"Either A is not true or B is not true."
Clearly these say the same thing since if A and B aren't both true, then one of them has to be false. And if one of either A or B is false, then they can't both be true.
 
Well I'm not quite sure what you are asking either, but maybe I can help.

when using Demorgan's Theorem i didn't understand why it had to be used as logic gates AND or OR?.

The only answer I can come up with would be to restate the definition of these gates, and/or restate how they operate. I don't really see the point of this so I will move on.


in other words when facing a situation with 2 logic gates the same you make them the opposite of each other to get the answer?

Well, I'm not sure what you mean by "the answer", but by applying DeMorgan's theorem you will have restructured your logic to meet whatever requirements were initially set out. If you are using a technique called "Technology Mapping" (which in most cases is used to convert all your logic to NAND or NOR gates) then DeMorgan's is the theorem you would apply. Usually these gates are faster and hence the reason you might be looking for different logic.
 
Funny, I was just thinking of this on the way home and then used GOOGLE and found this

site.

Some of the folks, on the august site, were having some problems with this, so I thought it

through and here is what I concluded. Anything I did incorrectly, please advise!

Proving DeMorgan's Law:

To Prove: (AB)'=A'+B'

From AB, then (AB)' will be TRUE for all other combination of AB

i.e.: A'B+AB'+A'B' are TRUE.

A'B+AB'+A'B'= A'B+AB'+A'B'+A'B'=B'(A+A')+A'(B+B')=A'+B'

General Expansion Case:

(ABC)'=A'+D' [SETTING BC=D]=A'+(BC)'=A'+B'+C'
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K