Friday, 5 February 2016

Logic Gates


Logic gates are the basic building blocks of any digital system. It is an electronic circuit having one or more than one input and only one output. The relationship between the input and the output is based on a certain logic. Based on this, logic gates are named as AND gate, OR gate, NOT gate etc.
Logic gates are primarily implemented using diodes or transistors acting as electronic switches. With amplification, logic gates can be cascaded in the same way that Boolean functions can be composed, allowing the construction of a physical model of all of Boolean logic, so  all of the algorithms and mathematics that can be described with Boolean logic.
 Basic Logic Gates
  1. And  Gate
  2. Or  Gate
  3. Not  Gate

Universal Gate 
  1. Nand Gate
  2. Nor Gate
  3. X - NOR Gate

Like This Three gates are universal gates Because it can be combined to form any other kind of logic gate

Now  we discuss about the All Gate and their logic digrams and Truth table.
 1.  AND GATE
A circuit which performs an AND operation is shown in figure. It has n input (n >= 2) and one output.


Logic diagram




Truth table









2. OR GATE
A circuit which performs an OR operation is shown in figure. It has n input (n >= 2) and one output.




Logic diagram





Truth Table









3..NOT GATE
NOT gate is also known as Inverter. It has one input A and one output Y.




Logic diagram








Truth Table










4. NAND GATE
A NOT-AND operation is known as NAND operation. It has n input (n >= 2) and one output. 





Logic diagram





Truth Table


















5.NOR GATE
A NOT-OR operation is known as NOR operation. It has n input (n >= 2) and one output.
Logic diagram
Truth Table












6. XOR GATE
XOR or Ex-OR gate is a special type of gate. It can be used in the half adder, full adder and subtractor. The exclusive-OR gate is abbreviated as EX-OR gate or sometime as X-OR gate. It has n input (n >= 2) and one output.







Logic diagram






Truth Table












7. XNOR GATE
XNOR gate is a special type of gate. It can be used in the half adder, full adder and subtractor. The exclusive-NOR gate is abbreviated as EX-NOR gate or sometime as X-NOR gate. It has n input (n >= 2) and one output.




Logic diagram






Truth Table
 









No comments:

Post a Comment