1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Converting logic diagram to only NAND gates

  1. Feb 10, 2015 #1
    1. The problem statement, all variables and given/known data

    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



    2. Relevant equations

    3. The attempt at a solution
  2. jcsd
  3. Feb 10, 2015 #2


    User Avatar

    Staff: Mentor

    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?
  4. Feb 10, 2015 #3


    User Avatar

    Staff: Mentor

    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.
  5. Feb 10, 2015 #4


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Or look at it this way.. The NAND truth table is


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


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

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted

Similar Discussions: Converting logic diagram to only NAND gates
  1. Logic Gates (Replies: 3)