Wednesday, 8 February 2012

Logic Gates

INVERTER:
x=a’

Truth table:
a
x
1
0
0
1

AND:
x=ab

Truth table:
A
B
X
0
0
0
0
1
0
1
0
0
1
1
1

OR:
x=a+b

Truth table:
A
B
X
0
0
0
0
1
1
1
0
1
1
1
1


NAND:
x= (ab)’

Truth table:
A
B
X
0
0
1
0
1
1
1
0
1
1
1
0

NOR:
x= (a+b)’
  Truth table:
A
B
X
0
0
1
0
1
0
1
0
0
1
1
0


XOR:
x= a’b+ab’ 
 
Truth table:
A
B
X
0
0
0
0
1
1
1
0
1
1
1
0

XNOR:
x=ab+a’b’
                        
Truth table:
A
B
X
0
0
1
0
1
0
1
0
0
1
1


  • AND,OR,NOT are called basic logic gates
  • NAND, NOR are called universal gates, because any circuit can be implemented using them
XOR Properties:


Back                                           Contents                                           Next

No comments:

Post a Comment