Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ELEC 4200
S Q S R Q+ Q+ Function
0 0 Q Q Storage State
0 1 0 1 Reset
Q 1 0 1 0 Set
R
1 1 0-? 0-? Indeterminate
State
S Q S R Q+ Q+ Function
0 0 1-? 1-? Indeterminate
State
0 1 1 0 Set
Q
R 1 0 0 1 Reset
1 1 Q Q Storage State
S E S R Q+ Q+ Function
Q 0 x x Q Q Storage State
E 1 0 0 Q Q Storage State
1 0 1 0 1 Reset
Q
1 1 0 1 0 Set
R
1 1 1 0-? 0-? Indeterminate
State
E S R Q+ Q+ Function
S
Q 0 0 0 1-? 1-? Indeterminate
State
0 0 1 1 0 Set
E
0 1 0 0 1 Reset
Q 0 1 1 Storage State
Q Q
R 1 x x Storage State
Q Q
Transparent D Latch
Asynchronous
Level sensitive
cross-coupled Nor gates
active high enable (E)
D
Q
E D Q+ Function
E 0 x Storage State
Q
Q 1 0 0 Transparent Mode
1 1 1 Transparent Mode
D
Q
E D Q+ Function
E 1 x Storage State
Q
Q 0 0 0 Transparent Mode
0 1 1 Transparent Mode
D Flip-Flop
Synchronous (also know as Master-Slave FF)
Edge Triggered (data moves on clock transition)
one latch transparent - the other in storage
active low latch followed by active high latch
positive edge triggered (rising edge of CK)
D
Q
CK
CK
Timing Considerations
Set-up time (tsu)= minimum time input data
must be valid before active edge of clock
D
tsu th
CK
tco
Q
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
BAD Design
D Q 0 Q
D
1
CEN CEN
Q Q
CK CK
BAD Design GOOD Design
Active high clock enable (CEN)