ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.

Slides:



Advertisements
Similar presentations
Synchronous Counters with SSI Gates
Advertisements

Registers and Counters. Register Register is built with gates, but has memory. The only type of flip-flop required in this class – the D flip-flop – Has.
Sequential Digital Circuits Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
Give qualifications of instructors: DAP
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 10.1 Sequential Logic  Introduction  Bistables  Memory Registers  Shift.
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 Logic Latches and Flip-Flops. Sequential Logic Circuits The output of sequential logic circuits depends on the past history of the state of.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Multiplexors Sequential Circuits and Finite State Machines Prof. Sin-Min Lee Department of Computer Science.
Sequential circuits The digital circuits considered thus far have been combinational, where the outputs are entirely dependent on the current inputs. Although.
Sequential Logic Computer Organization Ellen Walker Hiram College Figures from Computer Organization and Design 3ed, D.A. Patterson & J.L. Hennessey, Morgan.
Dr. ClincyLecture1 Appendix A – Part 2: Logic Circuits Current State or output of the device is affected by the previous states Circuit Flip Flops New.
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits – I Flip-Flops A sequential circuit is a logic components whose outputs.
Digital Logic Design Brief introduction to Sequential Circuits and Latches.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
+ CS 325: CS Hardware and Software Organization and Architecture Sequential Circuits 1.
Sequential circuit Digital electronics is classified into combinational logic and sequential logic. In combinational circuit outpus depends only on present.
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
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.
Sequential Circuit Introduction to Counter
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
A presentation on Counters
Asynchronous Counter © 2014 Project Lead The Way, Inc.Digital Electronics.
Counter Section 6.3.
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
Test #2 Combinational Circuits – MUX Sequential Circuits – Latches – Flip-flops – Clocked Sequential Circuits – Registers/Shift Register – Counters – Memory.
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”
COE 202: Digital Logic Design Sequential Circuits Part 1
Flip Flop
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
FLIP FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
Sequential Logic Combinatorial components: the output values are computed only from their present input values. Sequential components: their output values.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
1 COMP541 Sequential Circuits Montek Singh Feb 1, 2012.
Introduction to Sequential Logic
Sequential logic circuits
Digital Electronics and Computer Interfacing Tim Mewes 3. Digital Electronics.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
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.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
Dept. of Electrical Engineering
7. Latches and Flip-Flops Digital Computer Logic.
Sequential Logic Circuit Design Eng.Maha Alqubali.
EEE 301 DIGITAL ELECTRONICS
Flip-Flop Flip-flops Objectives Upon completion of this chapter, you will be able to :  Construct and analyze the operation of a latch flip-flop made.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
CS1103 Arunima Shukla Asim Marchant Urja Kantharia Harsh kosambia Digital Electronics Mini Project.
Sequential Circuits.
Sequential Circuits.
LATCHED, FLIP-FLOPS,AND TIMERS
Sequential Logic Counters and Registers
Learning Outcome By the end of this chapter, students are expected to refresh their knowledge on sequential logic related to HDL.
FIGURE 5.1 Block diagram of sequential circuit
Overview Introduction Logic Gates Flip Flops Registers Counters
Flip Flop.
ECE Digital logic Lecture 16: Synchronous Sequential Logic
FLIP-FLOPS.
CMPE212 Discussion 11/21/2014 Patrick Sykes
Presentation transcript:

ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011

Learning Outcome By the end of this chapter, students are expected to understand –the basic ideas about sequential logic –flip-flops and counters

Chapter Content Sequential Logic Flip-flop Flip-flop Control Counters

Sequential Logic CO3

Definition Combinational logic is a logic circuit that gives output based on an input combination and doesn’t keep any memory of the previous condition Sequential logic is the type of digital system that does not only depend on current input, but also the previous history of the system For that reason sequential logic requires memory elements to function Sequential systems also require external combinational system to make computations CO3

General Block Diagram Sequential Logic Combinational Logic Sequential System InputOutput Clock CO3

Memory Elements: Flip-flops CO3

SR Flip-Flop The NOR inputs available for controlling the value is labeled S and R because they have the effect of setting (S) and resetting (R) the output If both of the input are 1, the circuit gives invalid output S R Q Q S R Q Q SR Current Q Next Q (Q*) Invalid 11 Characteristic equation: Stay Reset Set Invalid CO3

JK Flip-Flop JK flip-flop is an extension of SR flip-flop to remove the invalid input condition The condition J=1 and K=1 (invalid in SR) is set to toggle condition – the output just inverts It can be built around SR flip-flop with some modification at the input CO3

JK Flip-Flop J K Q Q S R Q Q JKQNext Q (Q*) clk J K Characteristic equation: clk Stay Reset Set Toggle CO3

D Flip-flop The most popular flip-flop nowadays Built with inverted input JK or SR flip-flop so that the operation is always at SET condition At every clock pulse, the output just follow the input D Q Q DQQ* clk Characteristic equation: J K Q Q clk D CO3

T Flip-flop JK flip-flop with tied-up inputs Toggles if T is high, otherwise stays T Q Q TQQ* clk Characteristic equation: J K Q Q clk T CO3

Flip-Flop Control CO3

Triggering Modes Sequential logic circuit has memory elements and some combinational elements (gates) to perform computation The combinational logic will be fed either into the input of the flip-flop (D, T, J, K, S or R) or the clock input The clock can either trigger the flip-flop at its: –Positive edge – up-going edge, or –Negative edge – down-going edge Latches can either be controlled by low or high level CO3

Triggering Modes Q Q Q Q FF Q Q Q Q Level TriggeredEdge Triggered LatchFlip-flop Positive Edge Negative Edge High Level Low Level CO3

Clocking Modes If the clock inputs to the sequential system are coming from a single common source, it is called synchronous system Otherwise, if the clock can be derived from other sources, or may be changed by some combinational circuitry, the system is said to be asynchronous In modern designs, synchronous system is more popular as it is easier to design –The designer can ignore the circuits into the clock CO3

Clocking Modes Asynchronous Synchronous D Q clk D Q D Q D Q D Q D Q Common Global Clock CO3

Counters CO3

Counter Counter is a sequential circuit that keeps the number of clock pulses that it receives Every time a clock comes the binary value of the flip-flops (combined) will change to the next binary value The group of flip-flops that is combine together in a sequential circuit is what we call REGISTER The binary value that is kept in the register is what call STATE CO3

Asynchronous Binary Counter 1 bit counter can be built using a JK flip-flop that operates in toggle mode The circuit is also called frequency divider (divide-by-2 circuit) J K Q clk 1 1 frequency Frequency In Q CO3

Asynchronous Binary Counter The output frequency of the previous 1 bit counter looks like another clock frequency For that reason it also can be fed into a next flip- flop to create 2 bit asynchronous counter J K Q0Q0 clk 1 1 frequency Frequency In J K clk Q1Q1 1 1 Q0Q0 Q1Q1 CO3

Asynchronous Binary Counter Using the same approach we can further create 4 bit asynchronous binary counter by keep feeding 1 output of a flip-flop to the next one This type of counter is also called ripple counter J K Q0Q0 clk 1 1 Clk J K clk Q1Q1 1 1 Q0Q0 Q1Q1 J K Q2Q2 1 1 J K Q3Q3 1 1 Q2Q2 Q3Q3 CO3