basic of logic-gates
at 2019-07-26 18:38:00.
i always hated that my mat teachers talk but not give you and example. If any one try to explain this to some one else they will just get confused. I believe the best one of understanding this is just to look at it for 5 minutes.
AND ”A&B” or ”A·B”
a | b | output |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |
NAND ”A NAND B” or “A|B” or “¬(A & B)”
a | b | output |
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
OR V
a | b | output |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 1 |
NOR V
a | b | output |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 0 |
XOR ⊕
a | b | output |
0 | 0 | 0 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
XNOR a . b + a . b
a | b | output |
0 | 0 | 1 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |