Chapter 14 Sequential logic, Latches and Flip-Flops

Similar documents
SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

Lesson 12 Sequential Circuits: Flip-Flops

Chapter 8. Sequential Circuits for Registers and Counters

To design digital counter circuits using JK-Flip-Flop. To implement counter using 74LS193 IC.

Master/Slave Flip Flops

ECE380 Digital Logic

CHAPTER 11 LATCHES AND FLIP-FLOPS

BINARY CODED DECIMAL: B.C.D.

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Module 3: Floyd, Digital Fundamental

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

Digital Fundamentals

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

Engr354: Digital Logic Circuits

Counters and Decoders

ASYNCHRONOUS COUNTERS

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

CS311 Lecture: Sequential Circuits

Flip-Flops and Sequential Circuit Design. ECE 152A Winter 2012

Flip-Flops and Sequential Circuit Design

Lecture 8: Synchronous Digital Systems

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Lecture-3 MEMORY: Development of Memory:

Theory of Logic Circuits. Laboratory manual. Exercise 3

Memory Elements. Combinational logic cannot remember

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

Sequential Logic Design Principles.Latches and Flip-Flops

Chapter 9 Latches, Flip-Flops, and Timers

Sequential Logic. (Materials taken from: Principles of Computer Hardware by Alan Clements )

CHAPTER 3 Boolean Algebra and Digital Logic

Counters. Present State Next State A B A B

Layout of Multiple Cells

Counters & Shift Registers Chapter 8 of R.P Jain

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Design Example: Counters. Design Example: Counters. 3-Bit Binary Counter. 3-Bit Binary Counter. Other useful counters:

CSE140: Components and Design Techniques for Digital Systems

ENEE 244 (01**). Spring Homework 5. Due back in class on Friday, April 28.

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

Asynchronous Counters. Asynchronous Counters

Flip-Flops, Registers, Counters, and a Simple Processor

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Digital Logic Design Sequential circuits

Set-Reset (SR) Latch

Sequential Logic: Clocks, Registers, etc.

Combinational Logic Design Process

Chapter 5. Sequential Logic

Counters are sequential circuits which "count" through a specific state sequence.

Lecture 10 Sequential Circuit Design Zhuo Feng. Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 2010

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

Modeling Sequential Elements with Verilog. Prof. Chien-Nan Liu TEL: ext: Sequential Circuit

Sequential Circuit Design

7. Latches and Flip-Flops

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

Lecture 7: Clocking of VLSI Systems

Contents COUNTER. Unit III- Counters

Asynchronous counters, except for the first block, work independently from a system clock.

Modeling Latches and Flip-flops

Introduction to CMOS VLSI Design (E158) Lecture 8: Clocking of VLSI Systems

Chapter 7. Registers & Register Transfers. J.J. Shann. J. J. Shann

Topics of Chapter 5 Sequential Machines. Memory elements. Memory element terminology. Clock terminology

Sequential Circuits. Combinational Circuits Outputs depend on the current inputs

Fig1-1 2-bit asynchronous counter

DM54161 DM74161 DM74163 Synchronous 4-Bit Counters

Upon completion of unit 1.1, students will be able to

LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters


DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute. 2nd (Spring) term 2012/2013

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute 5. LECTURE: REGISTERS AND RELATED

74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

IE1204 Digital Design F12: Asynchronous Sequential Circuits (Part 1)

Lecture 11: Sequential Circuit Design

Lecture 10: Sequential Circuits

CS 61C: Great Ideas in Computer Architecture Finite State Machines. Machine Interpreta4on

Admin. ECE 550: Fundamentals of Computer Systems and Engineering. Last time. VHDL: Behavioral vs Structural. Memory Elements

54LS169 DM54LS169A DM74LS169A Synchronous 4-Bit Up Down Binary Counter

Lab 1: Study of Gates & Flip-flops

The components. E3: Digital electronics. Goals:

DEPARTMENT OF INFORMATION TECHNLOGY

Latch Timing Parameters. Flip-flop Timing Parameters. Typical Clock System. Clocking Overhead

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

Sequential 4-bit Adder Design Report

List of Experiment. 8. To study and verify the BCD to Seven Segments DECODER.(IC-7447).

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

MM74HCT373 MM74HCT374 3-STATE Octal D-Type Latch 3-STATE Octal D-Type Flip-Flop

Lecture 10: Latch and Flip-Flop Design. Outline

Digital Controller for Pedestrian Crossing and Traffic Lights

Wiki Lab Book. This week is practice for wiki usage during the project.

CD4027BC Dual J-K Master/Slave Flip-Flop with Set and Reset

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

Memory unit. 2 k words. n bits per word

DM74LS193 Synchronous 4-Bit Binary Counter with Dual Clock

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

DATA SHEET. HEF4017B MSI 5-stage Johnson counter. For a complete data sheet, please also download: INTEGRATED CIRCUITS

PROGETTO DI SISTEMI ELETTRONICI DIGITALI. Digital Systems Design. Digital Circuits Advanced Topics

Transcription:

Chapter 14 Sequential logic, Latches and Flip-Flops Flops

Lesson 2 Sequential logic circuit, Flip Flop and Latch Introduction Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 2

Outline Sequential logic circuit Clock input Propagation delay, and Setup and hold times Flip Flop Latch Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 3

Example Basic unit of Combinational Circuits Gates Mux decoder PROM PAL (unregistered) Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 4

Example Basic Sequential Circuits FF SR, JK, D, T Latch Counter Register Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 5

Sequential Action Sequential action means (i) to remember what steps are to be done next, and (ii) to recall which step has just been finished Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 6

Definition A sequential circuit is a circuit made up by combining logic gates such that the required logic at the output(s) depends not only on the current input logic conditions but also on the past inputs, outputs and sequences. Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 7

Sequential Circuit State Table Sequential circuit has a state table (like truth table in a combinational circuit) Sequences are specified by a table called state table. State table gives the past, current and future states at the output. Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 8

Sequential Circuit Features Sequential circuit has a feedback of the output(s) from a stage to the input of either that stage or any previous stage Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 9

Sequential Circuit Features An output depends on the current input state and past input state (thus past output state) An output(s) can remain stable (constant) even after the input conditions change Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 10

Sequential circuit feature An output(s) at each stage appears after a delay of few tens or hundred ns depending upon the gate type or family of used to implement the circuit Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 11

Outline Sequential logic circuit Clock input Propagation delay, and Setup and hold times Flip Flop Latch Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 12

Sequential Circuit Features A sequential circuit may have a clock (gate) input to control the instance or time interval in which the output gets affected as per the inputs to the sequential circuit and in which the output undergoes transition to next state Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 13

Clock Input Input after which the state at output(s) of sequential circuit undergoes transition to next state Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 14

Clock Input Asynchronous input (Level clocking) A time interval defined by clock input during which input changes reflect on the output Level means 1 for a time interval or 0 for a time interval Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 15

Clock Input Synchronous input (i) Edge +ve or ve defines the instance at which input affects the output and transition is to next state (ii) Master slave at +ve edge at master section of circuit, there is transition at master s output and at ve edge, the slave output undergoes transition as per master output. Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 16

+ ve edge and -ve edge + edge means transition at input from 0 to 1 - edge means transition at input from 0 to 1 Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 17

Outline Sequential logic circuit Clock input Propagation delay, and Setup and hold times Flip Flop Latch Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 18

Propagation Delay 0 to 1 transition Propagation delay, tp (01) or t plh is the time interval between t and t, where t is the instance midway between 0 and 1 when a sequential circuit input is changing from 0 to 1 and t is the instance midway between 0 and 1 when an output Q is changing from 0 to 1 Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 19

Propagation Delay 1 to 0 transition Propagation delay, tp (10) or t phl is the time interval between t and t, where t is the instance midway between 1 and 0 when an input is changing from 1 to 0 and t is the instance midway between 1 and 0 when the output Q is changing from 1 to 0 Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 20

Average Propagation Delay Average propagation delay, tp of a latch or FF is the average of tp (01) and tp (10). [The delays tp(01), tp(10) and tp differs due to different impedances of the output stage transistor.] These also depend on the types and family of the gates used in designing an FF Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 21

Setup Time Setup time, t is an average of the s minimum required time for input before enabling input (gate input or clock input) is applied so that the output Q is as per sequential circuit design and its state table. Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 22

Hold Time Hold time, t is an average of the h minimum required time for input to hold its logic state unchanged after an enabling input (gate input or clock input) is applied so that the output Q is as per the circuit design and its state table. Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 23

Outline Sequential logic circuit Clock input Propagation delay, and Setup and hold times Flip Flop Latch Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 24

FF Flip-Flop means a digital circuit of two stable states at an output: 1 means, rise on top. It means Flip, and 0 means fall to ground. It means flop Stable state can change only after a clock input applies Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 25

FF output Q along with its complement Q A particular combination of Q and Q represents a stable state. An FF is also called a bistable digital circuit. One of the stable state is Q = 1 and Q = 0, and other stable state is Q= 0 and Q = 1. An FF has one or two inputs and clock edge. The logic states at these inputs and the previous Q determine what shall be the current outputs Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 26

FF FF can have two definite (discrete) states. FF forms a smallest basic memory unit or a one-bit register unit Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 27

Present state feedbacks for next state Interconnections as well feedbacks are inputs Feedbacks are from outputs, Q and/or Q Logic states at these inputs and the previous Q determine what shall be the current outputs Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 28

State table of flip-flop (FF) Describes how for the different input present and past conditions, the output Q (and/or Q) shall be in given of FF after a clocking instance Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 29

FF A flip-flop has a feature that output should change only at a well defined instance of control input, called clock edge input. Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 30

Outline Sequential logic circuit Clock input Propagation delay, and Setup and hold times Flip Flop Latch Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 31

Latch A flip-flop is called latch, if the instance at which output should change has no well defined instances clock input. A latch is FF without no edge triggered clocking mechanism for its inputs A latch may have a gating input (clock input interval) during which input changes affect changes in Q. Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 32

Summary

Sequential circuit output state depends not only on present input but on past state also. For a sequential circuit, there is propagation delay, setup time and hold time

FF is a bistable circuit in which a timing input (called clock transition or clock edge input) controls the instance after which the output changes to next A latch is a class of flip-flop in place of clock-edge instance at which output changes, a clock interval exists during which that output changes to next

End of Lesson 2 on Sequential logic circuit, Flip Flop and Latch Introduction

THANK YOU Ch14L2--"Digital Principles and Design", Raj Kamal, Pearson Education, 2006 37