| NAND gate | |
| ID | 45 |
|---|---|
| Category | Signal-i2o1 |
| Sublayer width | 14 |
Same as the AND gate, but the output value is inverted.
The NAND gate is a binary device. Given two inputs, IN0 and IN1, OUT0 will output 1 if at most one of IN0 and IN1 are 1. Since this is a binary device, the input value is rounded so any value ≥0.5 is equal to 1.
| IN0 | IN1 | OUT0 |
|---|---|---|
| 0 | 0 | 1 |
| 1 | 0 | 1 |
| 0 | 1 | 1 |
| 1 | 1 | 0 |
IN0: Value AIN1: Value BOUT0: A NAND B