• Support PF! Buy your school textbooks, materials and every day products Here!

Converting logic diagram to only NAND gates

  • Thread starter LongApple
  • Start date
  • #1
68
0

Homework Statement






How is he able to just swap the inverter for a NAND gate? Doesn't a NAND gate require two things?

See the text on the right for his explanation
[/B]

upload_2015-2-10_1-32-3.png


upload_2015-2-10_1-32-45.png


Homework Equations




The Attempt at a Solution

 

Answers and Replies

  • #2
gneill
Mentor
20,792
2,770
How is he able to just swap the inverter for a NAND gate? Doesn't a NAND gate require two things?
What sort of "things" did you have in mind? If the inputs are tied together then the only inputs available to the NAND are both inputs "1" or both inputs "0". What does a NAND gate output for each case?
 
  • #3
NascentOxygen
Staff Emeritus
Science Advisor
9,244
1,071
How is he able to just swap the inverter for a NAND gate?
So, we are revisiting this topic! :) We thought you would learn about the NAND inverter from your previous thread, but I think you dropped out and didn't see it through to its conclusion.

You can join the two inputs together, which gives both inputs either 1 or both inputs 0, and the output becomes the NOT of this. So, yes, a NAND gate with a signal applied to both its inputs acts as a NOT gate.
 
  • #4
CWatters
Science Advisor
Homework Helper
Gold Member
10,529
2,295
Or look at it this way.. The NAND truth table is

00=1
01=1
10=1
11=0

if both inputs are wired together they are always the same, so the only combinations that can occur are..

00=1
11=0

There is another way to turn a NAND gate into an inverter - You could just connect one input to a logic 1 permanently....

10=1
11=0
 

Related Threads on Converting logic diagram to only NAND gates

  • Last Post
Replies
12
Views
1K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
1
Views
368
  • Last Post
Replies
3
Views
2K
  • Last Post
2
Replies
25
Views
2K
  • Last Post
Replies
5
Views
2K
  • Last Post
Replies
1
Views
1K
Replies
1
Views
548
Replies
2
Views
13K
  • Last Post
Replies
10
Views
850
Top