357 views
0 votes
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 votes
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

Related questions

6 votes
6 votes
3 answers
1
GateAspirant999 asked Oct 11, 2016
9,611 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 votes
0 votes
2 answers
2
1 votes
1 votes
2 answers
3
sh!va asked Jan 26, 2017
8,478 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?
14 votes
14 votes
3 answers
4
Nirmal Gaur asked May 4, 2017
34,081 views
Is there any systematic approach to find the minimum number of two input NAND gates and two input NOR gates to be used to impelement a binary expression?If there then ple...