Lecture 26
Lecture 26
OUTLINE OF CHAPTER 5
Design Procedure
SEQUENTIAL CIRCUITS
• Every digital system is likely to have combinational circuits.
Inputs Outputs
Combinational
Circuit
Memory
Elements
SEQUENTIAL CIRCUITS
• The storage elements are devices capable of storing binary
information.
• The binary information stored in these elements at any given
time defines the state of the sequential circuit at that time.
• The sequential circuit receives binary information from external
inputs.
• These inputs, together with the present state of the storage
elements, determine the binary value of the outputs.
SEQUENTIAL CIRCUITS
• They also determine the condition for changing the state in the
storage elements.
SEQUENTIAL CIRCUITS
• There are two main types of sequential circuits.
Synchronous Asynchronous
Sequential
Circuit
SEQUENTIAL CIRCUITS
• Asynchronous Sequential Circuit
Inputs Outputs
Combinational
Circuit
Memory
Elements
– The behaviour of the circuit depends upon the input signals at any
instant of time and the order in which the inputs change.
SEQUENTIAL CIRCUITS
• Asynchronous Sequential Circuit
– In gate – type asynchronous systems, the storage elements consist
of logic gates whose propagation delay provides the required
storage.
SEQUENTIAL CIRCUITS
• Synchronous Sequential Circuit
Inputs Outputs
Combinational
Circuit
Flip-flops
Clock
SEQUENTIAL CIRCUITS
• Synchronous Sequential Circuit
– Employs signals that affect the storage elements only at discrete
instants of time.
• Clock pulses are distributed throughout the system in such a way that
storage elements are affected only with the arrival of each pulse.
SEQUENTIAL CIRCUITS
• Synchronous Sequential Circuit
• In practice, the clock pulses are applied with other signals that specify
the required change in the storage elements.
– Circuits that use clock pulses in the inputs of storage elements are
called clocked sequential circuits.
– The storage elements used in clocked sequential circuits are called
flip – flops.
– A flip – flop is a binary storage device capable of storing one bit of
information.
L ATC H E S
• Latches are the basic circuits from which all flip – flops are
constructed.
L ATC H E S
• SR Latch
S R Q Q’
1 0 1 0 Set State
Reset (R) 1
0 0
1
Q Hold
0 0 1 0 State
0 1 Reset
0 1
State
Set (S) 1 Q 0 0 0 1
Hold
0 0 State
Invalid
1 1 0 0
State
L ATC H E S
• SR Latch
S R Q
R Q 0 0 Q0 No change
0 1 0 Reset
1 0 1 Set
S Q 1 1 Q=Q’=0 Invalid
S Q S R Q
0 0 Q=Q’=1 Invalid
0 1 1 Set
R Q 1 0 0 Reset
1 1 Q0 No change
23 December, 2016 INTRODUCTION TO LOGIC DESIGN
17
L ATC H E S
• SR Latch with Control Input
R R S S
Q Q
C C
R Q
S Q R
S
C S R Q
0 X X HOLD No change
1 0 0 HOLD No change
1 0 1 Q=0 Reset
1 1 0 Q=1 Set
1 1 1 Q = Q’ Invalid
L ATC H E S
• D Latch (D = Data)
– One way to eliminate the undesirable condition of the indeterminate
state in the SR latch is to ensure that inputs S and R are never equal
to 1 at the same time.
• C (control)
L ATC H E S
Timing Diagram
• D Latch (D = Data)
D S C
Q
C D
R Q
Q
C D Q t
0 X HOLD No change
1 0 Q=0 Reset Output may
1 1 Q=1 Set change
L ATC H E S
Timing Diagram
• D Latch (D = Data)
D S C
Q
C D
R Q
Q
C D Q
0 X HOLD No change
Output may
1 0 Q=0 Reset
change
1 1 Q=1 Set
L ATC H E S
• D Latch (D = Data)
– The D latch has an ability to hold data in its internal storage.