A logic AND gate takes two or more logic-level inputs and produces a single logic-level output. Because the output is also a logic level, an output of one logic gate can connect to the input of one or more other logic gates. Two outputs cannot be connected together, however, as they may be attempting to produce different logic values. The AND logic object is a digital logic gate that implements logical conjunction - it behaves according to the truth table below. A HIGH output (1) results from both the inputs to the AND gate being HIGH (1). If neither or only one input to the AND gate is HIGH, a LOW output results.
The lights on the logic object design block indicate the current state of the inputs and output. These are operational in simulation and when online to the device.
AND Truth Table
A |
B |
O/P |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
1 |
Properties
Number of Inputs
Sets the number of inputs. This is selectable from 2 to 32.