1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.

Slides:



Advertisements
Similar presentations
Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
Advertisements

COE 202: Digital Logic Design Sequential Circuits Part 1 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
Chapter 6 -- Introduction to Sequential Devices
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
Classification of Digital Circuits  Combinational. Output depends only on current input values.  Sequential. Output depends on current input values and.
Digital Logic Chapter 5 Presented by Prof Tim Johnson
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Module 12.  In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the.
1 Sequential Circuits –Digital circuits that use memory elements as part of their operation –Characterized by feedback path –Outputs depend not only on.
Circuits require memory to store intermediate data
EET 1131 Unit 10 Flip-Flops and Registers
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits – I Flip-Flops A sequential circuit is a logic components whose outputs.
ECE 3130 – Digital Electronics and Design Lab 5 Latches and Flip-Flops Fall 2012 Allan Guan.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
Sequential Logic Flip-Flops and Related Devices Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty.
EECC341 - Shaaban #1 Lec # 13 Winter Sequential Logic Circuits Unlike combinational logic circuits, the output of sequential logic circuits.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Digital Logic Design CHAPTER 5 Sequential Logic. 2 Sequential Circuits Combinational circuits – The outputs are entirely dependent on the current inputs.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
Objectives: Given input logice levels, state the output of an RS NAND and RS NOR. Given a clock signal, determine the PGT and NGT. Define “Edge Triggered”
Digital Computer Design Fundamental
1 Sequential Circuit Latch & Flip-flop. 2 Contents Introduction Memory Element Latch  SR latch  D latch Flip-flop  SR flip-flop  D flip-flop  JK.
COE 202: Digital Logic Design Sequential Circuits Part 1
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Synchronous Sequential Logic Chapter 5. Digital Circuits Sequential Circuits Combinational circuits contains no memory elements the outputs depends.
Chap 4. Sequential Circuits
Sequential Circuits. Two primary differences between combinational circuits and sequential circuits –Sequential circuits are synchronous (use a clock)
Unit 11 Latches and Flip-Flops Fundamentals of Logic Design By Roth and Kinney.
FLIP FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Introduction to Sequential Logic
Sequential logic circuits
Sequential logic circuits
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
EKT 121 / 4 ELEKTRONIK DIGIT I
Latches and Flip-Flops
Sahar Mosleh PageCalifornia State University San Marcos 1 More on Flip Flop State Table and State Diagram.
Sequential Circuit Latch & Flip-flop. Contents Introduction Memory Element Latch  SR latch  D latch Flip-flop  SR flip-flop  D flip-flop  JK flip-flop.
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
Chapter5: Synchronous Sequential Logic – Part 1
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
 Flip-flops are digital logic circuits that can be in one of two states.  Flip-flops maintain their state indefinitely until an input pulse called a.
A latch is a temporary storage device that has two stable states (bistable). It is a basic form of memory. The S-R (Set-Reset) latch is the most basic.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Flip Flops Engr. Micaela Renee Bernardo. A latch is a temporary storage device that has two stable states (bistable). It is a basic form of memory. Latches.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
Dept. of Electrical Engineering
7. Latches and Flip-Flops Digital Computer Logic.
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
LATCHED, FLIP-FLOPS,AND TIMERS
FIGURE 5.1 Block diagram of sequential circuit
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Flip Flop.
ECE Digital logic Lecture 16: Synchronous Sequential Logic
LECTURE 15 – DIGITAL ELECTRONICS
FLIP-FLOPS.
Synchronous sequential
Synchronous Sequential
Flip-Flops.
Chapter 5 Sequential Circuits.
Sequential Digital Circuits
Presentation transcript:

1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic circuits Chapters 1 – 4 dealt with combinational logic circuits Circuits of this type have outputs that are functions of the inputs (illustrated below) The order in which the inputs are applied is not important. Reading Assignment: Chapter 5 in Digital Design, 3 rd Edition by Mano

2 Lecture #11 EGR 277 – Digital Logic 2.Sequential logic circuits Chapters 5-6 deal with sequential logic circuits Circuits of this type have outputs that are functions of both inputs and previous outputs (illustrated below) Sequential circuits contain some type of memory elements. As an example, a counter must “remember” that its previous output was 6 in order to produce its new output 7. Combinational logic circuits have no capability for memory. Sequential logic circuits typically also include some combinational logic components. Combinational Logic Inputs Outputs = f(inputs + past outputs) Memory Sequential Logic Circuit

3 Lecture #11 EGR 277 – Digital Logic There are two main types of sequential circuits: 1)Synchronous Sequential Circuits (also called Clock Sequential Circuits) –All signals are synchronized to some “master clock” –The memory devices respond only when activated by the master clock –The most common memory device: the flip-flop –This course will primarily focus on this type of sequential circuit –Circuits can be designed using systematic methods such as the excitation table method and the state equation method 2)Asynchronous Sequential Circuits –Outputs depend solely on the order in which the inputs change, so timing is critical. –Based on time-delay devices –The design methods used for synchronous sequential circuits do not apply to asynchronous circuits. As a result, design is difficult and not well defined.

4 Lecture #11 EGR 277 – Digital Logic Flip-flops and latches Binary memory cell capable of storing 1 bit or information (either stores a 0 or a 1) Have two outputs, Q and Q’ Q = binary state = present state = value stored Maintain the present state Q indefinitely until inputs instruct it to change Flip-flops and latches behave as described above but have one key difference: –A latch can change states whenever the input signals change –A flip-flop has a clocked input and can only change at certain times specified by the type of clocking. So a flip-flop could be called a clocked latch. See below. S R Q Q’ SR Latch S R Q Q’ SR Flip-Flop Clock input

5 Lecture #11 EGR 277 – Digital Logic Basic RS (or SR) Latch Operation A simple SR latch can be constructed using either two NAND gates or two NOR gates with feedback connections. The NOR circuit is shown below. Determine the truth table for the RS latch shown.

6 Lecture #11 EGR 277 – Digital Logic Discuss the operation of the simple clocked RS latch shown below. Q Q R S Clock A simple clocked RS latch

7 Lecture #11 EGR 277 – Digital Logic Flip – flops - There are 4 primary types of flip-flops: SR flip-flop D flip-flop JK flip-flop T flip-flop For each type, show the truth table and symbol. Show how to create a D flip-flop from an SR flip-flop or a JK flip-flop. Show how to create a T flip-flop from a JK flip-flop.

8 Lecture #11 EGR 277 – Digital Logic Triggering of flip-flops A trigger is a momentary change in the input clock signal which allows for a possible change in the state of the flip-flop. Flip-flops are typically triggered by pulse transitions, using either the rising (positive) edge or the falling (negative) edge of the clock waveform (see below).

9 Lecture #11 EGR 277 – Digital Logic There are 3 common types of triggering: 1.Positive-edge triggering – the flip-flop output can only change on the positive edges of the clock 2.Negative-edge triggering – the flip-flop output can only change on the negative edges of the clock 3.Master-slave (or pulse triggered) – the flip-flop “reads” the input values on the positive edge of the clock, but does not allow the output to respond until the negative edges of the clock Different symbols are sometimes used for each type of triggering (not universally recognized) as shown: J K Q Q Positive-edge triggered- Clock JK Flip-flop J K Q Q Negative-edge triggered Clock JK Flip-flop J K Q Q Master-slave Clock JK Flip-flop C

10 Lecture #11 EGR 277 – Digital Logic 3.Master-slave (or pulse triggered) – the flip-flop “reads” the input values on the positive edge of the clock, but does not allow the output to respond until the negative edges of the clock Show how to create a Master-slave JK flip-flop using two positive-edge triggered JK flip-flops. Discuss the “Data Lockout” feature sometimes available with master-slave flip- flops.

11 Lecture #11 EGR 277 – Digital Logic Example: Given J, K, and Clock input waveforms, sketch the output Q for a JK flip- flop if each flip-flop is initially an the type of triggering is: a)positive-edge triggering (labeled as Q1) b)negative-edge triggering (labeled as Q2) c)master-slave triggering (labeled as Q3)

12 Lecture #11 EGR 277 – Digital Logic Asynchronous (Direct) Inputs Two inputs are commonly available that can be used to initialize a flip-flop independently of the clock: PRESET – used to initialize the flip-flop to Q = 1 CLEAR – used to initialize the flip-flop to Q = 0 Sketch a JK flip-flop with active-LOW inputs for PRESET and CLEAR.

13 Lecture #11 EGR 277 – Digital Logic Example: Given J, K, PRESET, CLEAR and Clock input waveforms for a negative- edge triggered JK flip-flop, sketch Q. Assume that PRESET and CLEAR are active- LOW inputs.

14 Lecture #11 EGR 277 – Digital Logic Commercially available flip-flop IC’s. A few are listed below and ORCAD 9.2 symbols are shown below also Dual JK Master-Slave Flip-flop with CLEAR 7473A Dual JK Negative-Edge Triggered Flip-flop with CLEAR 7474 Dual D Positive-Edge Triggered Flip-flop with PRESET and CLEAR 7476B Dual JK Master-Slave Flip-flop with PRESET and CLEAR Dual D Positive-Edge Triggered Flip-flop with PRESET and CLEAR Dual JK Master-Slave Flip-flop with PRESET and CLEAR (with Data Lockout) Quadruple S’-R’ Latch