Logic gate

From WikiMD's Wellness Encyclopedia

Error creating thumbnail:
Four bit adder with carry lookahead
Error creating thumbnail:
74LS192 Symbol
Error creating thumbnail:
Buffer ANSI Labelled
Error creating thumbnail:
Buffer IEC Labelled
Error creating thumbnail:
NOT ANSI Labelled
NOT IEC Labelled

Logic gates are the basic building blocks of digital circuits and digital systems. They are electronic devices that perform logical operations on one or more binary inputs to produce a single binary output. Commonly used in various fields such as computer science, electrical engineering, and information technology, logic gates are fundamental to the operation of digital computers, microprocessors, and many other types of digital electronic devices.

Types of Logic Gates[edit | edit source]

There are seven basic types of logic gates, each performing a specific logical function:

  • AND gate: Outputs true (1) only if all inputs are true.
  • OR gate: Outputs true if at least one input is true.
  • NOT gate (Inverter): Outputs the opposite of the input.
  • NAND gate: Outputs false only if all inputs are true.
  • NOR gate: Outputs true only if all inputs are false.
  • XOR gate (Exclusive OR): Outputs true only if the inputs are different.
  • XNOR gate (Exclusive NOR): Outputs true only if the inputs are the same.

Function and Symbol[edit | edit source]

Each logic gate has a unique symbol that represents its function in circuit diagrams, making it easier to design and understand digital circuits. The function of a logic gate is typically described by a truth table, which lists all possible input combinations and the corresponding output for each combination.

Applications[edit | edit source]

Logic gates are used in a wide range of applications, from simple functions like turning on a light with a switch, to complex operations in computer processors, memory devices, and integrated circuits. They are also essential in the design of finite state machines and computational logic.

Implementation[edit | edit source]

Logic gates can be implemented using various technologies, including transistors (both BJTs and MOSFETs), diodes, and optoelectronics, among others. In modern digital electronics, logic gates are mostly implemented as part of integrated circuits (ICs), which can contain millions of gates in a small package.

Logic Gate Families[edit | edit source]

There are several families of logic gates, each with different characteristics regarding speed, power consumption, and manufacturing technology. Some of the most common families include:

  • TTL (Transistor-Transistor Logic)
  • CMOS (Complementary Metal-Oxide-Semiconductor)
  • ECL (Emitter-Coupled Logic)

See Also[edit | edit source]

WikiMD
Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD

Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD