Académique Documents
Professionnel Documents
Culture Documents
Tutorial Note 7
Outline
1. Sequential Circuit
2. Gated SR Latch
3. Gated D-latch
4. Edge-Triggered D Flip-Flop
5. Asynchronous and Synchronous reset
Sequential Circuit
The sequential circuits: circuits whose output depends upon both the input of
the circuit and its previous state. In other words, they are circuits that have
memory.
For a device to serve as a memory, it must have three characteristics:
1. the device must have two stable states.
2. there must be a way to read the state of the device.
3. there must be a way to set the state at least once.
One can remove the input that caused a particular
output and the output will be unchanged!
Gated SR Latch
CLK
Q(t+1)
Q(t)(Retain)
Q(t)(Retain)
Gated SR Latch
1.
2.
3.
4.
Gated D-Latch
CLK
Q(t+1)
Q(t)
(a).Propagation Delay
Typical values for CMOS technology:
tsu = tsetup = 3 ns
th = thold = 2 ns
The addition transistor in CMOS(in contrast to other forms of MOS logic, has both
NMOS and PMOS) not only increases the chip area but also increases the total
effective capacitance per gate and in turn increases the propagation delay
The flip-flop is a leading edge triggered D-type. Data on the input signal D is clocked into the flip-flop on the leading edge of the
clock signal. This data then appears on the output terminal Q of the flip-flop.
In order to ensure correct operation of the flip-flop, the input data Din must be stable and valid for a duration t setup, before the
clock signal reaches the input voltage threshold of the flip-flop. It must then remain at this value for a duration thold, after the clock
signal has reached input threshold voltage. After the time thold has elapsed the input data Din can be changed without changing
the state of the flip-flop.
Master-Slave D flip-flop
Edge-Triggered D Flip-Flop
P1 = P2 = 1
P3=D, P4=D
P1=D
Q=D
P2=D
Q=D
Clock = 1
Master
Slave
Pres
Clear
(----)
Q(retain)
0,1,
Asynchronous
clear!
T(Toggle) flip-flop
Q(t+1)
Q(t)
Q(t)
(c) Truth Table
No Change to Output
T flip-flop Exercise 1
Exercise1:
How can I decrease the frequency of the clock signal to 1/8 of its original
by using 3 T flip-flop? (Consider initial Q = 1)
Character of T Flip-flop
1 CLK
CLK
CLK
1 CLK
1/8 CLK
1/4 CLK
1/2 CLK
JK flip-flop
Q(t+1)
Q(t)
Q(t)
Characteristic Equation
Specify next state as a function of its current state and inputs
Q(t) current state
Q(t+1) next state
For example:
SR latch: Q(t+1) = S + RQ(t)
D flip-flop: Q(t+1) = D
JK flip-flop: Q(t+1) = JQ(t)+KQ(t)
T flip-flop: Q(t+1) = TQ(t)= TQ(t)+TQ(t)