in Digital Logic
331 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)?
in Digital Logic
331 views

1 comment

I don't think so, there is no such relational solution to it.. you need to draw and check the particular gate results !!
0
0

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

1 comment

.
0
0

Related questions