DIGITAL ELECTRONICS ТHEME 4: SEQUENTIAL LOGIC CIRCUITS. FLIP- FLOPS – ASYNCHRONOUS AND SYNCHRONOUS, R - S, D, T, J - K FLIP- FLOPS. The value of the outputs.

Slides:



Advertisements
Similar presentations
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
Advertisements

1 Fundamentals of Computer Science Sequential Circuits.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Digital Logic Chapter 5 Presented by Prof Tim Johnson
Sequential circuits The digital circuits considered thus far have been combinational, where the outputs are entirely dependent on the current inputs. Although.
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.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
So far, all of the logic circuits we have studied were basically based on the analysis and design of combinational digital circuits. The other major aspect.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Flip Flop
Chap 4. Sequential Circuits
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Introduction to Sequential Logic
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
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
Sahar Mosleh PageCalifornia State University San Marcos 1 More on Flip Flop State Table and State Diagram.
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.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
THEME 6: Frequency dividers. Digital counters with reduced counting modulus. Programmable digital counters. If the input pulses are more than K, the counter.
2018/5/2 EE 4271 VLSI Design, Fall 2016 Sequential Circuits.
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
LATCHED, FLIP-FLOPS,AND TIMERS
Chapter #6: Sequential Logic Design
Flip-Flops and Related Devices
Digital Fundamentals Floyd Chapter 7 Tenth Edition
Lecture 8 Dr. Nermi Hamza.
CSCE 211: Digital Logic Design
Learning Outcome By the end of this chapter, students are expected to refresh their knowledge on sequential logic related to HDL.
Flip Flops.
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
2018/8/29 EE 4271 VLSI Design, Fall 2013 Sequential Circuits.
Synchronous Sequential Circuits
Flip-Flop.
EKT 121 / 4 DIGITAL ELECTRONICS I
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
Sequential Logic and Flip Flops
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Flip Flop.
Sequential Circuit - Counter -
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Sequential Circuits: Flip-Flops
DIGITAL ELECTRONICS THEME 7: Register structures – with parallel input, with serial input. Shift registers – reversible, cycle. Register structures are.
Digital Logic Design Sequential Circuits (Chapter 6)
Sequential logic circuits
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
LECTURE 15 – DIGITAL ELECTRONICS
Chapter 7 Latches, Flip-Flops, and Timers
Sequential Logic and Flip Flops
Elec 2607 Digital Switching Circuits
触发器 Flip-Flops 刘鹏 浙江大学信息与电子工程学院 March 27, 2018
Synchronous Sequential Circuits
Instructor: Alexander Stoytchev
CSE 370 – Winter Sequential Logic - 1
Instructor: Alexander Stoytchev
EET107/3 DIGITAL ELECTRONICS 1
Reference: Chapter 5 Sequential Circuits Moris Mano 4th Ediditon
FLIP-FLOPS.
Synchronous sequential
Synchronous Sequential
Flip-Flops.
Sequential Circuits UNIT- IV
Lecture 14: State Tables, Diagrams, Latches, and Flip Flop
Chapter 5 Sequential Circuits.
SEQUENTIAL CIRCUITS __________________________________________________
2019/9/26 EE 4271 VLSI Design, Fall 2012 Sequential Circuits.
Presentation transcript:

DIGITAL ELECTRONICS ТHEME 4: SEQUENTIAL LOGIC CIRCUITS. FLIP- FLOPS – ASYNCHRONOUS AND SYNCHRONOUS, R - S, D, T, J - K FLIP- FLOPS. The value of the outputs of sequential logic devices (SLD) at a moment t depend on the values of the input variables at the same moment as well as the state of the device in the previous moment (t-1). That means that these devices have memory elements which memorize the inner state of the device. A sequential circuit can be treated as constructed of two parts – a combinational logic circuit (CLC) and a memory part as shown in figure. A SLC is completely defined if the following parameters are given: the set of input variables – Х; the set of output functions – Y; the set of inner states of the device – А; the function of the transitions – with generalized type: Аt+1=F(At, Xt); the function of the outputs – with generalized type: Yt= F1(At) или Yt= F2(At, Xt); The SLC are divided in two groups according to the function of the outputs: Moore automaton – the state of the outputs coincide with the inner state of the SLC; Mealy automaton. CLC MEMORY X Y A General structure of CLC.

DIGITAL ELECTRONICS The simplest SLC which are used for building more complex SLC are the flip-flops. They are SLC with two stable states – “1” and “0” – the flip-flop is the simplest memory cell with 1 bit volume. Every flip-flop has two outputs – a main (direct) output and a complementary (inverse) one. The value of the complementary output is inverse to the direct output. They are marked with Q andQ respectively. The flip-flops are divided in two groups according to the mode of operation: asynchronous (latch) – the input signal affects the flip-flop at the moment they are fed; synchronous flip –flop - the input signal affects the flip-flop only during the action of a special enabling signal called synchronizing (C - Clock) or (T) signal. The synchronous flip-flops can be divided in three groups: clock controlled flip-flops (gated latch) – the switching takes place during the enabling (clock) signal; edge switched flip-flops (dynamic flip-flop) – they switch during the edge of the clock signal (the transition from logic level “0” to “1“ is called leading (positive) transition (edge) () and transition from “1” to “0” is called trailing (negative) transition (edge) (); master-slave flip-flops in which an intermediate memorizing of the input signal is used.

DIGITAL ELECTRONICS Master-slave flip-flops are two stages flip-flops which work synchronously. During the active level of synchronizing signal the input stage accepts the input signals. At the same time the output stage is forbidden. When the synchronizing signal goes in passive level then the signals are transferred from input to the output stage. In functional aspect and according to the number of inputs the flip-flops are divided on: R-S, D, J-K, T. The R-S type flip-flop has two inputs. The S input sets the flip-flop in state “1” and the R input sets the flip-flop in state “0”. At least one of the inputs must be “0” for the correct function of the device. This is expressed by the logic function R.S = 0. The set R=S=1 is not allowed (forbidden) because the main logic of ordinary function of the flip-flop is disturbed. When the forbidden set is fed both outputs go in state “0”. Feeding allowed set R=S=’0’ immediately after that will cause signal racing and it will not be clear how the flip-flop will be set. There are equal probabilities the flip-flop to be set in “0” or in “1” state. An asynchronous flip-flop can be realized with two Logic gates NOR as shown on the left side of the figure below. For realization of the other types of flip-flops often is used a flip-flop with inverse inputs – the so called R -S flip-flop where the active level of the inputs is “0”. An asynchronous R -S flip-flop can be realized with NAND elements, as shown on the right side of the figure below.

DIGITAL ELECTRONICS The functional behavior of the R-S type flip-flop could be described by the Transition table or by the following analytical expression: R S Qt Qt+1 Qt+1 1 R S Q Asynchronous R-S and R-S flip-flops, realized with logic gates.

DIGITAL ELECTRONICS Clock controlled R-S flip-flop can be realized by adding two NAND gates to the inputs of R-S type flip-flop and then the R and S signals will be fed to the inputs only during the active level of the clock signal (С). The D – type flip-flop has only one input marked as D (from delay) and the output repeats the input signal with a delay of one cycle. It means that the level of the direct output Q at the moment of time (t+1) coincides with the level of input D at the moment (t). R S Q С D Q С Asynchronous and synchronous D-type flip-flops, realized with logic gates. Synchronous R-S flip-flop.

DIGITAL ELECTRONICS The functional behavior of the D- type flip-flop could be described by the Transition table or by the following analytical expression: D Qt Qt+1 Qt+1 1 The J-K– type flip-flop has two inputs. The input J is equivalent to the S input and the K input is equivalent to the R input of R-S flip-flop. The difference here is that all the sets of input signals are allowed. When J = K = 1 combination is fed to the inputs, the value of the output is changed – it acts as T – type flip-flop. The functional behavior of the J-K - type flip-flop could be described by the Transition table or by the following analytical expression: C J K Qt Qt+1 Qt+1  1

DIGITAL ELECTRONICS Synthesis of J-K -type from R-S –type flip-flops (the second is a master-slave structure). The T – type flip-flop has one input, marked as T. When a signal is fed to the input the value of the output is changed. Because of this the T-type flip-flop is used as a frequency divider – it divides the frequency of the input signal by 2. These flip-flops are used also for building binary counters. The functional behavior of the T - type flip-flop could be described by the Transition table or by the following analytical expression: Т Qt Qt+1 Qt+1 1

DIGITAL ELECTRONICS The T-type flip-flops are not produced as IC. Usually a D or a J-K flip-flop is used for realizing T – type flip-flop. A D –type flip-flop will work as a T-type flip-flop if the inverse outputQ is connected to the D input and the clock input ( C ) is used as a T input. To realize T-type flip-flop with J-K one it is necessary to feed “1” to both inputs (J and K) and again the clock input ( C ) is used as a T input. Synthesis of T – type from synchronous D – type or from J-K –types flip-flops. Using flip-flops it is very important to know their timing parameters. The main ones are illustrated by the following time-diagrams:

Main time-diagrams and timing parameters of the flip-flops. DIGITAL ELECTRONICS Main time-diagrams and timing parameters of the flip-flops. ts – set-up time. This is the time preceding the clock pulse, during which the inputs must be settled; th – hold time. This is the time succeeding the active edge of the clock pulse during which the input signals must stay unchanged; tQ – propagation delay time. This is the time passed after the active edge of the clock pulse till receiving the new valid signals on the outputs; tw – minimum pulse width; Fmax – maximum switching frequency for proper work of the flip-flop.