Logic circuits
Which correctly describes what a NOT gate (inverter) does?
- AIt outputs the sum of two inputs
- BIt outputs the input unchanged
- CIt inverts the input, turning 0 into 1 and 1 into 0
Show answer and explanation
Answer: C. It inverts the input, turning 0 into 1 and 1 into 0
A NOT gate inverts its input: 0 becomes 1 and 1 becomes 0. In CMOS it is an inverter made of one nMOS and one pMOS, the most basic element of logic circuits. Besides inverting, inverters restore and amplify degraded signals (two in a row make a non-inverting buffer), and an odd number connected in a loop forms a ring oscillator used to gauge process speed.
- A. Gates that take two inputs are 2-input gates such as AND and OR.
- B. Passing the input through unchanged is a buffer.
- C. Correct. It inverts 0 and 1.