Digital Circuits/7400 Series

From Wikibooks, open books for an open world
Jump to navigation Jump to search

This page refers to the popular 7400 series IC

The 7400 series is a popular set of logic ICs that can be ordered from many vendors, and used in many applications. 7400 chips are generally 14-pin DIP packages, although other form factors are available as well.

The power supply required is +5V. For most of the 7400 chips, pin 7 is the ground (GND) connection and pin 14 is the +5V power supply. There are exceptions. 2.0V or higher signifies a logical "1"; 0.8V or lower signifies a logical "0".

Each chip has its name printed on top (for example, "74HC132"), describing its logic family and digital logic functionality.

OR Gates, 7432

4 gates on this package, each with 2 input pins, 1 output pin. The output pin is high only when either one, or both, of the input pins are high.

NOR Gates, 7402

4 gates on this package, each with 2 input pins, 1 output pin. The output pin is low only when either one, or both, of the input pins are high.

XOR Gates, 7486

4 gates on this package, each with 2 input pins, 1 output pin. The output pin is low when both input pins are equal (both high or both low), and it is high when one of the input pins is high and at the same time the other input pin is low. This is called the "odd but not even gate" meaning that an odd number of inputs need to be high in order for the output to be high. The XNOR gate is just the opposite; called the "even but not odd gate".

== AND Gates, 7408 ==7432+7400 4 gates on this package, each with 2 input pins, 1 output pin. The output pin is high only when all input pins are high at the same time.

Other AND Gates

7411 has 3 AND gates, each with 3 inputs and 1 output. 7421 has 2 AND gates, each with 4 inputs and 1 output.

NAND Gates, 7400, 74132

4 gates on this package, each with 2 input pins, 1 output pin. The output pin is low only when all input pins are high at the same time.

Other NAND Gates

7410 has 3 NAND gates, each with 3 inputs and 1 output. 7420 has 2 NAND gates, each with 4 inputs and 1 output. 7430 has 1 NAND gate, with 8 input pins, and 1 output pin.

Flip Flops

7474 has 2 JK flip flops. Pin 4 is the 5V power pin; pin 11 is GND.

Design

When designing new digital circuits, we may sketch dozens of slightly different kinds of gates -- different numbers of inputs, etc. Just about every kind of gate you can imaging has been manufactured somewhere. However, when it comes time to actually construct a circuit, we typically use only a few kinds of "common" chips rather than every possible chip. The Apollo Guidance Computer is an example of an entire computer out of only one kind of gate.

If our sketch includes a 4-input AND gate, you might think we would simply grab a 7421 off the shelf and wire it up. Ha! I haven't seen an actual 7421 chip in over a decade. It is far more likely that we will do one of:

Currently the most useful physical gates are:

  • 74AC132 -- 4 Schmitt 2-input NAND gates
  • multiplexers
    • 74AC153 dual 4:1 mux chip -- can be wired as any logic gate with up to 3 inputs, including XOR.
    • 74AC157 quad 2:1 mux chip
  • 74AC595 SIPO shift register
  • 74AC165 PISO shift register
  • ...
  • ... (that other chip I'm forgetting) ...
  • ... (any other extremely useful chip that can't be easily replaced by a couple of the above chips?) ...

Very wide gates (say, a 16-input NOR gate) are typically implemented as a handful of less complicated gates in a "tree" or "funnel".