Logic Gates Simulation
A: 0
B: 0
| Input A | Input B | Output Y |
|---|
About Logic Gates
Logic gates are the basic building blocks of digital circuits. Each gate implements a Boolean function:
- NOT Gate: Inverts the input (1 becomes 0, 0 becomes 1)
- OR Gate: Output is 1 if any input is 1
- AND Gate: Output is 1 only if all inputs are 1
- NAND Gate: Output is 0 only if all inputs are 1 (NOT AND)
NAND gates are called "universal gates" because any other gate can be constructed from them.



