CompAddict

Welcome to our blogger...:-)

Sunday 21 October 2012

Chapter 2 (Digital Logic)


NAND Gate:

By MOHD AKMAL ZAKWAN BIN MOHD ZAKI

  • The NAND gate represents the complement of the AND operation. Its name is an abbreviation of NOT AND.
  • The graphic symbol for the NAND gate consists of an AND symbol with a bubble on the output, denoting that a complement operation is performed on the output of the AND gate.



  • The truth table and the graphic symbol of NAND gate is shown in the figure.


  • The truth table clearly shows that the NAND operation is the complement of the AND.





NAND Gate is a Universal Gate:


  • To prove that any Boolean function can be implemented using only NAND gates, we will show that the AND, OR, and NOT operations can be performed using only these gates.





Implementing an Inverter Using only NAND Gate
The figure shows two ways in which a NAND gate can be used as an inverter (NOT gate).

1. All NAND input pins connect to the input signal A gives an output A’.





2. One NAND input pin is connected to the input signal A while all other input pins are connected to logic 1. The output will be A’.






Implementing AND Using only NAND Gates
An AND gate can be replaced by NAND gates as shown in the figure (The AND is replaced by a NAND gate with its output complemented by a NAND gate inverter).







Implementing OR Using only NAND Gates
An OR gate can be replaced by NAND gates as shown in the figure (The OR gate is replaced by a NAND gate with all its inputs complemented by NAND gate inverters).








Thus, the NAND gate is a universal gate since it can implement the AND, OR and NOT functions.



No comments:

Post a Comment