NAND to Inverter conversion logic

Below are two options to convert a two input NAND gate to an inverter.

Give two ways to convert a two input NAND gate to an inverter

Input A Input B Output
0 0 1
0 1 1
1 0 1
1 1 0

First Method: Connect the desired to-be inverted bit input to either 'A' or 'B' and connect other input to always 1 or HIGH. Detailed discussion below:-

So for the first method we will have two possible combinations.

LTE - 4G Wireless Technology

Digital fundamentals.

Interview Questions.

First combination:

TIE Input A to 1. So from table Rows 3 and 4 Input A is always 1

  • When Input B = 1 then the output is 0.
  • When Input B = 0 then the output is 1.
  • Hence a functionality of an inverter.

    Second combination:

    TIE Input B to 1. So from table Rows 2 and 4 Input B is tied to 1. The polarity of A input is inverted at output.

    Hence a functionality of an inverter.

    Second Method : Apply same inputs to A and B. So from table above we have following polarities in rows 1 and 4.

    Input A and B = 0 and output = 1

    Input A and B = 1 and output = 0

    So when both the inputs are tied together, we get an inverter with only NAND gates.

    Tutorials @fullchipdesign.com

    Verilog Tutorial.

    LTE Tutorial.

    Memory Tutorial.

    Hope you liked! this page. Don't forgot to access relevant previous and next sections with links below.