Logic Circuits
Logic circuits are electronic circuits that process binary values: 0 and 1.
Logic Gates
A logic gate performs a Boolean operation on one or more inputs and produces an output. The basic gates are:
| Gate | Output is 1 when |
|---|---|
| AND | every input is 1 |
| OR | at least one input is 1 |
| NOT | the input is 0 |
| NAND | at least one input is 0 |
| NOR | every input is 0 |
| XOR | the inputs are different |
| XNOR | the inputs are equal |