Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What is an AND gate, or a gate, not a gate and an XOR gate?
What is an AND gate, or a gate, not a gate and an XOR gate?
1 AND gate

AND gate is also called AND circuit, logical product and logical AND circuit. It is a basic logic gate circuit that performs AND operation. An AND gate has multiple inputs and one output. When all inputs are high at the same time (logic 1), the output is high, otherwise the output is low (logic 0).

2, or door

Or gate is also called or circuit, logic and circuit. If only one of several conditions is met, an event will occur. This relationship is called "or" logical relationship. A circuit with an OR logical relationship is called an OR gate.

The OR gate has multiple inputs and one output. As long as one input is high (logic "1"), the output is high (logic "1"). Only when all inputs are low (logic "0") will the output be low (logic "0").

3. Not a door

Not gate, also known as not circuit, inverter, inverter and logic not circuit, is the basic unit of logic circuit. A NOT gate has an input and an output. When its input is high (logic 1), its output is low (logic 0), and when its input is low, its output is high.

The level states of the input and output terminals are always in opposite phases. The logic function of NOT gate is equivalent to NOT in logic algebra, and the circuit function is equivalent to negation, also called NOT operation.

4. XOR gate

XOR gate is a logic gate to realize logical XOR in digital logic. There are multiple inputs and one output, and a multi-input XOR gate can be composed of two input XOR gates. If the levels of the two inputs are different, the output is high1; If the levels of the two inputs are the same, the output is low level 0. That is, if the two inputs are different, the XOR gate outputs a high level of 1.

Extended data:

AND gate, OR gate, NOT gate and XOR gate all belong to gate circuits, and commonly used gate circuits also have NAND gate, NOR gate and NOR gate in logic function.

A gate circuit can have one or more inputs, but only one output. Only when the pulse signals applied to the input terminals of the gate circuit meet certain conditions, the "gate" will be opened, that is, the pulse signals will be output. Logically speaking, it is the "cause" of the input meeting certain conditions and the "result" of the signal output. The function of gate circuit is to realize some causal relationship-logical relationship.

Baidu encyclopedia-and gate

Baidu encyclopedia-or gate

Baidu encyclopedia-Feimen

Baidu encyclopedia-exclusive or gate

Baidu encyclopedia-gate circuit