D flip-flops sharing a clock are a register; chained, a shift register. This page covers latch-versus-edge types, setup and hold, and the three-wire 74HC595.
A register is simply n D flip-flops sharing clock and clear. Level-enabled versions (74HC373 latches) pass data while enabled - transparent, cheap, but glitches walk through during that window; edge versions (74HC273/374) sample on the rising edge and suit synchronous buses. Timing numbers that matter: setup time about 20ns, hold a few nanoseconds, clock-to-output about 20ns on HC parts - violate setup or hold and you harvest metastability.
Shift registers chain flip-flops nose-to-tail. The 74HC595 (serial-in, parallel-out) runs on three wires - data, shift clock, latch clock - and its separate output register means the pins hold still while the next word shifts in, so multiplexed displays never flicker. Cascade via QH' into the next SER pin: 3 wires drive 8n outputs, the standard behind LED matrices and relay banks. Pitfalls: never assert shift and latch clocks on the same edge; buffer shift clocks through a Schmitt on long runs; synchronize asynchronous inputs through two flip-flops before clocking anything; and tie the 595 OE pin low or driven - floating OE parks the outputs high-impedance and the display looks dead on power-up.
| Device | Type | Key specs | Typical use |
|---|---|---|---|
| 74HC273 | 8D edge, clear | tsu 20ns, tCO 20ns | Bus output register |
| 74HC374 | 8D edge, 3-state | tCO 20ns | Bus-connected register |
| 74HC373 | 8D transparent latch | Transparent while enabled | Address latch with ALE |
| 74HC595 | Serial-in parallel-out | 3 wires per 8 bits, cascadable | Displays, driver banks |
| 74HC165 | Parallel-in serial-out | 3 wires read 8 bits | Key matrix scanning |
| 74HC574 | 8D edge, 3-state | Improved 374 pinout | Data bus buffering |
Rules: edge types for buses, latches for address holds, 595 and 165 for serial expansion; synchronize asynchronous inputs through two stages, condition long-line clocks, and never let OE float.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Digital IC specification per GB/T 17574 (IEC 60748 series); logic symbols per GB/T 4728. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.