Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Inverter (logic gate)

From Wikipedia, the free encyclopedia
(Redirected fromNOT gate)
Logic gate implementing negation
Traditional NOT gate (inverter) symbol

In digital logic, aninverter orNOT gate is alogic gate which implementslogical negation. It outputs abit opposite of the bit that is put into it. The bits are typically implemented as two differingvoltage levels.

Description

[edit]
Invertertruth table
InputOutput
ANOT A
01
10

The NOT gate outputs a zero when given a one, and a one when given a zero. Hence, it inverts its inputs. Colloquially, this inversion of bits is called "flipping" bits.[1] As with all binary logic gates, other pairs of symbols — such as true and false, or high and low — may be used in lieu of one and zero.

It is equivalent to thelogical negation operator (¬) inmathematical logic. Because it has only one input, it is aunary operation and has the simplest type oftruth table. It is also called the complement gate[2] because it produces theones' complement of a binary number, swapping 0s and 1s.

The NOT gate is one of three basic logic gates from which anyBoolean circuit may be built up. Together with theAND gate and theOR gate, any function in binary mathematics may be implemented. All otherlogic gates may be made from these three.[3]

The terms "programmable inverter" or "controlled inverter" do not refer to this gate; instead, these terms refer to theXOR gate because it can conditionally function like a NOT gate.[1][3]

Symbols

[edit]
Triangular not gate symbol
Traditional NOT gate symbol; sometimes the triangle is omitted, or the circle may be placed on the input line[3]
Rectangular not gate symbol
IEC 60617 NOT gate symbol

The traditional symbol for an inverter circuit is a triangle touching a small circle or "bubble". Input and output lines are attached to the symbol; the bubble is typically attached to the output line. To symbolizeactive-low input, sometimes the bubble is instead placed on the input line.[4] Sometimes only the circle portion of the symbol is used, and it is attached to the input or output of another gate; the symbols forNAND andNOR are formed in this way.[3]

A bar oroverline ( ‾ ) above a variable can denote negation (or inversion or complement) performed by a NOT gate.[4] A slash (/) before the variable is also used.[3]

Electronic implementation

[edit]

An inverter circuit outputs a voltage representing the opposite logic-level to its input. Its main function is to invert the input signal applied. If the applied input is low then the output becomes high and vice versa. Inverters can be constructed using a singleNMOS transistor or a singlePMOS transistor coupled with aresistor. Since this "resistive-drain" approach uses only a single type of transistor, it can be fabricated at a low cost. However, because current flows through the resistor in one of the two states, the resistive-drain configuration is disadvantaged for power consumption and processing speed. Alternatively, inverters can be constructed using two complementary transistors in aCMOS configuration. This configuration greatly reduces power consumption since one of the transistors is always off in both logic states.[5] Processing speed can also be improved due to the relatively low resistance compared to the NMOS-only or PMOS-only type devices. Inverters can also be constructed withbipolar junction transistors (BJT) in either aresistor–transistor logic (RTL) or atransistor–transistor logic (TTL) configuration.

Digital electronics circuits operate at fixed voltage levels corresponding to a logical 0 or 1 (seebinary). An inverter circuit serves as the basic logic gate to swap between those two voltage levels. Implementation determines the actual voltage, but common levels include (0, +5V) for TTL circuits.

Digital building block

[edit]
This schematic diagram shows the arrangement of NOT gates within a standard 4049 CMOS hex inverting buffer.

The inverter is a basic building block in digital electronics. Multiplexers, decoders, state machines, and other sophisticated digital devices may use inverters.

Thehex inverter is anintegrated circuit that contains six (hexa-) inverters. For example, the7404TTL chip which has 14 pins and the 4049CMOS chip which has 16 pins, 2 of which are used for power/referencing, and 12 of which are used by the inputs and outputs of the six inverters (the 4049 has 2 pins with no connection).

Analytical representation

[edit]

f(a)=1a{\displaystyle f(a)=1-a} is the analytical representation of NOT gate:

Alternatives

[edit]
Further information:NAND logic andNOR logic

If no specific NOT gates are available, one can be made from the universalNAND orNOR gates,[6] or anXOR gate by setting one input to high.

Desired gateNAND constructionNOR construction

Performance measurement

[edit]
Voltage transfer curve for a 20 μm inverter fabricated atNorth Carolina State University

Digital inverter quality is often measured using the voltage transfer curve (VTC), which is a plot of output vs. input voltage. From such a graph, device parameters including noise tolerance, gain, and operating logic levels can be obtained.

Ideally, the VTC appears as an inverted step function – this would indicate precise switching betweenon andoff – but in real devices, a gradual transition region exists. The VTC indicates that for low input voltage, the circuit outputs high voltage; for high input, the output tapers off towards the low level. The slope of this transition region is a measure of quality – steep (close to vertical) slopes yield precise switching.

The tolerance to noise can be measured by comparing the minimum input to the maximum output for each region of operation (on / off).

Linear region as analog amplifier

[edit]

Since the transition region is steep and approximately linear, a properly-biased CMOS inverter digital logic gate may be used as a high-gain analoglinear amplifier[7][8][9][10][11] or even combined to form anopamp.[12] Maximum gain is achieved when the input and output operating points are the same voltage, which can be biased by connecting a resistor between the output and input.[13]

See also

[edit]

References

[edit]
  1. ^abVan Houtven, Laurens (2017).Crypto 101(PDF). p. 17.
  2. ^"2.9 Digital Logic Gates"(PDF).University of Babylon.
  3. ^abcdeBroesch, James D. (2012).Practical Programmable Circuits: A Guide to PLDs, State Machines, and Microcontrollers. Elsevier Science. p. 19.ISBN 978-0323139267.
  4. ^ab"Logic NOT Gate Tutorial".Electronics Tutorials. 20 August 2013.
  5. ^Nair, B. Somanathan (2002).Digital electronics and logic design. PHI Learning Pvt. Ltd. p. 240.ISBN 9788120319561.
  6. ^M. Morris, Mano; R. Kime, Charles (2004).Logic and computer design fundamentals (3 ed.). Prentice Hall. p. 73.ISBN 0133760634.
  7. ^"Application Note 88: CMOS Linear Applications"(PDF).National Semiconductor. April 2003 [July 1973].
  8. ^Stonier-Gibson, David."CMOS gate as linear amplifier".Microcontroller Group, Moorabbin, Melbourne.Archived from the original on 2022-03-31. Retrieved2023-05-18.
  9. ^CMOS Inverters as Analog Amplifiers (Adventures in Field Programmable Analog Arrays), 14 December 2021, retrieved2023-05-18, Aaron Lanterman, Georgia Tech
  10. ^"CMOS-Inverter-as-an-Amplifier | Analog-CMOS-Design || Electronics Tutorial".www.electronics-tutorial.net. Retrieved2023-05-18.
  11. ^"Activity: CMOS Amplifier stages - ADALM2000 [Analog Devices Wiki]".wiki.analog.com.Archived from the original on 2022-08-08. Retrieved2023-05-18.
  12. ^Weltin-Wu, Colin (2013-11-18)."A true op-amp made from inverters".EDN. Retrieved2023-05-18.
  13. ^Bae, Woorham (2019-09-20)."CMOS Inverter as Analog Circuit: An Overview".Journal of Low Power Electronics and Applications.9 (3): 26.doi:10.3390/jlpea9030026.ISSN 2079-9268.

External links

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Inverter_(logic_gate)&oldid=1281317871"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp