914 views
0 0 votes
How many $m-$ input NAND gates are needed to construct a $n-$ input NAND gate, where $m \leq n$

 

Examples:

> constructing $3-$input NAND gate using $2-$input NAND gate

> constructing $4-$input NAND gate using $2-$input NAND gate

> constructing $4-$input NAND gate using $4-$input NAND gate

 

Is there a general solution to this problem, or is there NO general solution available (i.e., a localized solution may exist)?

1 Answer

0 0 votes

I did for AND gates, I belive the same logic will work for NAND gates too :

 

one every missing input we just provide 1 since $A\cdot 1 == A$, so the final result will have no change.

but in case of NAND gate, the output is $\bar A + \bar B$ so, putting $1$ in the missing input with $A$ will yield $\bar A$.
 

That can be worked around by finding how many NAND gates will have missing input, because for each, we'll need an extra NAND to invert the output.

edited by
Position:
Show:

Related questions

6 6 votes
3 answers 3 answers
11.9k
11.9k views
GateAspirant999 asked Oct 11, 2016
11,867 views
The truth table for the combinational circuit is shown below:What is the minimum number of two input NAND gates required to realize this logic circuit?
0 0 votes
2 2 answers
2.3k
2.3k views
1 1 vote
2 answers 2 answers
11.2k
11.2k views
sh!va asked Jan 26, 2017
11,186 views
F= PQ+ QR+ RS+ST.i) What is the minimum number of NAND gates required to implement F?ii) What is the minimum number of NOR gates required to implement F?