Idrisadeniyi wrote
Yes. but implementing that with the Nand gate is the problem.
Yes. Take a Nand gate and apply the input (for the Not gate that you are trying to build) to one of the two Nand gate inputs.
Now do something with the other input to that Nand gate such that the output of the Nand gate is always the opposite of the Not gate input.
For instance, what if our starting part was an Xor chip?
a b Xor
0 0 0
0 1 1
1 0 1
1 1 0
What if I take my Not input apply it to the 'a' input of my Xor chip? I now have
in b Xor
0 0 0
0 1 1
1 0 1
1 1 0
What happens if I force the 'b' input to be LO? I get
in b Xor
0 0 0
1 0 1
What happens if I force the 'b' input to be HI? I get
in b Xor
0 1 1
1 1 0
Does one of those have the behavior that I'm looking for in a Not gate?