Logic gate

A logic circuit diagram for a 4-bit carry lookahead binary adder design using only the AND, OR, and XOR logic gates.

A logic gate is a device that performs a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output. Depending on the context, the term may refer to an ideal logic gate, one that has, for instance, zero rise time and unlimited fan-out, or it may refer to a non-ideal physical device[1] (see ideal and real op-amps for comparison).

The primary way of building logic gates uses diodes or transistors acting as electronic switches. Today, most logic gates are made from MOSFETs (metal–oxide–semiconductor field-effect transistors).[2] They can also be constructed using vacuum tubes, electromagnetic relays with relay logic, fluidic logic, pneumatic logic, optics, molecules, acoustics,[3] or even mechanical or thermal[4] elements.

Logic gates can be cascaded in the same way that Boolean functions can be composed, allowing the construction of a physical model of all of Boolean logic, and therefore, all of the algorithms and mathematics that can be described with Boolean logic. Logic circuits include such devices as multiplexers, registers, arithmetic logic units (ALUs), and computer memory, all the way up through complete microprocessors,[5] which may contain more than 100 million logic gates.

Compound logic gates AND-OR-Invert (AOI) and OR-AND-Invert (OAI) are often employed in circuit design because their construction using MOSFETs is simpler and more efficient than the sum of the individual gates.[6]

  1. ^ Jaeger (1997). Microelectronic Circuit Design. McGraw-Hill. pp. 226–233. ISBN 0-07-032482-4.
  2. ^ Kanellos, Michael (2003-02-11). "Moore's Law to roll on for another decade". CNET. From Integrated circuit
  3. ^ Zhang, Ting; Cheng, Ying; Guo, Jian-Zhong; Xu, Jian-yi; Liu, Xiao-jun (2015), "Acoustic logic gates and Boolean operation based on self-collimating acoustic beams", Applied Physics Letters, 106 (11), doi:10.1063/1.4915338, retrieved 2024-08-17
  4. ^ Wang, Lei; Li, Baowen (2007). "Thermal Logic Gates: Computation with Phonons". Physical Review Letters. 99 (17): 177208. arXiv:0709.0032. Bibcode:2007PhRvL..99q7208W. doi:10.1103/PhysRevLett.99.177208. PMID 17995368. S2CID 10934270.
  5. ^ Deschamps, Jean-Pierre; Valderrama, Elena; Terés, Lluís (2016-10-12). Digital Systems: From Logic Gates to Processors. Springer. ISBN 978-3-319-41198-9.
  6. ^ Tinder, Richard F. (2000). Engineering digital design (2nd ed.). Academic Press. pp. 317–319. ISBN 0-12-691295-5.

Developed by StudentB