NAND gate

NAND gate truth table
Input Output
A B A NAND B
0 0 1
0 1 1
1 0 1
1 1 0

In digital electronics, a NAND gate (NOT-AND) is a logic gate which produces an output which is false only if all its inputs are true; thus its output is complement to that of an AND gate. A LOW (0) output results only if all the inputs to the gate are HIGH (1); if any input is LOW (0), a HIGH (1) output results. A NAND gate is made using transistors and junction diodes. By De Morgan's laws, a two-input NAND gate's logic may be expressed as , making a NAND gate equivalent to inverters followed by an OR gate.

The NAND gate is significant because any Boolean function can be implemented by using a combination of NAND gates. This property is called "functional completeness". It shares this property with the NOR gate. Digital systems employing certain logic circuits take advantage of NAND's functional completeness.

NAND gates with two or more inputs are available as integrated circuits in transistor–transistor logic, CMOS, and other logic families.

Symbols

There are three symbols for NAND gates: the MIL/ANSI symbol, the IEC symbol and the deprecated DIN symbol sometimes found on old schematics. The ANSI symbol for the NAND gate is a standard AND gate with an inversion bubble connected.

MIL/ANSI Symbol    IEC Symbol    DIN Symbol

Logic

The function NAND(a1, a2, ..., an) is logically equivalent to NOT(a1 AND a2 AND ... AND an).

One way of expressing A NAND B is , where the symbol signifies AND and the bar signifies the negation of the expression under it: in essence, simply .

Implementations

The basic implementations can be understood from the image on the left below: If either of the switches S1 or S2 is open, the pull-up resistor R will set the output signal Q to 1 (high). If S1 and S2 are both closed, the pull-up resistor will be overridden by the switches, and the output will be 0 (low).

In the depletion-load NMOS logic realization in the middle below, the switches are the transistors T2 and T3, and the transistor T1 fulfills the function of the pull-up resistor.

In the CMOS realization on the right below, the switches are the n-type transistors T3 and T4, and the pull-up resistor is made up of the p-type transistors T1 and T2, which form the complement of transistors T3 and T4.

In CMOS, NAND gates are more efficient than NOR gates. This is due to the faster charge mobility in n-MOSFETs compared to p-MOSFETs, so that the parallel connection of two p-MOSFETs (T1 and T2) realised in the NAND gate is more favourable than their series connection in the NOR gate. For this reason, NAND gates are generally preferred over NOR gates in CMOS circuits. [1]

Hardware design and pinout

Diagram of the NAND gates in a CMOS type 4011 integrated circuit

NAND gates are basic logic gates, and as such they are recognised in TTL and CMOS ICs.

The standard, 4000 series, CMOS IC is the 4011, which includes four independent, two-input, NAND gates. These devices are available from many semiconductor manufacturers. These are usually available in both through-hole DIL and SOIC formats. Datasheets are readily available in most datasheet databases.

The standard two-, three-, four- and eight-input NAND gates are available:

  • CMOS
    • 4011: Quad two-input NAND gate
    • 4023: Triple three-input NAND gate
    • 4012: Dual four-input NAND gate
    • 4068: Mono eight-input NAND gate
  • TTL
    • 7400: Quad two-input NAND gate
    • 7410: Triple three-input NAND gate
    • 7420: Dual four-input NAND gate
    • 7430: Mono eight-input NAND gate

Functional completeness

construction of a NAND gate from NOR gates

The NAND gate has the property of functional completeness, which it shares with the NOR gate. That is, any other logic function (AND, OR, etc.) can be implemented using only NAND gates.[2] An entire processor can be created using NAND gates alone. In TTL ICs using multiple-emitter transistors, it also requires fewer transistors than a NOR gate.

As NOR gates are also functionally complete, if no specific NAND gates are available, one can be made from NOR gates using NOR logic.[2]

See also

References

  1. ^ Smith, J.S. "Digital circuits, sizing, output impedance, rise and fall time" (PDF). Archived from the original (PDF) on 2007-07-06.
  2. ^ a b Mano, M. Morris and Charles R. Kime. Logic and Computer Design Fundamentals, Third Edition. Prentice Hall, 2004. p. 73.

Read other articles:

Hogwarts LegacyInformasi produksiPengembangAvalanche SoftwarePenerbitWarner Bros. Games[a]PengarahAlan TewProduserJames CabreraSenimanJeff BunkerPenulisMoira SquierKomponisChuck E. MyersScott RakozyPeter MurrayAlexander Horowitz Data permainanSeriWizarding WorldMesinUnreal Engine 4PlatformPlayStation 5WindowsXbox Series X/SPlayStation 4Xbox OneNintendo SwitchGenreBermain peran aksiModePemain tunggal PerilisanTanggal rilisPS5, Windows, XSXS10 Februari 2023PlayStation 4, Xbox One5 Mei 2...

 

Museum in Yancheng, Kaohsiung, Taiwan Hamasen Museum of Taiwan Railway哈瑪星台灣鐵道館Established3 July 2016LocationYancheng, Kaohsiung, TaiwanCoordinates22°37′14.7″N 120°16′42.2″E / 22.620750°N 120.278389°E / 22.620750; 120.278389Typerailway museumWebsiteOfficial website The Hamasen Museum of Taiwan Railway (traditional Chinese: 哈瑪星台灣鐵道館; simplified Chinese: 哈玛星台湾铁道馆; pinyin: Hāmǎxīng Táiwān Tiědào...

 

Helena TřeštíkováMinister of CultureIn office9 January 2007 – 26 January 2007Preceded byMartin ŠtěpánekSucceeded byVáclav Jehlička Personal detailsBorn(1949-06-22)22 June 1949Prague, Czechoslovakia Helena Třeštíková is a Czech documentary film director,[1][2] member of the European Film Academy,[3] and briefly the Czech Republic's Culture Minister. She resigned from the position in January 2007 after serving less than three weeks.[4] Ref...

عمار بلحيمر  عمار بلحيمر في الإذاعة الجزائرية بتاريخ 18 فبراير 2020    وزير الإتصال الناطق الرسمي باسم الحكومة في المنصب2 يناير 2020[1] – 11 نوفمبر 2021[2](سنةً واحدةً و10 أشهرٍ و9 أيامٍ) الرئيس عبد المجيد تبون الحكومة حكومة جرادحكومة جراد الثانيةحكومة جراد الثالثةحكو...

 

Der Titel dieses Artikels ist mehrdeutig. Weitere Bedeutungen sind unter Bogenschütze (Begriffsklärung) aufgeführt. Assyrische Bogenschützen Ein Bogenschütze ist eine Person, die mit einem Bogen Pfeile abschießt bzw. damit als Jäger für die Bogenjagd ausgerüstet ist. Als Jagdwaffe ist der Bogen heute noch in den USA, Kanada oder Dänemark gebräuchlich und erlaubt. Seit der Neuzeit dient der Bogen als Sportgerät. Geschichtlich wurde der Bogen auch durch Krieger als Waffe eingesetzt....

 

سدبوري     الإحداثيات 43°46′53″N 73°11′16″W / 43.781388888889°N 73.187777777778°W / 43.781388888889; -73.187777777778  تقسيم إداري  البلد الولايات المتحدة[1]  التقسيم الأعلى مقاطعة روتلاند  خصائص جغرافية  المساحة 22.2 ميل مربع  ارتفاع 237 متر  عدد السكان  عدد السكان 560 (1 أبر

大衛·克羅斯比David Crosby2019年7月3日,大衛·克羅斯比在加州洛杉磯的演出歌手出生David Van Cortlandt Crosby(1941-08-14)1941年8月14日 美國加利福尼亞州洛杉磯逝世2023年1月18日(2023歲—01—18)(81歲) 美國加利福尼亞州聖伊內斯职业創作歌手音乐类型 搖滾 民歌 演奏乐器 人聲 吉他 鍵盤 活跃年代1964-2023唱片公司AtlanticA&MRhino(英语:Rhino Records)网站www.davidcrosby.com相关团体 ...

 

Sumatera Utara pada Pekan Olahraga Nasional 2021 Jumlah atlet TBD Pembawa bendera TBD Total medali Emas2 Perak4 Perunggu2   (Urutan ke-nbsp;) Sumatera Utara akan berkompetisi pada Pekan Olahraga Nasional 2021 di Jayapura, Papua. Sebenarnya kontingen ini dijadwalkan untuk bertanding pada 20 Oktober sampai 2 November 2020 namun ditunda ke tanggal 2 sampai 15 Oktober 2021 karena Pandemi COVID-19.[1] Atletik Artikel utama: Atletik pada Pekan Olahraga Nasional 2021 Atlet Sumatera Utar...

 

  لمعانٍ أخرى، طالع الرفد (توضيح). قرية الرفد  - قرية -  تقسيم إداري البلد  اليمن المحافظة محافظة أبين المديرية مديرية رصد العزلة عزلة القارة السكان التعداد السكاني 2004 السكان 30   • الذكور 17   • الإناث 13   • عدد الأسر 4   • عدد المساكن 6 معلومات أخرى ا...

Metro station in Hyderabad, India NagoleHyderabad Metro stationStation exteriorGeneral informationLocationInner Ring Rd, Opp. Uppal Rto Office, Uppal Main Road Hyderabad, Telangana 500039.[1]Coordinates17°23′27″N 78°33′31″E / 17.39083°N 78.55861°E / 17.39083; 78.55861Owned by Larsen & Toubro (90%) Government of Telangana (10%) Operated byHyderabad Metro Rail Ltd.Line(s)Blue LinePlatforms2 (2 side platform)Tracks2ConstructionStructure typeElevate...

 

Lukman Ma'rufWakil Kepala Rumah Sakit Pusat Angkatan Darat Gatot SoebrotoPetahanaMulai menjabat 26 Agustus 2020PendahuluAlbertus Budi Sulistya Informasi pribadiLahir17 Februari 1966 (umur 57)Makassar, Sulawesi SelatanSuami/istriNy. Leni Berliani, S.S.AnakLutfi Dunav Herzegovian, S.T.Livaldi Naufal AflahAlma materUniversitas PadjajaranSepa TK TNI (1991)Karier militerPihak IndonesiaDinas/cabang TNI Angkatan DaratPangkat Mayor Jenderal TNINRP32546SatuanKesehatan (CKM)Sunting ko...

 

Dog breedTibetan MastiffOriginTibetan PlateauTraitsHeight Males 66 cm (26 in)[1] Females 61 cm (24 in)[1]Kennel club standardsFédération Cynologique Internationale standardDog (domestic dog) The Tibetan Mastiff (Tibetan: འབྲོག་ཁྱི། འདོགས་ཁྱི། སེང་ཁྱི།, romanized: Drok chi/kyi; 'Dok kyi; Seng kyi, lit. 'Nomad-dog; chaining dog; lion-dog', THL: Do khyi, Wylie: 'brog khyi; 'dogs khyi;...

Qatari actor and comedian (1957–2018) Abdulaziz Jassim Abdulaziz Jassim (Arabic: عبد العزيز جاسم) (1 February 1957 – 14 October 2018), was a Qatari actor and comedian.[1] He began acting in 1977 at Al Sadd Theater and then began working with Ghanim Al-Sulaiti[2] in 1979 and a comedy duet for several years. He worked in many works in the roles of evil and eloquence in drama and even comedy. The Another Day series in which the alcohol addict who neglects his fam...

 

Military aviation museum in Nampa, IdahoWarhawk Air MuseumLocation within IdahoEstablished6 March 1989 (1989-03-06)LocationNampa, IdahoCoordinates43°35′10″N 116°31′25″W / 43.5860°N 116.5235°W / 43.5860; -116.5235TypeMilitary aviation museumFounderJohn PaulSue Paul[1]Websitewarhawkairmuseum.org The Warhawk Air Museum is an aviation museum located in Nampa, Idaho. History The museum was founded on 6 March 1989 by John and Sue Paul.[...

 

Hobbyist or actor attempts to recreate battles or events from the American Civil War Confederate reenactors fire their rifles during a reenactment of the Battle of Chancellorsville in May 2008. Confederate artillery reenactors fire on U.S. soldier reenactors during a Battle of Chickamauga reenactment in Danville, Illinois. American Civil War reenactment is an effort to recreate the appearance of a particular battle or other event associated with the American Civil War by hobbyists known (in t...

Danish footballer (born 1949) For the Danish music composer, see Morten Olsen (composer). For the Norwegian author, see Morten Harry Olsen. For the handball player, see Morten Olsen (handballer). Morten Olsen Olsen in 2012Personal informationFull name Morten Per OlsenDate of birth (1949-08-14) 14 August 1949 (age 74)Place of birth Vordingborg, DenmarkHeight 1.83 m (6 ft 0 in)Position(s) Sweeper, defensive midfielderYouth career1957–1969 Vordingborg IFSenior career*Years ...

 

1989–91 concert tour by Eric Clapton Journeyman World TourWorld tour by Eric ClaptonPromotional poster for the tourAssociated albumJourneymanStart dateJuly 6, 1989 (1989-07-06)End dateMarch 9, 1991 (1991-03-09)No. of shows165Eric Clapton concert chronology Clapton-Knopfler Tour(1988) Journeyman World Tour(1989–91) Clapton-Harrison Tour(1991) The Journeyman World Tour was a 2+1⁄2-year concert tour by English musician Eric Clapton that began on July 6, 19...

 

New Zealand supermarket chain owned by Foodstuffs New WorldTypeSubsidiaryIndustryRetailFounded1963; 60 years ago (1963)HeadquartersNew ZealandNumber of locations140[1]Area servedNew ZealandProductsGrocery storesSupermarketsBrandsPams, Pams Finest, Pams Superfood, ValueParentFoodstuffsWebsitenewworld.co.nz New World is a New Zealand full-service supermarket chain. Each store is independently owned and operated, and is part of one of two Foodstuffs' co-operative. Other...

2018 studio album by Mark VincentThe Most Wonderful Time of the YearStudio album by Mark VincentReleased26 October 2018GenreChristmasLabelSony Music AustraliaMark Vincent chronology A Tribute to Mario Lanza(2017) The Most Wonderful Time of the Year(2018) The Most Wonderful Time of the Year is the eighth studio and first Christmas album by Australian tenor, Mark Vincent. The album was released through Sony Music Australia on 26 October 2018. Upon announcement Vincent said: I have long ...

 

Global investment banking subsidiary of Canadian Bank of Montreal This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: BMO Capital Markets – news · newspapers · books · scholar · JSTOR (March 2016) (Learn how and when to remove this template message) BMO Capital MarketsTypeSubsidiary of Bank of MontrealIndustryIn...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!