Flip Flops
Flip Flops
Clocked D Flip-Flop
D 3
CP 4 2 Q
Master-Slave Flip-Flop
Y Master R R
S Slave
CP MASTER-SLAVE FLIP-FLOP
Master
Slave
UMC A54SX32A 0.22 m Heavy Ion Test Device/Date Code = D7766.12 WFR #15 NASA/Goddard Space Flight Center Brookhaven National Lab October, 2000
10-7
Notes:
10-8
1. S/N LAN4001 2. Ions = 210 MeV Cl-35, 284 MeV Br-81, 345 MeV I-127 3. Fluence ~ 107 ions/cm2 4. Bias = 4.5, 2.25 VDC 5. Checkerboard pattern 6. Frequency = 1 MHz 7. 200 flip-flops / string 8. Regular CLK Buffer
10-9 0 10 20 30 40
2
50
60
B
A
S
ANQ
Y
Y A
A B C Y
B
C
BFB B
Y
BNQ
S
Y B
A B C
A B C Y
A Y
CFB B A CNQ
Y S A Y C A Y
A B C
A B Y
Worst-case Military Conditions, VCCA=2.3, VCCI=3.0V, TJ=125C -1 Speed Grade Min Max Units tRCO Sequential Clock-to-Q 1.0 ns tCLR Asynchronous Clear-to-Q 0.9 ns tPRESET Asynchronous Preset-to-Q 1.0 ns tSUD Flip-Flop Data Input Set-Up 0.6 ns tHD Flip-Flop Data Input Hold 0.0 ns tWASYN Asynchronous Pulse Width 1.8 ns
Metastability - Introduction
Can occur if the setup, hold time, or clock pulse width of a flip-flop is not met. A problem for asynchronous systems or events. Can be a problem in synchronous systems. Three possible symptoms: Increased CLK -> Q delay. Output a non-logic level Output switching and then returning to its original state. Theoretically, the amount of time a device stays in the metastable state may be infinite. Many designers are not aware of metastability.
Metastability
In practical circuits, there is sufficient noise to move the device output of the metastable state and into one of the two legal ones. This time can not be bound. It is statistical. Factors that affect a flip-flop's metastable "performance" include the circuit design and the process the device is fabricated on. The resolution time is not linear with increased circuit time and the MTBF is an exponential function of the available slack time.
Metastability - Calculation
MTBF = eK2*t / ( K1 x FCLK x FDATA)
t is the slack time available for settling K1 and K2 are constants that are characteristic of the flip-flop Fclock and Fdata are the frequency of the synchronizing clock and asynchronous data.
Software is available to automate the calculations with built-in tables of parameters. Not all manufacturers provide data.
10 5 0 -5 -10 -15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
DFC1B
EVENT
CLK CLR
SYSRESET
B AND 2A Y A
SYSCLK
D Metastable Q
Correct Output
Parallel Registers
DATA [ 3 : 0 ]
DF1 CLK
Q[3:0]
CLOCK
DF1 CLK
D DF1 CLK
D
DF1 CLK
DATA [ 3 : 0 ]
DF1 CLK
Q[3:0]
CLOCK
DF1 CLK
D DF1 CLK
D
DF1 CLK
Q D CLK
Register 1
Memory Devices
Semiconductor Memory
Address inputs
D1
D2
Word 2 BC Word3 BC BC BC BC BC
OR plane
Data outputs
A0 - A4
A12 - A14 CE OE VPP*
Control Logic
I/O Buffers
DQ0 - 7
W28C64 EEPROM
Simplified Block Diagram
Row Address Latches Column Address Latches Row Address Decoder Column Address Decoder 64 Byte Page Buffer E2 Memory Array A6-12
A0-5
CE* WE*
Timer
OE*
Control Latch
PE
RSTB
CLK
VW
I/O0-7