Overview

The 74HC86 (SN74HC86) is a high-speed silicon-gate CMOS integrated circuit containing four independent 2-input Exclusive-OR (XOR) logic gates. Each gate performs the Boolean function:

Y=AB=AB+ABY = A \oplus B = A\overline{B} + \overline{A}B

The output of an XOR gate is HIGH if and only if exactly one input is HIGH and the other is LOW. When both inputs are at the same logic level (both LOW or both HIGH), the output is LOW. This unique logic property makes the 74HC86 indispensable for parity generation and checking, binary half-adders/full-adders, digital magnitude comparators, controlled inverters, and digital phase detectors in PLL circuits.

Quick reference

Supply Voltage (VCC)2.0 V to 6.0 V DC (5.0 V nominal)
Logic FamilyHigh-Speed CMOS (74HC) / TTL-Compatible (74HCT)
Gate Count4 Independent 2-Input XOR Gates
Logic FunctionY=ABY = A \oplus B
Propagation Delay (tpdt_{pd})11 ns11\text{ ns} typ (23 ns23\text{ ns} max) at VCC=4.5VV_{CC} = 4.5\text{V}
Output Drive Current±5.2 mA\pm 5.2\text{ mA} at VCC=4.5VV_{CC} = 4.5\text{V}
Package Options14-pin DIP / SOIC-14 / TSSOP-14

Pinout (DIP-14 Package)

text
             ┌───┴───┐
          1A 1│ 1   14│ VCC
          1B 2│       │13 4B
          1Y 3│       │12 4A
          2A 4│ 74HC86│11 4Y
          2B 5│       │10 3B
          2Y 6│       │9  3A
         GND 7│       │8  3Y
             └───────┘
PinNameTypeDescription
1, 21A, 1BDigital InputGate 1 Data Inputs
31YDigital OutputGate 1 XOR Output (1Y=1A1B1Y = 1A \oplus 1B)
4, 52A, 2BDigital InputGate 2 Data Inputs
62YDigital OutputGate 2 XOR Output (2Y=2A2B2Y = 2A \oplus 2B)
7GNDPowerGround reference (0 V)
83YDigital OutputGate 3 XOR Output (3Y=3A3B3Y = 3A \oplus 3B)
9, 103A, 3BDigital InputGate 3 Data Inputs
114YDigital OutputGate 4 XOR Output (4Y=4A4B4Y = 4A \oplus 4B)
12, 134A, 4BDigital InputGate 4 Data Inputs
14VCCPowerSupply voltage (+2.0 V to +6.0 V DC)

Function Table

Input AInput BOutput Y (ABA \oplus B)
Low (LL)Low (LL)Low (LL)
Low (LL)High (HH)High (HH)
High (HH)Low (LL)High (HH)
High (HH)High (HH)Low (LL)

Specifications

ParameterSymbolMinTypMaxUnitConditions
Supply VoltageVCCV_{CC}2.05.06.0VOperating DC range
High-Level Input VoltageVIHV_{IH}3.15VVCC=4.5VV_{CC} = 4.5\text{V}
Low-Level Input VoltageVILV_{IL}1.35VVCC=4.5VV_{CC} = 4.5\text{V}
High-Level Output VoltageVOHV_{OH}4.44.5VVCC=4.5V,IOH=20 μAV_{CC} = 4.5\text{V}, I_{OH} = -20\ \mu\text{A}
Low-Level Output VoltageVOLV_{OL}0.00.1VVCC=4.5V,IOL=20 μAV_{CC} = 4.5\text{V}, I_{OL} = 20\ \mu\text{A}
Propagation DelaytPLH,tPHLt_{PLH}, t_{PHL}1123nsVCC=4.5V,CL=50 pFV_{CC} = 4.5\text{V}, C_L = 50\text{ pF}
Quiescent CurrentICCI_{CC}2.0µAVIN=VCC or GNDV_{IN} = V_{CC}\text{ or GND}

Typical Applications

1. Controlled Inverter (True / Invert Control)

Holding input B LOW passes signal A non-inverted (Y=AY = A). Pulling input B HIGH inverts signal A (Y=AY = \overline{A}):

text
 Signal In (A) ───► [Pin 1: 1A]
                           74HC86
                    [Pin 3: 1Y] ──► Output Y (A if Invert=0, ~A if Invert=1)
 Invert Control ──► [Pin 2: 1B]

2. Frequency Doubler (Pulse Edge Detector)

Passing a clock signal directly into one XOR input and through a small RC delay to the other generates a short pulse on every rising and falling clock edge, effectively doubling the clock frequency.

Common mistakes

  • Leaving unused gate inputs floating: As with all high-impedance CMOS gates, floating inputs oscillate rapidly and generate excess noise. Tie all unused input pins to GND or VCC.
  • Misinterpreting as an OR gate: In an OR gate (74HC32), 1+1=11 + 1 = 1. In an XOR gate (74HC86), 11=01 \oplus 1 = 0.

Notes

  • Pin-Compatible Drop-In Alternatives: 74HCT86 (TTL compatible), 74LS86 (Bipolar TTL), SN74HC86N, CD74HC86.

Assets & downloads