1 Fundamentals of Computer Science Sequential Circuits.

Slides:



Advertisements
Similar presentations
EE 5900 Advanced Algorithms for Robust VLSI CAD, Spring 2009 Sequential Circuits.
Advertisements

Give qualifications of instructors: DAP
COE 202: Digital Logic Design Sequential Circuits Part 1 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
Computer Architecture CS 215
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.
Fall 2004EE 3563 Digital Systems Design EE 3563 Sequential Logic Design Principles  A sequential logic circuit is one whose outputs depend not only on.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 6 – Part 1.
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.
Logical Circuit Design Week 11: Sequential Logic Circuits Mentor Hamiti, MSc Office ,
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.
Chapter 10 Flip-Flops and Registers Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. William Kleitz.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
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.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Sequential Circuits. 2 Sequential vs. Combinational Combinational Logic:  Output depends only on current input −TV channel selector (0-9) Sequential.
EE 4271 VLSI Design, Fall 2010 Sequential Circuits.
Sequential logic and systems
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.
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.
Digital Computer Design Fundamental
Latches, Flip-Flops BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
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.
Chap 4. Sequential Circuits
ENG241 Digital Design Week #6 Sequential Circuits (Part A)
Flip-Flops and Registers
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.
Chapter 10 Flip-Flops and Registers 1. Objectives You should be able to: Explain the internal circuit operation of S-R and gated S-R flip-flops. Explain.
1 Synchronous Sequential Logic Sequential Circuits Every digital system is likely to have combinational circuits, most systems encountered in practice.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
5 Chapter Synchronous Sequential Circuits 1. Logic Circuits- Review 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates.
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.
Chapter5: Synchronous Sequential Logic – Part 1
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.
CENG 241 Digital Design 1 Lecture 7 Amirali Baniasadi
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.
Sequential Logic Circuit Design Eng.Maha Alqubali.
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
Flip Flops.
Prof. Hsien-Hsin Sean Lee
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Synchronous Sequential Circuits
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Sequential logic circuits
LECTURE 15 – DIGITAL ELECTRONICS
Boolean Algebra and Digital Logic
Synchronous Sequential Circuits
Reference: Chapter 5 Sequential Circuits Moris Mano 4th Ediditon
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 10) Hasib Hasan
FLIP-FLOPS.
Synchronous sequential
Synchronous Sequential
CMPE212 Discussion 11/21/2014 Patrick Sykes
Presentation transcript:

1 Fundamentals of Computer Science Sequential Circuits

2 What is a Sequential Circuit? A sequential circuit consists of logic gates whose output(s) at any time are based on the values of external input(s) and internally generated input(s). Sequential circuits are used to implement storage elements. Sequential Circuit inputs outputs

3 What is a Sequential Circuit? Sequential circuits are generally part of a larger circuit that contains combinational circuitry as well. There are two types of sequential circuits –Synchronous sequential circuits can only be affected at discrete instances of time. They are driven by clock generators. When a clock pulse is absent, the circuit cannot change. –Asynchronous sequential circuits can be affected at any instances of time. They are not clock driven.

4 Synchronous Sequential Circuits Flip-flops are a type of synchronous sequential circuit. Each flip-flop can store 1-bit of data.

5 Asynchronous Sequential Circuits Latches are a type sequential circuit that may be asynchronous or synchronous. Each latch can store 1-bit of data.

6 Unstable Asynchronous Sequential Circuit This is an example of a simplest-case sequential circuit. –The circuit is built from a single inverter. –The output oscillates rapidly between 0 and 1. –The circuit is essentially useless.

7 Stable Asynchronous Sequential Circuits When the circuit settles down, the two outputs will be the complement of each other. There is no way to modify the value stored in the circuit. The circuit is essentially useless.

8 Latches Latches are the most basic storage element. Latches are used to build flip-flops. This SR latch is a type of asynchronous sequential circuit.

9 Logic Simulation of SR Latch Behavior

10 SR Latch with NAND Gates The input signals for the NAND latch are the complement of the signals for the NOR latch, hence the name SR latch.

11 SR Latch with Control Input Latch can only change when C = 1, all other times the circuit remains in the same state no matter what values are on the S and R inputs. This SR latch is a type of synchronous sequential circuit.

12 D Latch with Control Input The D latch is designed to eliminate the undefined state by ensuring that the S and R inputs are never high at the same time.

13 Flip Flops A latch is transparent. –Its input value can be seen directly from its output value. Which is to say that the outputs respond immediately to the inputs. –This is the case with the D latch when its control, C, is high. Flip-flops avoid the transparency problem by providing a “disconnect” between the inputs to the flip-flop and the outputs from the flip-flop.

14 Flip Flops Imagine the following scenario. –The clock goes high. –The output of the D latch, Q, responds to the input, D. –Before the clock goes low, the new value of Q filters through the combinational circuit and into the D latch changing the value of Q for the second time during the same clock cycle.

15 SR Master-Slave Flip-Flop A flip-flop contains two clock-driven latches. –The first flip-flop is the master. –The second flip-flop is the slave. The slave receives the inverse of the clock signal received by the master.

16 SR Master-Slave Flip-Flop When the master’s clock input is high (and the slave’s is low) the slave is impervious to change so the slave’s outputs become stable. When the master’s clock is low (and the slave’s is high) the slave will respond to the master’s outputs. –During this time the master’s outputs will remain stable since the master’s clock is low.

17 Logic Simulation of SR Master-Slave Flip-Flop

18 JK Master-Slave Flip-Flop The master-slave JK flip-flop is designed to eliminate the undefined condition (both S and R are high) found in SR latches. When both J and K are high, the value of the flip-flop toggles.

19 Flip-Flop Characteristic Tables

20 Base 4 Binary Counter with Enable A base 4 binary counter with enable repeatedly outputs the bit pattern 00, 01, 10, 11 when ever the enable line is high. –Since the circuit is clock driven (synchronous), the count will change when ever the clock goes from high to low. –When the enable line is low, the counter stops counting and the output value remain constant. The counter must “remember” what the current count is so that it knows what value to output next.

21 Base 4 Binary Counter with Enable The next state of the circuit is based on the current state and the value of the enable line. –The current state of the counter is stored in two flip-flops, one per binary digit. A state table is used to show what the next state of the circuit will be relative to the current state and any external inputs. –State tables are used in sequential circuit design much as truth tables are used in combinational circuit design.

22 Base 4 Binary Counter with Enable Counter Enable DADA DBDB

23 Base 4 Binary Counter with Enable