Lably
Skip to content

Inverter (logic gate)

Logic gate implementing negation

  • 4 min read
  • 3 chapters

Related on Lably

Through Logic gate, Mathematical logic and Truth table

Description

The NOT gate outputs 0 when given 1, and outputs 1 when given 0. Hence, it inverts its inputs. Colloquially, this inversion of bits is called "flipping" bits.

It is equivalent to the logical negation operator (¬) in mathematical logic. Because it has only one input, it is a unary operation and has the simplest type of truth table. It is also called the complement gate because it produces the ones' complement of a binary number, swapping 0s and 1s.

The NOT gate is one of three basic logic gates from which any Boolean circuit may be built up. Together with the AND gate and the OR gate, any function in binary mathematics may be implemented. All other logic gates may be made from these three.

The terms "programmable inverter" or "controlled inverter" do not refer to this gate; instead, these terms refer to the XOR gate because it can conditionally function like a NOT gate.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Computing and communication