Computing Library › Glossary
Glossary

Flip-Flop

A one-bit memory element that holds its state until a clock edge tells it to update.

Definition

A flip-flop is a bistable circuit that stores a single bit. It changes state only on a clock edge, making it the fundamental synchronous memory element in digital systems.

Metastability is a real hazard: if a flip-flop's input changes too close to the clock edge, its output can hover between valid levels for an unpredictable time. Synchronizer circuits reduce, but never fully eliminate, this risk when signals cross between clock domains.

Setup and hold times, the windows around the clock edge during which the input must be stable, define the timing constraints every synchronous design must satisfy. Violating them risks metastability, an unpredictable in-between state. These constraints, together with propagation delay, set the maximum clock frequency, which is why static timing analysis, verifying that every path meets its timing, is a central step in digital design.

Types

Why it matters

Flip-flops are the storage cells of registers, counters, and state machines, the memory that makes sequential logic possible. Chaining them forms the registers that hold a processor's working data.

Fusion connection

Clocked flip-flops synchronize the high-speed data acquisition that records fast plasma diagnostics, ensuring samples align to a common timebase.