Chapter 3. Sequential Logic Design. Copyright 2013 Elsevier Inc. All rights reserved.



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

Lecture 8: Synchronous Digital Systems

Digital Electronics Detailed Outline

Sequential Circuit Design

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

Flip-Flops and Sequential Circuit Design

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

Lecture 7: Clocking of VLSI Systems

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

Theory of Logic Circuits. Laboratory manual. Exercise 3

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

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

Chapter 5. Sequential Logic

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

CHAPTER 11 LATCHES AND FLIP-FLOPS

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

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

Finite State Machine. RTL Hardware Design by P. Chu. Chapter 10 1

Module 3: Floyd, Digital Fundamental

Sequential Logic Design Principles.Latches and Flip-Flops

Engr354: Digital Logic Circuits

Sequential Logic: Clocks, Registers, etc.

Combinational Logic Design Process

BINARY CODED DECIMAL: B.C.D.

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

Lesson 12 Sequential Circuits: Flip-Flops

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

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.

Upon completion of unit 1.1, students will be able to

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

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

Memory Elements. Combinational logic cannot remember

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

Clocking. Figure by MIT OCW Spring /18/05 L06 Clocks 1

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

CS311 Lecture: Sequential Circuits

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

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

Counters. Present State Next State A B A B

Lecture 11: Sequential Circuit Design

Lecture 10: Sequential Circuits

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

Sequential Circuits. Combinational Circuits Outputs depend on the current inputs

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

Layout of Multiple Cells

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Chapter 8. Sequential Circuits for Registers and Counters

Set-Reset (SR) Latch

Gates, Circuits, and Boolean Algebra

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

ASYNCHRONOUS COUNTERS

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

Asynchronous Counters. Asynchronous Counters

More Verilog. 8-bit Register with Synchronous Reset. Shift Register Example. N-bit Register with Asynchronous Reset.

ECE232: Hardware Organization and Design. Part 3: Verilog Tutorial. Basic Verilog

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

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

Aims and Objectives. E 3.05 Digital System Design. Course Syllabus. Course Syllabus (1) Programmable Logic

CHAPTER 3 Boolean Algebra and Digital Logic

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

7. Latches and Flip-Flops

Chapter 9 Latches, Flip-Flops, and Timers

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

EE552. Advanced Logic Design and Switching Theory. Metastability. Ashirwad Bahukhandi. (Ashirwad Bahukhandi)

Counters and Decoders

Finite State Machine Design A Vending Machine

Sequential 4-bit Adder Design Report

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

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

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

Digital Fundamentals

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

A New Paradigm for Synchronous State Machine Design in Verilog

CONTENTS PREFACE 1 INTRODUCTION 1 2 NUMBER SYSTEMS AND CODES 25. vii

路 論 Chapter 15 System-Level Physical Design

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Lecture-3 MEMORY: Development of Memory:

Timing Methodologies (cont d) Registers. Typical timing specifications. Synchronous System Model. Short Paths. System Clock Frequency

Academic year: 2015/2016 Code: IES s ECTS credits: 6. Field of study: Electronics and Telecommunications Specialty: -

Registers & Counters

The components. E3: Digital electronics. Goals:

2 : BISTABLES. In this Chapter, you will find out about bistables which are the fundamental building blocks of electronic counting circuits.

CHAPTER 16 MEMORY CIRCUITS

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

CpE358/CS381. Switching Theory and Logical Design. Class 10

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

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

Topics. Flip-flop-based sequential machines. Signals in flip-flop system. Flip-flop rules. Latch-based machines. Two-sided latch constraint

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

DEPARTMENT OF INFORMATION TECHNLOGY

CSE140: Components and Design Techniques for Digital Systems

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

Fundamentals of Digital Electronics

The 104 Duke_ACC Machine

CHAPTER IX REGISTER BLOCKS COUNTERS, SHIFT, AND ROTATE REGISTERS

PLL frequency synthesizer

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

Modeling Registers and Counters

Design: a mod-8 Counter

Transcription:

Chapter 3 Sequential Logic Design 1

Figure 3.1 Cross-coupled inverter pair 2

Figure 3.2 Bistable operation of cross-coupled inverters 3

Figure 3.3 SR latch schematic 4

Figure 3.4 Bistable states of SR latch 5

Figure 3.5 SR latch truth table 6

Figure 3.6 SR latch symbol 7

Figure 3.7 D latch: (a) schematic, (b) truth table, (c) symbol 8

Figure 3.8 D flip-flop: (a) schematic, (b) symbol, (c) condensed symbol 9

Figure 3.9 A 4-bit register: (a) schematic and (b) symbol 10

Figure 3.10 Enabled flip-flop: (a, b) schematics, (c) symbol 11

Figure 3.11 Synchronously resettable flip-flop: (a) schematic, (b, c) symbols 12

Figure 3.12 D latch schematic 13

Figure 3.13 D flip-flop schematic 14

Figure 3.14 Example waveforms 15

Figure 3.15 Solution waveforms 16

Figure 3.16 Three-inverter loop 17

Figure 3.17 Ring oscillator waveforms 18

Figure 3.18 An improved (?) D latch 19

Figure 3.19 Latch waveforms illustrating race condition 20

Figure 3.20 Flip-flop current state and next state 21

Figure 3.21 Example circuits 22

Figure 3.22 Finite state machines: (a) Moore machine, (b) Mealy machine 23

Figure 3.23 Campus map 24

Figure 3.24 Black box view of finite state machine 25

Figure 3.25 State transition diagram 26

Figure 3.26 State machine circuit for traffic light controller 27

Figure 3.27 Timing diagram for traffic light controller 28

Figure 3.28 Divide-by-3 counter (a) waveform and (b) state transition diagram 29

Figure 3.29 Divide-by-3 circuits for (a) binary and (b) one-hot encodings 30

Figure 3.30 FSM state transition diagrams: (a) Moore machine, (b) Mealy machine 31

Figure 3.31 FSM schematics for (a) Moore and (b) Mealy machines 32

Figure 3.32 Timing diagrams for Moore and Mealy machines 33

Figure 3.33 (a) single and (b) factored designs for modified traffic light controller FSM 34

Figure 3.34 State transition diagrams: (a) unfactored, (b) factored 35

Figure 3.35 Circuit of found FSM for Example 3.9 36

Figure 3.36 State transition diagram of found FSM from Example 3.9 37

Figure 3.37 Timing specification for synchronous sequential circuit 38

Figure 3.38 Path between registers and timing diagram 39

Figure 3.39 Maximum delay for setup time constraint 40

Figure 3.40 Minimum delay for hold time constraint 41

Figure 3.41 Back-to-back flip-flops 42

Figure 3.42 Sample circuit for timing analysis 43

Figure 3.43 Timing diagram: (a) general case, (b) critical path, (c) short path 44

Figure 3.44 Corrected circuit to fix hold time problem 45

Figure 3.45 Timing diagram with buffers to fix hold time problem 46

Figure 3.46 Clock skew caused by wire delay 47

Figure 3.47 Timing diagram with clock skew 48

Figure 3.48 Setup time constraint with clock skew 49

Figure 3.49 Hold time constraint with clock skew 50

Figure 3.50 Input changing before, after, or during aperture 51

Figure 3.51 Stable and metastable states 52

Figure 3.52 Synchronizer symbol 53

Figure 3.53 Simple synchronizer 54

Figure 3.54 Input timing 55

Figure 3.55 Circuit model of bistable device 56

Figure 3.56 Resolution trajectories 57

Figure 3.57 Spatial and temporal parallelism in the cookie kitchen 58

Figure 3.58 Circuit with no pipelining 59

Figure 3.59 Circuit with two-stage pipeline 60

Figure 3.60 Circuit with three-stage pipeline 61

Figure 3.61 Input waveforms of SR latch for Exercise 3.1 62

Figure 3.62 Input waveforms of SR latch for Exercise 3.2 63

Figure 3.63 Input waveforms of D latch or flip-flop for Exercises 3.3 and 3.5 64

Figure 3.64 Input waveforms of D latch or flip-flop for Exercises 3.4 and 3.6 65

Figure 3.65 Mystery circuit 66

Figure 3.66 Mystery circuit 67

Figure 3.67 Muller C-element 68

Figure 3.68 Circuits 69

Figure 3.69 State transition diagram 70

Figure 3.70 State transition diagram 71

Figure 3.71 FSM input waveforms 72

Figure 3.72 FSM schematic 73

Figure 3.73 FSM schematic 74

Figure 3.74 Registered four-input XOR circuit 75

Figure 3.75 2-bit adder schematic 76

Figure 3.76 New and improved synchronizer 77

Figure 3.77 Signal waveforms 78

Figure M 01 79

Figure M 02 80

Figure M 03 81

Figure M 04 82

Figure M 05 83

UNN Figure 1 84