LC Alc Lesson6cfc
LC Alc Lesson6cfc
Introduction:
The combinational circuit does not use any memory. Hence, the previous state of input
does not have any effect on the present state of the circuit. But Sequential Circuit has memory
so output can vary based on input. This type of circuits uses previous input, output, clock and a
memory element.
Learning Objective/s:
Course Materials:
Sequential Circuit
Block diagram
Flip Flop
Flip flop is a sequential circuit which generally samples its inputs and changes its outputs only
at particular instants of time and not continuously. Flip flop is said to be edge sensitive or edge
triggered rather than being level triggered like latches.
1
• S-R Flip Flop
It is basically S-R latch using NAND gates with an additional enable input. It is also called as
level triggered SR-FF. For this, circuit in output will take place if and only if the enable input (E) is
made active. In short this circuit will operate as an S-R latch if E = 1 but there is no change in the
output if E = 0.
Block Diagram
Circuit Diagram
Truth Table
2
Operation
Master slave JK FF is a cascade of two S-R FF with feedback from the output of second to
input of first. Master is a positive level triggered. But due to the presence of the inverter in the
clock line, the slave will respond to the negative level. Hence when the clock = 1 (positive level)
the master is active and the slave is inactive. Whereas when clock = 0 (low level) the slave is
active and master is inactive.
Circuit Diagram
3
Truth Table
Operation
1 J = K = 0 (No change) When clock = 0, the slave becomes active and master is inactive. But
since the S and R inputs have not changed, the slave outputs will also
remain unchanged. Therefore outputs will not change if J = K =0.
2 J = 0 and K = 1 (Reset) Clock = 1 − Master active, slave inactive. Therefore outputs of the master
become Q1 = 0 and Q1 bar = 1. That means S = 0 and R =1.
Clock = 0 − Slave active, master inactive. Therefore outputs of the slave
become Q = 0 and Q bar = 1.
Again clock = 1 − Master active, slave inactive. Therefore even with the
changed outputs Q = 0 and Q bar = 1 fed back to master, its output will
be Q1 = 0 and Q1 bar = 1. That means S = 0 and R = 1.
Hence with clock = 0 and slave becoming active the outputs of slave will
remain Q = 0 and Q bar = 1. Thus we get a stable output from the Master
slave.
3 J = 1 and K = 0 (Set) Clock = 1 − Master active, slave inactive. Therefore outputs of the master
become Q1 = 1 and Q1 bar = 0. That means S = 1 and R =0.
Clock = 0 − Slave active, master inactive. Therefore outputs of the slave
become Q = 1 and Q bar = 0.
Again clock = 1 − then it can be shown that the outputs of the slave are
stabilized to Q = 1 and Q bar = 0.
4 J = K = 1 (Toggle) Clock = 1 − Master active, slave inactive. Outputs of master will toggle.
So S and R also will be inverted.
Clock = 0 − Slave active, master inactive. Outputs of slave will toggle.
These changed output are returned back to the master inputs. But since
clock = 0, the master is still inactive. So it does not respond to these
changed outputs. This avoids the multiple toggling which leads to the race
around condition. The master slave flip flop will avoid the race around
condition.
4
• Delay Flip Flop / D Flip Flop
Delay Flip Flop or D Flip Flop is the simple gated S-R latch with a NAND inverter connected
between S and R inputs. It has only one input. The input data is appearing at the output after
some time. Due to this data delay between i/p and o/p, it is called delay flip flop. S and R will be
the complements of each other due to NAND inverter. Hence S = R = 0 or S = R = 1, these input
condition will never appear. This problem is avoid by SR = 00 and SR = 1 conditions.
Block Diagram
Circuit Diagram
Truth Table
Operation
S.N. Condition Operation
5
3 E = 1 and D = 1 If E = 1 and D = 1, then S = 1 and R = 0. This will set the latch and Q n+1 = 1 and
Qn+1 bar = 0 irrespective of the present state.
Toggle flip flop is basically a JK flip flop with J and K terminals permanently connected
together. It has only input denoted by T as shown in the Symbol Diagram. The symbol for positive
edge triggered T flip flop is shown in the Block Diagram.
Symbol Diagram
Block Diagram
Truth Table
Operation
6
Read:
• Chapter 5 – Tocci, Ronald et. al., 10th Edition. Digital Systems: Principles and
Applications.
Activities/Assessments:
1. Example 3-2, page 61 - Tocci, Ronald et. al., 10th Edition. Digital Systems:
Principles and Applications.
2. Example 3-3A, page 61 - Tocci, Ronald et. al., 10th Edition. Digital Systems:
Principles and Applications.
3. Example 3-4, page 64 - Tocci, Ronald et. al., 10th Edition. Digital Systems:
Principles and Applications.
4. Example 3-5A, page 64 - Tocci, Ronald et. al., 10th Edition. Digital Systems:
Principles and Applications.
5. Figure 3-11, page 65 - Tocci, Ronald et. al., 10th Edition. Digital Systems:
Principles and Applications.
6. Example 3-8, page 74 - Tocci, Ronald et. al., 10th Edition. Digital Systems:
Principles and Applications.
6. Example 3-10, page 75 - Tocci, Ronald et. al., 10th Edition. Digital Systems:
Principles and Applications.
7. Example 4-16, pages 147-148 - Tocci, Ronald et. al., 10th Edition. Digital
Systems: Principles and Applications.
8. Example 5-1, pages 214-215 - Tocci, Ronald et. al., 10th Edition. Digital
Systems: Principles and Applications.
9. Example 5-2, pages 215-216 - Tocci, Ronald et. al., 10th Edition. Digital
Systems: Principles and Applications.
10. Example 5-3, page 217 - Tocci, Ronald et. al., 10th Edition. Digital
Systems: Principles and Applications.
11. Figure 5-19, pages 224-226 - Tocci, Ronald et. al., 10th Edition. Digital
Systems: Principles and Applications.
12. Figure 5-23, page 228 - Tocci, Ronald et. al., 10th Edition. Digital
Systems: Principles and Applications.
13. Figure 5-26, page 230 - Tocci, Ronald et. al., 10th Edition. Digital
Systems: Principles and Applications.
14. Figure 5-29, page 232 - Tocci, Ronald et. al., 10th Edition. Digital
Systems: Principles and Applications.
15. Example 5-8, page 233 - Tocci, Ronald et. al., 10th Edition. Digital
Systems: Principles and Applications.
16. Figure 5-31, page 234 - Tocci, Ronald et. al., 10th Edition. Digital
Systems: Principles and Applications.
17. Example 5-9, pages 235-236 - Tocci, Ronald et. al., 10th Edition. Digital
Systems: Principles and Applications.
18. Example 5-11, page 242 - Tocci, Ronald et. al., 10th Edition. Digital
Systems: Principles and Applications.
7
References:
Tocci, Ronald et. al., 10 th Edition. Digital Systems: Principles and Applications.
https://doc.lagout.org/electronics/Digital%20Systems%20Principles%20And%20Applications%2
0%20%5Bby%20Ronald%20Tocci%5D.pdf
https://www.academia.edu/35431250/Digital_Logic_And_Computer_Design_By_M._Morris_Ma
no_2nd_Edition_.pdf
https://www.pearsonhighered.com/assets/samplechapter/0/1/3/4/0134220137.pdf
https://www.allaboutcircuits.com/textbook/digital/chpt-8/karnaugh-maps-truth-tables-boolean-
expressions/
https://www.electronics-tutorials.ws/combination/comb_1.html
https://www.tutorialspoint.com/computer_logical_organization/combinational_circuits.htm
https://www.electronics-tutorials.ws/logic/logic_5.html
https://pdfslide.net/download/link/digital-systems-principles-and-applications-10e-by-ronald-j-
tocci
Christopher F. Cunanan
Faculty