Compare synchronous and asynchronous circuits focusing on timing control, data flow, and typical applications in digital electronics.
In a digital circuit, there is something that decides when things change. In synchronous circuits, this is decided by a clock signal common to all registers; in asynchronous ones, each part changes when its input changes. The choice determines speed, power consumption, and ease of design, and sets the way signals coming from another timing source are handled [1][2][3][4].
A synchronous circuit consists of memory elements (flip-flops) that sample their input on the active edge of a common clock, and combinational logic networks between one register and the next. The operation is correct if, between two edges, the output of each register propagates through the logic and reaches the input of the next before the following edge, with a margin equal to the setup time. The minimum clock period is therefore
$$T_{clk} \ge t_{cq} + t_{logica} + t_{su}$$
where $t_{cq}$ is the clock-to-output delay of the flip-flop and $t_{su}$ the setup time. The hold time, during which the input must remain stable after the edge, must also be respected and depends on the clock skew between registers. The advantages are a design easy to verify with automatic tools and predictable behavior; the disadvantages are the power consumed by clock distribution and the speed limited by the longest path [1][2][4].
In asynchronous circuits, there is no global clock: outputs change in response to input changes, and parts coordinate with request and acknowledge signals (handshake). A simple case is the ripple counter, where the output of each flip-flop acts as the clock for the next. The advantages are reduced power consumption (switching only when needed), speed determined by the actual delay rather than the worst case, and lower electromagnetic emissions; the disadvantages are a design more difficult to verify, with risks of race conditions and glitches [1][3][4].
When an asynchronous signal arrives close to the clock edge and violates setup or hold, the flip-flop can enter a metastable state, in which the output remains at an intermediate level for an unpredictable time before settling to 0 or 1. The probability of remaining metastable decreases exponentially with the time allowed for resolution. The mean time between failures is
$$\mathrm{MTBF} = \frac{e^{t_r/\tau}}{T_0\,f_{clk}\,f_{dati}}$$
where $t_r$ is the time available for resolution, $\tau$ the flip-flop time constant, and $T_0$ a characteristic window. To bring a signal into another clock domain, a synchronizer of two (or more) flip-flops in series is used, which grants almost one additional clock period for resolution [1][2][4].
Binary counter with $4$ bits, clock-to-output delay flip-flops $10\ \mathrm{ns}$, AND gate with $5\ \mathrm{ns}$ inputs, and setup time $3\ \mathrm{ns}$.
1. Asynchronous version (ripple): the change propagates through $4$ flip-flops, so the output is stable only after $4\cdot10 = 40\ \mathrm{ns}$; the maximum counting frequency is about $1/(4\cdot10\ \mathrm{ns}) = 25\ \mathrm{MHz}$, with incorrect intermediate states during propagation.
2. Synchronous version with parallel enables: $T_{clk} \ge 10 + 5 + 3 = 18\ \mathrm{ns}$, that is $55.6\ \mathrm{MHz}$, and all bits switch simultaneously.
3. Synchronizer with $f_{clk} = 100\ \mathrm{MHz}$, $f_{dati} = 10\ \mathrm{MHz}$, $\tau = 100\ \mathrm{ps}$ and $T_0 = 100\ \mathrm{ps}$: with a single flip-flop and resolution time $t_r = 2\ \mathrm{ns}$, $\mathrm{MTBF} = e^{20}/10^{5} = 4850\ \mathrm{s}$, about $1.3$ hours.
4. With $t_r = 3\ \mathrm{ns}$: $\mathrm{MTBF} = e^{30}/10^{5} = 1{,}1\cdot10^{8}\ \mathrm{s}$, about $3.4$ years.
5. With a second flip-flop granting another $10\ \mathrm{ns}$ (about $t_r = 8\ \mathrm{ns}$): $\mathrm{MTBF} = e^{80}/10^{5} \approx 5\cdot10^{29}\ \mathrm{s}$, practically infinite.
Synchronous circuits are the basis of processors, memories, and almost all digital logic; asynchronous is used for interfaces between different clock domains, for ultra-low power circuits, and for external input signals, which must always be synchronized.
[1] Wikipedia (en): Synchronous circuit
[2] Wikipedia (de): Flipflop
[3] Wikipedia (fr): Circuit asynchrone
[4] Wikipedia (en): Metastability (electronics)
Generating summary…