The 7400 Quad 2-Input NAND Gate, A Neglected Survivor From A Pre-Microprocessor World

There are a range of integrated circuits that most of us would regard as definitive examples of their type, devices which became the go-to for a particular function and which have entered our collective consciousness as electronics enthusiasts. They have been in production since the early days of consumer integrated circuits, remaining in use because of a comprehensive understanding of their characteristics among engineers, and the job they do well.

You can probably name the ones I’m going to rattle off here, the µA741 op-amp designed by David Fullagar for Fairchild in 1968, the NE555 timer from Hans Camenzind for Signetics in 1971, and a personal favourite, Bob Widlar’s µA723 linear regulator for Fairchild in 1967. There may be a few others that readers will name in the comments, but there’s one that until today it’s likely that few of you would have considered. Texas Instruments’ 5400 and 7400 TTL quad 2-input NAND gate has been in continuous production since 1964 and is the progenitor of what is probably the most numerous breed of integrated circuits, yet it doesn’t trip off the tongue when listing famous chips, and none of us can name its designer. So today we’re turning the spotlight on this neglected piece of silicon, and trying to bring it the adulation it deserves.

Can you name this anonymous IC designer?

We could have featured a minicomputer such as a DEC PDP-11 as an example of a CPU built from 74 series logic. But the 74-driven Xerox Alto makes a greater point about 74 logic as the progenitor of modern computing devices. Joho345 [Public domain]
We could have featured a minicomputer such as a DEC PDP-11 as an example of a CPU built from 74 series logic. But the 74-driven Xerox Alto makes a greater point about 74 logic as the progenitor of modern computing devices. Joho345 [Public domain]
As semiconductor logic emerged through the 1950s and into the 1960s, there were a number of competing technologies in the field. Diode logic, diode-transistor logic, resistor-transistor logic, and others were all contenders that found their way into the early generations of solid state computers. Each technology had its adherent companies, but each came with associated limitations in the form of low speed, excessive power consumption, or demanding power supply requirements. Transistor-transistor logic, or TTL, was conceived in 1961 by James L. Buie at TRW Inc, and held the promise of reasonable power consumption at higher clock speeds, respectable speed, and a single low-voltage power rail. First to market with TTL were Sylvania in 1963, with TI following in 1964 with the 5400 metal flat-pack military TTL series, and in 1966 with the plastic-packaged 7400 variants we know so well. The series expanded to cover every possible logical function from a plethora of manufacturers, and as the emerging industry standard by the end of the decade entire mini and microcomputers were being constructed using only 74-series TTL chips. Designs using them were in the minds of the first microprocessor designers, and their influence was clear on the CPUs of the 1970s that used 74-style 5 V logic levels.

The die of a decapped National Semiconductor-branded 5400 from the 1980s Robert.Baruch [CC BY-SA 4.0]
The die of a decapped National Semiconductor-branded 5400 from the 1980s. Is that a Fairchild marking at the bottom, indicating that this chip was originally one of that company’s procucts? Robert Baruch [CC BY-SA 4.0].
So in a sense, though it wasn’t the first logic chip or even the first TTL chip, the 7400 is arguably the semiconductor progenitor of the computers we have on our desks and in our pockets today. It’s an unnoticed computing survivor from a pre-microprocessor world, and it has managed to stay with us despite the advent of the microprocessor because 74-series logic has become the “glue” that holds together so much of our digital world. It’s ubiquitous, and has outgrown its original purpose of forming the building blocks of 1960s computing, instead performing simple logical tasks where simplicity, speed, simplicity of implementation, and low cost are required. Its success also eclipses a human-level story, for if we go back to the list of circuits mentioned at the top of this page we find names alongside them. Widlar, Fullagar, Cammenzind and others like them are names that trip off the tongue in conversations about earlier integrated circuits, but how many of us can name the creator of the 7400? Certainly not us, it’s as though they have disappeared from history. It’s a simple enough device that it is likely to be ascribable to one person, but even if it was the work of a team we should be able to find the names of its members. Genuinely, the 7400’s creator or creators should be famous for their achievement, so if anyone can shed any light on early-1960s Texas we would be really interested to know.

A 7400 today

 The internal circuit of a single 7400 dual-input NAND gate. 30px MovGP0 (CC BY 2.0 DE).
The internal circuit of a single 7400 dual-input NAND gate. 30px MovGP0 (CC BY 2.0 DE).

Over the years there have been a dizzying array of 74-series compatible families that address the shortcomings of the originals with capabilities far exceeding them, and though many of the more esoteric devices are no longer made it remains available in a huge range of functions. It’s still perfectly normal to find a 74 derivative in a device manufactured in 2018, and no doubt it will continue to be so for the forseeable future. The original series may have been long-ago superseded, but they remain in production and you can still order a 7400 from all the usual sources. So we did just that, picking up a few TI SN7400s as part of a Mouser order. It’s interesting to note that at about a couple of dollars each in single quantities these are no longer a cheap part, while they would have cost tens of dollars at launch in the 1960s they have evidently passed their peak-production low price point and are now heading into the realm of small-production-run exotica. It seems that the HC series CMOS part 74HC(T)00 from the late 1980s is now the cheapest single-quantity equivalent coming in at about 30 cents.

A quad 2-input NAND gate is hardly the most exciting or exotic of components unless you have a pressing need for a bit of logic glue, so having secured a few we could hook up an LED or make an astable flip-flop if we wanted to. But the interesting story lies probably not in what can be done with a 7400, but in why we would now use a 74HC00 or any of the other families that superseded the original. Newer series almost all have either or both of higher speed and lower power consumption in their feature sets as you might expect, but they have also all addressed the original’s inherent flaw. The earliest logic gate families were digital circuits designed to represent logic 1 and logic 0 as a high voltage or a low voltage, but they also had a point during the voltage transition between logic states during which they functioned more as an analogue circuit than a digital one. The original 74 series shares this with its near-contemporary 4000 series CMOS.

In a digital circuit containing 74 series devices the moment during logic transition at which both output transistors were open caused a spike of high current to pass, which had the unintended side effects of making circuits extremely noisy, and requiring significant power supply decoupling efforts. It’s worth remarking at this point that unintended analogue properties in the 4000 series chips became popular in the world of experimental synthesisers as demonstrated by our own [Elliot Williams] in his Logic Noise series.

The 7400 then, a neglected survivor from a pivotal moment in computer design that has soldiered on unnoticed for over fifty years. You will no doubt still be able to buy 7400s for years to come, though we’re at a loss as to who would specify them in a new design, and for decades to come you’ll certainly be able to buy its derivatives. We hope this has shone a light upon it and accorded it the recognition it deserves, and in turn if we could put a name to its designer that would be a fascinating story in itself. Now, if you’ll excuse us we have a small pack of brand new 7400s to think of a project for.

7400 header image: Stefan506 [CC-BY-SA-3.0]

62 thoughts on “The 7400 Quad 2-Input NAND Gate, A Neglected Survivor From A Pre-Microprocessor World

    1. Both NAND and NOR are called the universal logic gates, because all other types of gates can be made with just one of these two.
      One NAND can become a NOT, two can become an AND, and three can become an OR. So the quad IC always has your back.

    2. I have a tube of them next to my workbench. Inverters are about the only thing I use them for! lol

      The local makerspace has a few hundred of them in the parts bin. I keep trying to come up with a simple, useful, educational project to use them for, but I haven’t got there yet. Usually I abandon an idea when I realize that it would take a breadboard the size of a full sheet of plywood, and that it could be done with a $1 uC instead.

      Maybe there should be a 7400 contest, with a limit on additional components. Something to encourage designs that would make use of all the new-old stock of these things sitting around in bins.

    1. Yup, still pretty much the standard way to multiplex the SPI select line. In the board I’m turning on today I did it with single-gate NAND’s, simply because they’re smaller.

    1. Sadly, I just cleaned up and threw away my 80s cheat sheets. They featured pinouts of the most common 74s, some eproms, transistors and connectors like shugart, apple2 slot, c64 game port, V.24 and many more.

      All gone. Yesterdays‘ knowledge. Grampa tells stories about the great war.
      We now get ourselves a Raspi (why?), install some linux (we need an OS?) and do bit banging using python scripts, occasionally written with scratch. Flashing LED, how cool. The rest of the day we use the Raspi to watch cute cat videos.

    1. Tandy / Radio Shack Science Fair 200 in 1 Electronic Project Lab had a 7400 (quad 2 input nand and a dual j-k flip flop.
      The 150:1 only had a little black sip that looks like an amplifier
      The 100:1 had a one inch square white with clear covering thingy which included trace resistors and a discreet transistor
      the 65:1 on didn’t have anything labled an integrated circuit ….

      (garage sale finds!, except the 100:1 :)

      1. Ditched all but a small museum amount of mine last year – I’m only a “recovering” packrat….
        The PDP-11 came around a bit after TTL. The PDP8 started as kinda-rtl and DCD (diode-cap-diode) logic, but there was a newer version called the PDP8i you could move too once TTL came around – one of the few machines you could get in multiple logic families.

        I disagree that ttl is totally obsolete – there are still uses and you can even buy single gates in small footprint SMD because of that (though those tend to be one of the other newer variants). I recently did as I just needed a couple of gates to make a fancy sample/hold peak detector for an X ray spectrometer and they were a good fit for that job (along with some much more modern comparators and fet switches). If you need to go medium fast, 4k cmos is the obsolete one – and despite the B versions with protection diodes, they’re still real easy to fry in a physics lab with a bit of “EMP” floating around, much easier than TTL. Main advantage of the CMOS is nil power consumption if they’re not doing anything, and maybe a super power wasting mode when you attempt to use them in a semi linear fashion (because there is shoot-through current in the output totem pole when you do that).

      2. Use a bunch of 7400s and passives to create an easy-to-breadboard TTLECL interface! I still see ECL micros in parts bins, but I don’t have any other ECL components to test with so it would be an absolute PITA.

    1. TTL is more robust against EMI and ESD than CMOS with a lower chance to bork your circuit just by touching it with a finger, and 5 V TTL is compatible with both 3.3 and 5 V logic input signals because the high level threshold is around 2.7 Volts vs 3.5 V for the CMOS part.

      So the TTL part is more universal and handles more abuse at the cost of higher power consumption and lower circuit density.

      1. For exactly this reason I have a bunch of new (hopefully, the’re from Ali) 74LS540 chips lying next to me.
        Intended purpose is to interface between a Blue Pill (STM32F103C8T6) with Grbl and the optocouplers of some beefy stepper motor controllers. LS540 is inverting, but it can sink a lot of current to GND, and the opto’s are fed from a 5V rail which makes them invert it back to normal again.

        LS also plays nice with the 3V3 outputs of the Blue Pill.
        As this is a one-off personal project there will be no PCB, but old fashion vero board and enamalled wire.

    2. CD4000 series is as slow as it was 40+ years ago, and doesn’t work well at low voltages. I do electronic engineering for a living, and we design in the 74LVC series stuff when we need popcorn glue logic, inverters, Schmitt triggers, etc.

    3. The cool thing about 4000 series cmos is that you can easily put RC networks between them and create simple time delays. Years ago I won a bet with some other engineers I worked with. We needed a small, and simple turn on turn off circuit for our PA systems that we biamped. The popular amps of the day had a bit of a turn on and turn off thump that was not bad on speakers with passive crossovers but the HF horns in the bi amed setups did not like them one bit.

      The runner up was predictable with a pair of 556 timers. I was a bit more off the wall, a bit more elaborate, and a lot simpler. My system did power on as a relay that clicked in and turned on all the low level stuff, one of the new opto 22 SSR’s that came on a few seconds later and tuned on the power amps, and a relay a few seconds later that connected the drivers to the amps. The first relay was initially an SSR, but early SSR’s leaked enough to light up the low level sturr that only took a few watts, so a relay was a better choice. On power down, it reversed the sequence. Drop the speakers, drop the power amps, drop the low level tuff. The entire thing was one hex inverter with simple RC networks, and a 2006 to drive the relays and SSD and status lights. I think I still have one of the “brains” from them kicking around someplace.

    4. Contemporary 4000-series is slightly different to the original stuff.

      For starters it has internal bleed resistors and won’t suffer ESD if you wave a charged hand over it (I did a thesis on this back in the day. The chunks that ESD could take out of IC internal traces were impressive when inspected under electron microscopes)
      Secondly it has hysteresis on the inputs so you don’t get the analogue band that used to “grace” original 4000-series (and TTL and ECL) logic.

      Who remembers having to decouple supply circuits with both electrolytic AND copious quantities of ceramic caps in order to ensure noise was properly shunted?

        1. I recall a magazine article (April 1 edition) where Jim Williams built a class D amplifier out of a foot high stack of CMOS inverters soldered together pin-to-pin to get the output impedance down..

    1. I recommend checking the following patents:




      easiest way is to go to: which lets you input the numbers and it provides a downloadable Acrobat of the patent. The first above is the earliest TI I found on TTL type NAND gates. The second is an early RCA on NOR, OR and EX-OR. The last one is from Sylvania and is the only one showing the classic multi-emitter NPN transistors we think of with 5V TTL. R.E. Bohn is the inventor for the Sylvania patent.

      1. patents must not have worked the same way back then – now days anyone inventing that type of stuff would patent it and kill of competitors for decades… Didn’t they know back then that patents were meant for killing innovation, not encouraging it?

        1. Ian,
          Think ‘cross licensing’. Users wanted second sources due to learning curve issues with chip fab. Manufacturers were kinda forced into cross licenses to serve the customer’s fear of committing to a single vendor that might fail to deliver. The company with the most patented parts rules the game, getting paid by customers and competitors. Or, something like that.

  1. My first real job 40 years ago was with IBM designing VDUs. We were designing using one of IBMs technologies, and the prototypes were built with ‘sunburst cards’, where a 100 gate chip was exploded by the design system into TTL gates on a card. Of course, it was a card full of 7400 family logic. IBMs part number for a plain old 7400 was 2392700 – and you can tell I didn’t have to look that up; it’s burned into the memory.

  2. The 7400 didn’t have ESD protection diodes on the output (or input for that matter). This allowed the output voltage to be forced above VCC when VCC was at 0V without sinking much current (typically much less than 100nA at room temp) back into the output.
    I actually used that feature in a CMOS RAM (remember the 6116?) battery backup circuit in a design from about 1982 or 1983.

    This, of course, is not possible in the CMOS 7400 replacements which will clamp the output voltage to one diode drop above VCC under those conditions. It should be noted that a number of manufacturers came output with modified CMOS output stages in logic families from the ’90s and ’00s (e.g. LCX) that do allow the output voltage to go above VCC.

  3. Nothing was more satisfying than coming up with an optimal solution using 74xx parts back in the 80’s. It was a giant puzzle and we all had the 74xx series memorized. People have it way too easy now, hardly challenging anymore.

      1. If you’re in Silicon Valley, get thee to HSC. They close on January 12th. They have a wall of TTL, many of which are NLA. Picked up some 154s and even a 74LS612 (Yes, an MMU in the form of a 40-pin DIP) a couple of weeks ago.

        For audio folks they also had some NE566 VCOs (566, the VCO, not 556 our friendly timer).

        No, this won’t help for anyone doing a new design, but if you’re looking to pick up some parts for your library that are no longer available at the major online suppliers, there’s no better time than now.

    1. CMOS logic chips can be wired as RC or crystal oscillator, one shot time delays, amplifiers etc. I usually pick them over a 555 as the other gates can be used for logic too.
      I have seen TTL version used, but they are ugly and not work as nicely as CMOS.

  4. Great write-up.
    Was thinking the reason NAND is used in so many digital-logic explanations (E.G. an SR Latch) was due to NANDs’ simplicity at the transistor-level… But the internal structure, shown above, uses 5 transistors! Hardly simple.
    Am certain quite a bit of that circuitry is due to input/output requirements of TTL, plausibly also speed-related, and power…
    But, from the looks of that, it might be, e.g. that an OR gate may require fewer transistors, and something like an SR-Latch would be much simpler to grasp using those, e.g. “if the input is high OR the output is high, then output High.” is much simpler than “If the upper input is high and the lower output is high, then the upper output goes low, forcing the lower NAND’s output high, which feeds back to the …” and “But, there’s no way to know the initial output state”…
    So, 25+ years into digital designery, am drawing a blank as to why all those explanations are backed with NAND implementations. I understand *that* it *can* implement any other logic, but the question, I guess, is whether NANDs are really *used* at such a level, internal to more complex devices (again, e.g. SR-Latches) or whether there’s some other reason NAND-implementations are so ubiquitous in early logic training material.

    1. Looking at the internal circuits of the 7402 NOR gate shows the same kind of input transistor structure shown as V1 and V2 in the schematic above, with two sets of V1 and V2 transistors, one for each input. The V1s have a single emitter, and the V2s are connected in paralell, thus giving us the OR function. Looking at the AND-OR-INVERT gates such as 7451 shows this pattern in combination: Multiple emitters on the input makes AND, parallelled second transistors makes OR and the output stage gives the Inversion.

      Turns out, NAND (or AND-OR-INVERT) is the simplest circuit with TTL, and thus that is preferred. For CMOS the NAND and NOR are pretty much mirror images of each other (NAND has N-channel devices in series and P-channel devices in parallell, NOR has them the opposite way), and either one will be as good as the other for the basic gate.

  5. Sometime around 1970, in between a couple RTL designs and a lot of TTL ones, I had a brief (and very unpleasant) encounter with Signetics Utilogic. Anybody remember that? Some types of gate could only source current, and others could only sink it. Some inputs needed to be fed current, while others needed to have it sucked out. The result was that a NAND could not drive another NAND, and the same for NORs. Oh, and, the devices ran really hot, too. Just before it was time to commit to PC layout, TI dropped the price on TTL from nearly 10 bucks a flop to under a buck (which mattered because our primary customers were radio and TV broadcasters, not the military). I tossed the Utilogic design and started over.

  6. One sometimes useful 7400 trick is using 4 gates in one IC to make a short pulse generator operated by a spst switch. Each operation of the switch (usually a push button) produces one pulse of about 3 gate delays width. It is a combination of a switch “de-bouncer” and a “racy pulse generator”.

  7. I used the 40H00 back in the 80’s as a selectable normal/turbo crystal oscillator. The 40H00 were wired as a MUX but with the 2 NAND wired as Pierce-Gate Crystal Oscillator. i.e. linearized with a 1M feedback between one of inputs and output while the other input is used as an enable pin.
    Note: 40Hxx series were one of the earlier CMOS series long before the faster 74HC comes along.

  8. This article made me start my 7400 collection (the original TTL 7400 quad 2-input NAND gate exclusively). So far I have chips from roughly 25 manufacturers all over the world :). Thank you, Jenny List.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.