Sunday 21 October 2012

Universal Gates (by amirul firuz)


Hahaha now we reach the Universal Gates, the gates that can be use to implement any gates such as AND, OR and NOT or any combination from the gates. Example such as NAND and NOR gates.




NAND Gate

only using NAND gates








Truth Table for NAND Gate
A
B
Y
0
0
1
0
1
1
1
0
1
1
1
0



example:

**a NOT gate


only use NAND gate to produce same result as NOT gate
The result from NAND gate same as NOT gate when their input are the same.


Other equivalent NAND gate:


AND gate                                                                 equivalent to AND gate








OR gate                                                                 equivalent to OR gate
NOR gate                                                                    equivalent to NOR gate



NOR Gate

only using NOR gates

Truth Table for NOR Gate
A
B
Y
0
0
1
0
1
0
1
0
0
1
1
0

example:

**a NOT gate


The result from NOR gate same as NOT gate when their input are the same.

Other equivalent to NOR gate:









AND gate                                                            equivalent to AND gate









OR gate                                                             equivalent to OR gate


NAND gate                                                          equivalent to NAND gate





No comments:

Post a Comment