lecture 10: synchronous sequential...

17
Lecture 10: Synchronous Sequential Logic Syed M. Mahmud, Ph.D ECE Department Wayne State University Original Source: Aby K George, ECE Department, Wayne State University

Upload: dohanh

Post on 04-Apr-2018

250 views

Category:

Documents


5 download

TRANSCRIPT

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Homework – 5 – Part a

• 5.2

• 5.4

Chapter 5 ECE 2610 – Digital Logic 1 17