Professional Documents
Culture Documents
SEQUENTIAL CIRCUIT
Called a circuit with memory.
The output signals depend not only on the current
inputs, but also the past sequence of input variables.
Two types of sequential circuits:
• Synchronous sequential circuits
• Asynchronous sequential circuits
1
I) SYNCHRONOUS SEQUENTIAL CIRCUIT
• That is, the changes in the output occur in synchronization with the
clock.
TERMINOLOGY
Bistable Having two stable states. Flip-flop and latches are bistable
multivibrators.
2
Multivibrators
Asynchronous synchronous
S-R
Latch Flip-Flop
D
Gated Gated
S-R J-K
S-R D 5
LATCHES (SELAK)
The latch is a type of temporary storage device that has two
stable states (bistable).
3
Asynchronous
Latch
Gated Gated
S-R
S-R D
4
The S-R Latch
To explain the operation of the latch, we will use the OR gates with
negative/low inputs.
The latch is redrawn with the negative-OR equivalent symbols used for
NAND gates.
Negative-OR equivalent of
the NAND gate S R latch.
We can replace the S and R with the less confusing A and B respectively.
5
The S-R Latch
Summary:
If Q=1, Q’=0, A=1 changing B from 1 to 0 RESETs Q to 0, Q’
to 1
11
Summary:
IF Q=0, Q’=1, B=1; A change from 1 to 0 SET Q to 1 and Q’ to 0.
12
6
The S-R Latch
Summary:
The case of A=B=0 is to be avoided.
13
Logic symbols for both the active-HIGH input and the active-LOW input latches
are shown in figure below:
14
7
The S-R Latch -- EXAMPLE
15
8
The Gated S-R Latch
• A gated latch requires an enable input, EN.
• When EN input = HIGH ==> the S and R inputs control the state to
which the latch will go.
• The latch will not change until EN is HIGH.
• As long as EN remains HIGH, the output is controlled by the state of
the S and R inputs.
• The invalid state occurs when both S and R are simultaneously HIGH.
17
S R Q Q’ Status
0 0 NC NC Remain
0 1 0 1 Reset
1 0 1 0 Set
1 1 1 1 Invalid
18
9
Example (Gated S-R Latch)
19
20
10
21
22
11
synchronous
S-R
Flip-Flop
D
J-K
23
Leading (positive)
edge Diable
24
Clock Pulse
12
Edge-Triggered Flip-flops
• The most important memory element is the flip-flop., which is made up
of an assembly of logic gates.
Normal output
Q
1. Q =1, Q’=0 called HIGH state
. or SET state.
Inputs .
.
.
Inverted output
2. Q =0, Q’=1 called LOW state
or RESET state.
25
26
13
What happen to the output
of gated SR at this point if CLK is the input
to the enable port? Get the difference
Enable & CLK
27
1 – Set
0 - Reset
28
14
Example:
Given the waveforms in figure (a) below for the D input and the
clock, determine the Q output waveform if the flip-flop starts out
RESET.
29
• As can be seen the only changes in the JK flip-flop from the SR flip-flop
are the additional feedback lines from the outputs to the opposite
steering gates.
30
15
The Edge-Triggered J-K Flip-Flop
31
Example
32
16
Asynchronous Inputs
• Operate independently of the synchronous inputs and clock input
• Can be used to set the flip-flop to the 1 state or clear the flip-flop to 0
state at any time, regardless of the conditions at the other inputs.
33
Logic symbol for a JK flip-flop with Logic diagram for a basic JK flip-flop
active LOW preset and clear inputs with active LOW preset and clear
inputs. 34
17
Example:
Flip-flop 7476
35
Flip-flop 7474
36
18
Flip-flop Timing Considerations (Pg. 390-393)
37
38
19
3. Propagation Delays
- is the interval of time required after an input signal has been
applied for the resulting output change to occur.
- 4 categories of propagation delay are important in the operation of
a FF.
40
20
4. Maximum Clocking Frequency, fMax
- is the highest frequency that may be applied to the CLK input of
a FF.
- or is the highest rate at which FF can be reliably triggered.
- at clock frequencies above the maximum, the FF would be
unable to respond quickly enough, and the operation would be
impaired.
- eg: For 7470 J-K flip-flop IC, its f MAX fall in the range 20 to 35
MHz. So, he will specify the minimum f MAX as 20 MHz. This
means that; he cannot guarantee that the 7470 FF that you put in
your circuit will work above 20MHz. But, if you operate them
below 20MHz, however; he guarantees that they will all work.
41
6. Power Dissipation
- is the total power consumption of the device.
- Example:
If the FF operates on a +5V dc source and draws 5mA of current,
the power dissipation is:
P VCC 5mA 25mW
250mW
I 50mA
5V
42
21
Actual ICs
43
Flip-Flop Applications
1. Contact Bounce Elimination
22
- The normal position of switch is 1.
- This R input is LOW and latch is in RESET position.
- When switch is thrown to position 2, R goes HIGH due to
presence of pull up resistor to VCC and S goes to LOW on the
first contact.
- This SETs the latch.
- Any further voltage spikes on the S input do not affect the latch
and it remains SET.
- The Q output makes a clean transition from LOW to HIGH and
voltage spikes due to contact bounce are eliminated.
- A similar clean transition occurs when the switch is brought back
to position 1.
45
46
23
FF used in a basic
register for parallel
data storage
47
3. Frequency Division
- Divide (reduce) the frequency of a periodic waveform.
- When a pulse of waveform is applied to the clock input of a J-K
flip-flop that is connected to toggle (J=K=1), the output is a
square wave with one-half the frequency of the clock input.
- Thus, a single flip-flop can be applied as a divide-by-2 device, as
illustrated in figure below.
- This results in an output that changes at half the frequency of the
clock waveform.
48
24
• Further division of a clock
frequency can be achieved by
using the output of one FF as the
clock input to a second FF, as
shown in figure beside.
49
4. Counting
25
THE END
51
26