[NAND] NAND operation
Description
This instruction generates and inverts logic AND operations at the input values. The output value is 0 only, if all input values are 1.
The number of IN input parameters can be changed.
Truth table (example of n = 2)
IN1 | IN2 | OUT |
|---|---|---|
0 | 0 | 1 |
0 | 1 | 1 |
1 | 0 | 1 |
1 | 1 | 0 |
Parameters
Parameters | Declaration | Data type | Description | Default |
|---|---|---|---|---|
IN1 | Input | BOOL | Input value 1 | 1 |
INn | Input | BOOL | Input value "n" | 1 |
OUT | Output | BOOL | Output value | 0 |