Tuesday 7 December 2021

Basic Logical Gates

 AND Gate

The AND gate with inputs A and B and output Q implements the logical expression Q=A.B        


OR Gate

The OR gate with inputs A and B and output Q implements the logical expression 
Q=A+B        


NOT Gate

The NOT gate with inputs A and A’ (out) implements the logical expression  A=A’   


XOR Gate
  
The XOR gate with inputs A and B and output Q implements the logical expression Q=A⊕B     


NAND Gate

The NAND gate with inputs A and B and output Q implements the logical expression Q= (A.B)’     


NOR Gate

The NOR gate with inputs A and B and output Q implements the logical expression Q = (A+B)’ 



XNOR Gate

The AND gate with inputs A and B and output Q (out) implements the logical expression Q= (A⊕B)’