Understanding NAND-NAND Expressions: Conversion & Circuit Design

  • Thread starter awelex
  • Start date
In summary, the conversation discusses the conversion from AND-OR expressions to NAND-NAND expressions and the use of an OR gate with inverted inputs in the resulting circuit. It is noted that this is a nand gate by DeMorgans Law and is used to make the conversion more transparent. Additionally, the use of open circles to represent inversions and the ability to invert inputs and outputs to change the type of gate is mentioned.
  • #1
awelex
44
0
Hi,

I have a question about NAND-NAND expressions. I do understand the conversion from AND-OR to NAND-NAND, but what I don't understand is how many textbooks show the resulting circuit, i.e. with an OR gate with inverted inputs as the top-level gate, such as in the second circuit here:

http://cfs.tistory.com/attach/6445/259783.bmp

I know that the conversion is algebraically correct, but doesn't a NAND-NAND circuit consist only of, well, NAND gates? How can an OR gate be used, then?

Thanks
 
Engineering news on Phys.org
  • #2
Nobody?
 
  • #3
The "OR gate with inverted inputs" is a nand (by DeMorgans Law). Some people prefer to draw it that way presumably just to make it more transparent (as in how you got from AND/OR to NAND/NAND). You see when it's drawn that way the double complements obviously cancel out (as in not(not(x)) = x), so you can see the equivalence of the two forms by simple inspection.
 
Last edited:
  • #4
Each of the little open circles in this type of diagram represent an inversion of the signal (a NOT, if you will). So, you can place 2 circles in series without changing anything logically.

Also, you can invert all inputs and outputs of a gate (by adding or removing circles) and then change and the type of gate from AND to OR, or vice-versa. This will also preserve the logical value of the circuit, which is why the right hand gate in the second diagram is considered to be a NAND gate.
 

1. What is a NAND-NAND expression?

A NAND-NAND expression is a logical expression that uses the NAND operation as the main operator. It is a combination of two NAND gates, where the output of the first gate is connected to the input of the second gate. This expression can also be represented using Boolean algebra.

2. How can NAND-NAND expressions be converted into other forms?

NAND-NAND expressions can be converted into other forms, such as NOR-NOR, AND-OR, and OR-AND, by using De Morgan's laws. These laws state that the complement of a Boolean expression can be found by switching the AND and OR operations and changing all the variables to their complements.

3. What are the advantages of using NAND-NAND expressions?

NAND-NAND expressions have the advantage of being universal, meaning that any logical expression can be represented using only NAND gates. This makes them useful for simplifying complex circuits and reducing the number of components needed.

4. How are NAND-NAND expressions used in circuit design?

NAND-NAND expressions are used in circuit design to implement logic functions and create digital circuits. They are particularly useful for building memory, counters, and other sequential logic circuits.

5. What are the limitations of NAND-NAND expressions?

The main limitation of NAND-NAND expressions is that they can become quite complex and difficult to understand for more complex circuits. They also require a large number of NAND gates, which can increase the cost and size of the circuit.

Similar threads

  • Electrical Engineering
Replies
12
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
16
Views
1K
Replies
54
Views
7K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
Replies
39
Views
3K
  • Electrical Engineering
Replies
16
Views
2K
  • Introductory Physics Homework Help
Replies
12
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
Replies
55
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
Back
Top