|
AN1504 Datasheet, PDF (1/8 Pages) ON Semiconductor – Metastability and the ECLinPS Family | |||
|
AN1504/D
Metastability and the
ECLinPS Family
Prepared by: Applications Engineering
http://onsemi.com
APPLICATION NOTE
This application note examines the concept of
metastability and provides a theoretical discussion of how it
occurs, including examples of the metastable condition. An
equation characterizing metastability and a test circuit
derived from that equation are presented. Metastability
results are then applied to the ECLinPS family.
Introduction
Metastability is a central issue anytime a designer wishes
to synchronize two or more asynchronous signals. A popular
method for accomplishing this task is to employ a D
flipâflop as the synchronizing element (Figure 1).
As shown in Figure 1, synchronization can be
accomplished using a single D flipâflop; more typically,
several D flipâflops are cascaded to provide synchronization
while reducing the probability of a metastable or
âanomalousâ state occurring at the input of System 2.
Unfortunately the information at the data and clock inputs of
flipâflops used as synchronizing elements is asynchronous by
nature, thus the manufacturer specifications for setâup and
hold times may not be observed. A series of timing diagrams
is shown in Figure 2 demonstrating three possible timing
relationships between the data and clock signals; to the right
of each data trace is the corresponding output waveform. In
the first case the data adheres to the specified setâup and hold
times, hence the output attains the proper state. In case 2 the
setâup time is violated such that the output of the D flipâflop
does not change state. Case 3 represents a violation of the
setâup and hold times whereby the D flipâflop enters a
metastable state. The resolving time for a flipâflop in this
metastable state is indeterminate. Further, the final settling
state of the flipâflop having been in this metastable condition
cannot be guaranteed.
Metastability Theory
A bistable device such as a flipâflop has two stable output
states: the â1â or high state and the â0â or low state. When
the manufacturers specified setâup and hold times are
observed the flipâflop will achieve the proper output state
(Figure 3). However if the setâup and hold times are
violated the device may enter a metastable state, thereby
increasing the propagation delay, as indicated by the output
response shown in Figure 4.
To better understand flipâflop metastability, the operation
of a typical ECLinPS D flipâflop is reviewed. The schematic
of a D flipâflop is shown in Figure 5.
SYSTEM 1
CLOCK
SYSTEM 2
CLOCK
SYSTEM 1
CLOCK
SYSTEM 2
CLOCK
SYSTEM 1
SYSTEM 1
OUTPUT
SYSTEM 1
SYSTEM 1
OUTPUT
DATA
Q
D FLIPâFLOP
CLOCK
DATA
Q
D FLIPâFLOP
CLOCK
DATA
Q
D FLIPâFLOP
CLOCK
SYSTEM 2 INPUT
SYSTEM 2
SYSTEM 2 INPUT
SYSTEM 2
TD DELAY
Figure 1. Clock Synchronization Schemes
 Semiconductor Components Industries, LLC, 2004
1
November, 2004 â Rev. 2
Publication Order Number:
AN1504/D
|
▷ |