digital electronics
DESCRIPTION
Digital Electronics. Lecture 7 Sequential Logic Circuit Design. Announcements. http://www.uobkupartnership.talktalk.net Books, CD Exam and further teaching of electronics Digital Systems, Principles and Applications, 10th Edition R.J Tocci, N. S. Windmer , G. L. Moss, 2007. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/1.jpg)
Digital Electronics
Lecture 7
Sequential Logic Circuit Design
![Page 2: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/2.jpg)
Announcementshttp://www.uobkupartnership.talktalk.netBooks, CDExam and further teaching of electronics Digital Systems, Principles and
Applications, 10th Edition R.J Tocci, N. S. Windmer, G. L. Moss, 2007. Kleitz, W., Digital Electronics, Pearson
Education Inc, 2005. Clements, A, Microproscessor System
Design, PWS-Kent publishing Copany, 1992.
![Page 3: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/3.jpg)
Lecture 6 outline
Review of last LectureSequential Logic CircuitsBasic LatchFlip-Flops
![Page 4: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/4.jpg)
Review of Last Lecture
Design procedure for combinational logic circuits.
AddersMultiplexerSimulation exercises using logic
converter
![Page 5: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/5.jpg)
Sequential Logic Circuits
Any sequential logic system can be broken down into two sections:
Memory part combinational part The combinational part will comprise the usual
AND, OR gates etc. The memory part is usually implemented with
bistable devices. Two basic types: latches and flip-flops.
![Page 6: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/6.jpg)
Sequential Logic Circuits Any sequential logic system
can be broken down into two sections:
Memory part combinational part The combinational part will
comprise the usual AND, OR gates etc.
The memory part is usually implemented with bistable devices.
Two basic types: latches and flip-flops.
COMBINATIONAL LOGIC
MEMORY
CLOCK
INPUTS OUTPUTS
![Page 7: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/7.jpg)
A latch changes state when the input states change. This property is known as transparency. Data is stored by the latch when an enable input (if provided) is valid.
A flip-flop however can only change state on the
application of a clock pulse. A purely sequential system is one in which the
output is determined by the order in which the input signals are applied.
Sequential circuits are classified as asynchronous (unclocked) or synchronous (clocked).
![Page 8: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/8.jpg)
The Basic Latch The basic latch has
two stable states that correspond to a logic 1 and logic 0. The output changes from one state to another depending on the inputs.
Consider the simple latch shown below.
Y
A
B
XTruth table as shown below:
A B X Y
0 0 1 10 1 1 01 0 0 11 1 X X
![Page 9: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/9.jpg)
This is the basis of the SR (or RS) latch , where A=R, B=S, X=Q and Y=/Q. The circuit symbol is shown below.
S
R
Q
Q
This is the basis of the SR (or RS) latch , where A=R, B=S, X=Q and Y=/Q. The circuit symbol is shown below.
![Page 10: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/10.jpg)
The Gated SR Latch A
B
X
Y
S
CLOCK
R
Q
Q
CLK
S
R
Q
Q
The function of the RS gated latch can be illustrated with a waveform diagram as shown below.
![Page 11: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/11.jpg)
The truth table is now:Symbol
The truth table is now:
R S Clk
Q /Q
X X 0 X X Same as A = B = 1
0 0 1 X X Same as A = B = 1
0 1 1 1 0
1 0 1 0 1
1 1 1 1 1 The function of the RS gated latch can be illustrated with a waveform diagram as shown below.
CK
S
R
Q
Q
![Page 12: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/12.jpg)
The JK Flip-Flop
The JK flip-flop is basically an SR gated latch with modifications to eliminate the problems of the final indeterminate state. When the two inputs J and K are both 1 then the output Q changes state. It is said to toggle under these conditions.
Circuit Symbol:
CK
Q
Q
J
K
![Page 13: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/13.jpg)
J K Qn+1
0 0 Qn
0 1 1
1 0 0
1 1 /Qn
![Page 14: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/14.jpg)
Truth tableQn Qn+1 J K
0 0 0 X
0 1 1 X
1 0 X 1
1 1 X 0
Truth table:
![Page 15: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/15.jpg)
Excitation table
Truth table:
Qn Qn+1 J K
0 0 0 X
0 1 1 X
1 0 X 1
1 1 X 0
![Page 16: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/16.jpg)
The D-Type Flip-Flop
The D (data) type flip-flop is basically a single-bit storage device. It can be constructed by connecting an inverter between the J and K inputs of a JK flip-flop as shown overleaf.
CK
Q
Q
J
K
D
CK
D Qn+1
0 01 1
![Page 17: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/17.jpg)
Data appearing on the data input D is simply clocked through to the output Q on the application of a clock pulse.
Symbol:
CK
Q
Q
D
![Page 18: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/18.jpg)
The T-Type Flip-Flop The T (toggle) type
flip-flop also has a single input. It too can be implemented using a JK flip-flop; the inputs are simply connected together as shown below
CK
Q
Q
J
KCK
T
T Qn+1
0 Qn
1 /Qn
![Page 19: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/19.jpg)
PR ESET and Clear inputs
Positive and negative edged triggered devices
CK
Q
Q
J
K
PR
CL
CK CK
![Page 20: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/20.jpg)
Main Points
Sequential Logic Circuits. Latch J-K flip-flop D – Type flip-flop T-type flip-flop Counters Shift register
![Page 21: Digital Electronics](https://reader036.vdocuments.net/reader036/viewer/2022081505/5681632d550346895dd3a78c/html5/thumbnails/21.jpg)
The End
Thank you for your attention.