# Logic Gate

![](../.gitbook/assets/logic%20gate.png) ![](../.gitbook/assets/logic_gate_2%20%281%29.png)

As you can see, we got difference between US and UK symbol.

In china, we use UK symbol system.

Here I just want to tell you two symbols that I think is very challenging.

![](../.gitbook/assets/xnor_or_xor_gate%20%281%29.png)

1. `异或门（XOR gate）`，不同为1，相同为0

   > $$1 \oplus 0 = 1$$

2. `同或门（XNOR gate）`，相同为1，不同为0

   > $$1 \odot 1 = 1$$

