Receiving a Single Asynchronous Control Bit
A digital input arriving independently of a receiver's clock can change near a sampling edge, so crossing that boundary needs a deliberate circuit.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Identify the timing problem
An asynchronous ready signal can violate a receiver's setup and hold requirements, creating a metastability risk at the first sampling element. A common single-bit synchronizer gives a sampled value more time to settle before ordinary logic uses it.
Keep transferred information coherent
A short pulse can disappear between receiver edges, and independent synchronization of several data bits does not guarantee a coherent word. Use a protocol suited to the data transfer. A register load rule describes which snapshot is supposed to be visible.[1]
Trace a lasting request across two receiving edges
A standard single-bit synchronizer samples an asynchronous control through two flip-flops clocked by the destination. When a request arrives with adequate margin for the first sample and remains high, the second stage receives the first stage's value on the following edge. See setup and hold.
Initially Q1=0, Q2=0
Edge 1 samples steady request=1: Q1=1, Q2=0
Edge 2: Q1=1, Q2=1
If arrival is close to an edge, visibility can be delayed
Use this scheme for a sustained single-bit level
Two stages reduce the risk of visible metastability but do not guarantee capture of a short pulse. Separately synchronizing the bits of a word cannot guarantee a coherent word. For those tasks, use a protocol designed for transfer.