Professional Documents
Culture Documents
ELEC 4200
Q
R
Q+
Q+
Function
0
1
0
1
Q
1
0
0-?
Storage State
0
1
1
Q
0
1
0-?
Reset
Set
Indeterminate
State
Q
R
Q+
Q+
Function
1-?
1-?
0
1
1
1
0
1
1
0
0
1
Indeterminate
State
Set
Reset
Storage State
Anatomy of a Flip-Flop
ELEC 4200
S
Q
E
Q
R
Q+
Q+
Function
Storage State
0
1
1
1
0
1
Q
1
0
0-?
Storage State
1
1
1
Q
0
1
0-?
Reset
Set
Indeterminate
State
Q+
Q+
Function
1-?
1-?
0
1
1
1
0
1
1
0
0
1
0
0
0
Indeterminate
State
Set
Storage State
Storage State
Reset
Anatomy of a Flip-Flop
ELEC 4200
Transparent D Latch
Asynchronous
Level sensitive
cross-coupled Nor gates
active high enable (E)
D
Q
E
Q
E D
0
1
1
0
1
Q+
Function
Q
0
1
Storage State
Transparent Mode
Q+
Function
Q
0
1
Storage State
Transparent Mode
E D
E
Q
0
0
0
1
Transparent Mode
Transparent Mode
Anatomy of a Flip-Flop
ELEC 4200
D Flip-Flop
Synchronous (also know as Master-Slave FF)
Edge Triggered (data moves on clock transition)
one latch transparent - the other in storage
Master Section
active low latch
Slave Section
active high latch
Master Section
active high latch
Slave Section
active low latch
Anatomy of a Flip-Flop
ELEC 4200
Timing Considerations
Set-up time (tsu)= minimum time input data
must be valid before active edge of clock
Hold time (th)= minimum time input data must
be held valid after active edge of clock
Clock-to-output delay (tco)= maximum time
before output data is valid with respect to
active edge of clock
D
tsu th
CK
tco
Q
Set-up or Hold Time violation => metastability
(Q & Q go to intermediate voltage values which
are eventually resolved to an unknown state)
Anatomy of a Flip-Flop
ELEC 4200
Timing Considerations
To verify that a sequential logic circuit will
work at the specified clock frequency, fclk,
we must consider the clock period, Tp, the
propagation delay, Pdel, of the worst case
path through the combinational logic, as
well as tsu and tco of the flip-flops such
that the following relationship holds:
For paths from flip-flop outputs to flip-flop
inputs:
1 f clk = T p P del + t co + t su
Anatomy of a Flip-Flop
ELEC 4200
D active Q
low
latch
Q
E
D active Q
low
latch
Q
E
Q
Q
BAD Design
CEN
CEN
CK
CK
GOOD Design
BAD Design
Q
Q