Overview
The 74HC688 (commonly SN74HC688N in a 20-pin DIP package) is a high-speed CMOS 8-bit magnitude identity comparator IC. It compares two 8-bit binary words ( and ) and asserts an active-LOW output () when all corresponding bit pairs are identical ().
Featuring an active-LOW enable input (), the 74HC688 is widely used in microcomputer memory address decoding, bus matching, dip-switch address verification, and digital hardware pattern matching.
Quick reference
| Logic Family | High-Speed CMOS (HC) |
| Package | 20-Pin DIP (Through-Hole) / SOIC-20 / TSSOP-20 |
| Supply Voltage Range () | to DC |
| Word Width | 8 Bits ( compared to ) |
| Propagation Delay () | typical at |
| Enable Control | Active-LOW Enable () |
| Output State | Active-LOW Equality Output () |
Pinout (20-Pin DIP Package)
text
┌──────────────┐
~G~ ─│ 1 20 │─ VCC
P0 ─│ 2 19 │─ ~P=Q~
Q0 ─│ 3 18 │─ Q7
P1 ─│ 4 17 │─ P7
Q1 ─│ 5 16 │─ Q6
P2 ─│ 6 15 │─ P6
Q2 ─│ 7 14 │─ Q5
P3 ─│ 8 13 │─ P5
Q3 ─│ 9 12 │─ Q4
GND ─│ 10 11 │─ P4
└──────────────┘
| Pin | Name | Description |
|---|---|---|
| 1 | ~G~ | Active-LOW Enable input (LOW = Enable comparison, HIGH = Force output HIGH) |
| 2, 4, 6, 8, 11, 13, 15, 17 | P0–P7 | Word P 8-bit input pins |
| 3, 5, 7, 9, 12, 14, 16, 18 | Q0–Q7 | Word Q 8-bit input pins |
| 10 | GND | Ground reference (0 V) |
| 19 | ~P=Q~ | Active-LOW equality output pin (LOW when and ) |
| 20 | VCC | Power supply input (+2.0V to +6.0V DC) |
Function Table
| Inputs () | Enable Input () | Equality Output () |
|---|---|---|
Low (0) | Low (0) | |
Low (0) | High (1) | |
| X (Don't care) | High (1) | High (1) |
Specifications
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions |
|---|---|---|---|---|---|---|
| Supply Voltage Range | 2.0 | 5.0 | 6.0 | V | Operational range | |
| High-Level Input Voltage | 3.15 | — | — | V | ||
| Low-Level Input Voltage | — | — | 1.35 | V | ||
| High-Level Output Volts | 4.4 | 4.5 | — | V | ||
| Low-Level Output Volts | — | 0.1 | 0.4 | V | ||
| Propagation Delay () | — | 17 | 30 | ns |
Common mistakes
- Floating unused bit inputs: Unused bit pairs (e.g. if comparing only 4 bits) must NOT be left floating. Tie matching unused and input pairs to GND or so they evaluate as equal ().
- Expecting active-HIGH output: The equality output pin is active-LOW (). It pulls LOW when words match. Add an inverter if an active-HIGH match signal is needed.
Notes
- Address Decoding: Easily cascades by tying the output of one chip into the enable input of another to compare 16-bit or 32-bit bus addresses.
Assets & downloads
- datasheetdatasheet
- product-pagereference