Lecture 10: Synchronous Sequential...
Transcript of Lecture 10: Synchronous Sequential...
![Page 1: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/1.jpg)
Lecture 10: Synchronous Sequential Logic
Syed M. Mahmud, Ph.DECE Department
Wayne State University
Original Source: Aby K George, ECE Department, Wayne State University
![Page 2: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/2.jpg)
Contents
• Introduction
• Sequential Circuits
• Storage Elements: Latches
• Storage Elements: Flip-Flops
• Analysis of Clocked Sequential Circuits
Chapter 5 ECE 2610 – Digital Logic 1 2
![Page 3: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/3.jpg)
Introduction
• Storing information
• Memory
• Operation and Control of these devices
• Their use in the circuits
Chapter 5 ECE 2610 – Digital Logic 1 3
![Page 4: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/4.jpg)
Sequential Circuits
• Combinational circuit with memory element in the feedback path.
• Storage elements can store binary information.
• A sequential circuit is specified by a time sequence of inputs, outputs, and internal states.
Chapter 5 ECE 2610 – Digital Logic 1 4
![Page 5: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/5.jpg)
Sequential Circuits
• Two types of sequential circuits• Synchronous
• Asynchronous
• Synchronous SC• The system behavior can be defined from the knowledge of its signals at
discrete instants of time.
• The synchronization can be achieved by clock generator
• Asynchronous SC• Depends upon the input signals at any instant of time and the order in which
the inputs change.
Chapter 5 ECE 2610 – Digital Logic 1 5
![Page 6: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/6.jpg)
Synchronous Clocked Sequential Circuits
Chapter 5 ECE 2610 – Digital Logic 1 6
![Page 7: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/7.jpg)
Storage Elements: Latches & Flip-flops
Chapter 5 ECE 2610 – Digital Logic 1 7
Latches Flip-flops
Operate with signal levels Operate with clock signal transition
Level-sensitive Edge-sensitive
Not used in synchronous operations
Widely used in synchronous operations
Latches are the basic circuits
Latches are the buildingblocks of flip-flops
![Page 8: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/8.jpg)
SR Latch
Chapter 5 ECE 2610 – Digital Logic 1 8
![Page 9: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/9.jpg)
Chapter 5 ECE 2610 – Digital Logic 1 9
![Page 10: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/10.jpg)
D Latch
Chapter 5 ECE 2610 – Digital Logic 1 10
Graphic Symbols for latches
![Page 11: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/11.jpg)
Triggering
• Control input that changes the state of latch or flip-flop
Chapter 5 ECE 2610 – Digital Logic 1 11
![Page 12: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/12.jpg)
Master Slave D Flip-flop (Positive edge triggered)• When clock changes to logic-0, External data input D is transferred to
the output of the master.
• When 𝑐𝑙𝑘 = 1, slave is enabled, and master is disabled. Hence, the output will be 𝑄 = 𝑃
Chapter 5 ECE 2610 – Digital Logic 1 12
![Page 13: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/13.jpg)
S-R Flip-flop
Chapter 5 ECE 2610 – Digital Logic 1 13
![Page 14: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/14.jpg)
J-K Flip-flop
Chapter 5 ECE 2610 – Digital Logic 1 14
![Page 15: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/15.jpg)
T- Flip-flop
Chapter 5 ECE 2610 – Digital Logic 1 15
![Page 16: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/16.jpg)
Summary
• What are the differences between latches and flip-flops
• How to design a S-R latch?
• How to design a D flip-flop?
• Define setup and hold time in a D flip-flop?
• What are the other flip-flops?
Chapter 5 ECE 2610 – Digital Logic 1 16
![Page 17: Lecture 10: Synchronous Sequential Logicece.eng.wayne.edu/~smahmud/ECECourses/ECE2610/LectureNotes/Le… · Lecture 10: Synchronous Sequential Logic ... •Their use in the circuits](https://reader035.fdocuments.net/reader035/viewer/2022081721/5ac4a1287f8b9a220b8cea28/html5/thumbnails/17.jpg)
Homework – 5 – Part a
• 5.2
• 5.4
Chapter 5 ECE 2610 – Digital Logic 1 17