Chapter 18 FUNDAMENTAL MODE SEQUENTIAL CIRCUITS

Similar documents
Synchronous Sequential Circuit

Sequential Logic Circuits

Chapter 4. Sequential Logic Circuits

Sequential Circuits Sequential circuits combinational circuits state gate delay

Chapter 15 SEQUENTIAL CIRCUITS ANALYSIS, STATE- MINIMIZATION, ASSIGNMENT AND CIRCUIT IMPLEMENTATION

Chapter 9 Asynchronous Sequential Logic

Sequential vs. Combinational

Memory Elements I. CS31 Pascal Van Hentenryck. CS031 Lecture 6 Page 1

ELCT201: DIGITAL LOGIC DESIGN

CHAPTER 9: SEQUENTIAL CIRCUITS

Topic 8: Sequential Circuits

Latches. October 13, 2003 Latches 1

Problem Set 9 Solutions

Asynchronous sequence circuits

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

ASYNCHRONOUS SEQUENTIAL CIRCUITS

Counters. We ll look at different kinds of counters and discuss how to build them

Chapter 7 Sequential Logic

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

Lecture 7: Logic design. Combinational logic circuits

Synchronous Sequential Logic

Chapter 5 Synchronous Sequential Logic

Digital Logic Design - Chapter 4

ELCT201: DIGITAL LOGIC DESIGN

Homework Assignment #1 Solutions EE 477 Spring 2017 Professor Parker

Analysis of Clocked Sequential Circuits

Sequential Circuit Analysis

Sequential Logic (3.1 and is a long difficult section you really should read!)

6. Finite State Machines

Computers also need devices capable of Storing data and information Performing mathematical operations on such data

Z = F(X) Combinational circuit. A combinational circuit can be specified either by a truth table. Truth Table

I. Motivation & Examples

Sequential Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

Topic 8: Sequential Circuits. Bistable Devices. S-R Latches. Consider the following element. Readings : Patterson & Hennesy, Appendix B.4 - B.

I. Motivation & Examples

Models for representing sequential circuits

EET 310 Flip-Flops 11/17/2011 1

COEN 312 DIGITAL SYSTEMS DESIGN - LECTURE NOTES Concordia University

CMOS Inverter. Performance Scaling


Digital Design. Sequential Logic

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

Chapter #6: Sequential Logic Design

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS

14:332:231 DIGITAL LOGIC DESIGN

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

Time stealing: An adventure in tropical land

Review for B33DV2-Digital Design. Digital Design

University of Minnesota Department of Electrical and Computer Engineering

Chapter 5 Synchronous Sequential Logic

15.1 Elimination of Redundant States

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

ELEN Electronique numérique

Convolutional Codes. Telecommunications Laboratory. Alex Balatsoukas-Stimming. Technical University of Crete. November 6th, 2008

UMBC. At the system level, DFT includes boundary scan and analog test bus. The DFT techniques discussed focus on improving testability of SAFs.

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER /2017

PGT104 Digital Electronics. PGT104 Digital Electronics

Fault Modeling. 李昆忠 Kuen-Jong Lee. Dept. of Electrical Engineering National Cheng-Kung University Tainan, Taiwan. VLSI Testing Class

The Design Procedure. Output Equation Determination - Derive output equations from the state table

ELE2120 Digital Circuits and Systems. Tutorial Note 10

Integrated Circuits & Systems

Week-5. Sequential Circuit Design. Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA.

Coding on a Trellis: Convolutional Codes

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

Logic Design II (17.342) Spring Lecture Outline

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

ELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10)

DM Bit Addressable Latch

Logic. Combinational. inputs. outputs. the result. system can

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

Chapter10 Convolutional Codes. Dr. Chih-Peng Li ( 李 )

5. Sequential Logic x Computation Structures Part 1 Digital Circuits. Copyright 2015 MIT EECS

Sequential Logic Design: Controllers

A little context This paper is concerned with finite automata from the experimental point of view. The behavior of these machines is strictly determin

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Fundamentals of Computer Systems

The Matrix Vector Product and the Matrix Product

Digital Design 2010 DE2 1

Menu. Master-Slave Flip-Flop

Different encodings generate different circuits

Overview of Chapter 4

CPE100: Digital Logic Design I

UNIVERSITY OF CALIFORNIA

ALU, Latches and Flip-Flops

CprE 281: Digital Logic

Sequential logic and design

Module - 19 Gated Latches

Digital Electronics Sequential Logic

MM74C922 MM74C Key Encoder 20-Key Encoder

Chapter 4 Optimized Implementation of Logic Functions

Sample Test Paper - I


COE 202: Digital Logic Design Sequential Circuits Part 4. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Lecture 6: Time-Dependent Behaviour of Digital Circuits

CMPEN 411. Spring Lecture 18: Static Sequential Circuits

Finite-Horizon Statistics for Markov chains

Sequential Logic. Handouts: Lecture Slides Spring /27/01. L06 Sequential Logic 1

EECS150 - Digital Design Lecture 23 - FFs revisited, FIFOs, ECCs, LSFRs. Cross-coupled NOR gates

Transcription:

Chapter 18 FUNDAMENTAL MODE SEQUENTIAL CIRCUITS

Lesson 3 Races 2

Race condition Cycles of races Critical races Outline 3

Excitation Table for Y O = X. Q2 +Q1; Q1 =D and Q2 = Q n+1 = J. Q n + K. Q n State Excitation Inputs Y O (Q 1,Q 2) [D, (J, K)] X=0 [D, (J, K)] X=1 X=0 X =1 (0, 0) 0, (0, 0) 1, (0,1) 0 0 (0, 1) 0, (0, 0) 1, (0,1) 1 0 (1, 0) 0, (1, 0) 1, (1,1) 1 1 (1, 1) 0, (1, 0) 1, (1,1) 1 1 Y is present output state after the X inputs but before transition 4

Excitation-cum-Transition Table for Y = X. x q2 + x q1 ; x q1 =D and x q2 = x q n+1 = J. x q n + K. State x q n Transition Outputs Y (x q0, x q1) [x q0, x q1 ] X=0 [x q0, x q1 ] X=1 X=0 X =1 (0, 0) 0, 0 1, 0 0 0 (0, 1) 0, 1 1, 0 1 0 (1, 0) 0, 1 1, 1 1 1 (1, 1) 0, 1 0, 0 1 1 5

Two-bit changes (in Qs) at the memory or delay sections (x, x ) and (x, x ) the present q0 q1 q0 q1 and past states are (0, 1) and (1, 0), respectively, in Column 3 row 2 (x, x ) and (x, x ) the present q0 q1 q0 q1 and past states are (1, 1) and (0, 0), respectively in Column 3 row 4 6

Number of Races during the flow There are two races at two entries of next state outputs for the present states in the transitions given Two races occur due to two different instances of the feedback cycle for next state variables 7

Number of Races during the flow Two instances don t occur simultaneously, when two bits are expected to change at the delay section during a transition when a state changes, due to small variations in propagation delays of two latches 8

Race 1 in State diagram row 2 for transitions through intermediate states to stable state S 0 S 1 S 2 1/1 1/0 S 3 S 1 races to S 3 and then S 3 transition is to S 0 and will reach S 2. If 0, 1 changes to 0, 0 first, then S 0 and the S 2 is directly obtained in next cycle When 0, 1 becomes 1, 0, it does not happen simultaneously. Assume that 0, 1 first changes to 1, 1 and then to 1, 0 9

Race 1 in given example of State Table Therefore, (0, 1) present state can change to (1,1) for some period [S1 can temporarily be S3 in place of S2, therefore, the S0 is obtained in a cycle. From intermediate S0, the transition will be to S0 and from S0 to S2. When (1,1) changes to (1, 0) the transition will be to S2. In next feedback cycle this happens. 10

Race 2 Case 1in State diagram row 4 for transitions through intermediate states to stable state S 2 S 0 1/1 1/1 S 3 S3 races to S2 and then S 2 transition may be again to S 3 and will reach S 0 in indefinite number of cycles. 1/1 When 1, 1 becomes 0, 0, it does not happen simultaneously. Assume that 1, 1 first changes to 1, 0 and then to 0, 0 11

Race 2 case 2 in State diagram row 4 for transitions through intermediate states to stable state 1/0 S S 1/1 0 1 1/1 S 2 S 3 S3 races to S1 and then to S 2 and transition will be again to S 3 and will reach S 0 in indefinite number of cycles. 1/1 When 1, 1 becomes 0, 0, it does not happen simultaneously. Assume that 1, 1 first changes to 0, 1 and then to 0, 0 12

Race 2 in given example of State Table Therefore, (1, 1) present state can change to (0,1) for some period [S3 can temporarily be S1, from S1 it will change to S2, from S2 to S3, therefore, the S0 is obtained in indefinite number of cycles. 13

Race condition A race is said to occur if between next set of states x q and present states x q, there are two or more bits change (ttwo or more latches undergoes change in Q output) at the memory or delay section, Race condition arises due to variable number of delays of different latches, which lead to intermediate states. 14

Race condition Cycles of races Critical races Outline 15

Non-Critical Race (Deterministic Number of Cycles of race) The state momentarily change can lead to a stable state with one or more additional feedback-cycles and the state eventually turns out to be the same as would have been expected had there been no race. Race condition is not permanent and the race returns to normal after calculatedly number of races. Asynchronous circuit is said to be deterministic when a non-critical race condition exists 16

Example Race 1 case (1) The present state (0, 1) if momentarily changes to (0, 0); the monetarily state will be S0. The S0 for X =1 gives the output (1,0) again and gives the state S2 in next feedback cycle 17

Example Race 1 case (2) The present state (0, 1) if momentarily changes to (1, 1), the monetarily state will be S3. The S3 for X =1 gives the output (0, 0) and sate S0 again in next feedback-cycle. S0 gives the state S2 in next feedback cycle 18

Non-critical Race Therefore after two state transitions, the same stable state is obtained in case (2) and after one more state transitions in case (1) as would have been had there been no race to case (1) or (2) above. The race is therefore not critical in its effect on the behavior, except additional delay. Flow table shall remain unaltered. 19

Outline Race condition Cycles of races Critical races 20

Critical Race (Indeterminate Number of Cycles of Races) The state momentarily changed can lead to a different stable state with any known number one or more additional feedback-cycles and the state will most often turn out never to be the same as would have been expected had there been no race 21

Critical Race (Indeterminate Number of Cycles of Races) Race is called critical race. Race condition is indefinite and the race returns to normal after indefinite number of races because when two propagation delays exactly match is never known or become greater than the other. Asynchronous circuit is probabilistic, not deterministic when a critical race condition exists. 22

Example Race 2 Case 1 S3 races to S2 and then S 2 transition may be again to S 3 and will reach S 0 in a number of cycles. The present state (1, 1) if momentarily changes to (1, 0), the monetarily state will be S2. The S2 for X =1 gives the state (1, 1) S3 again in next feedback cycle 23

Race 2 Case 1 When 1, 1 becomes 0, 0, it does not happen simultaneously. Assume that 1, 1 first changes to 1, 0 and then to 0, 0. S2 will again return back to S3. When the transition will be to S0, one never knows. It can only be when the propagation delay match. 24

Race 2 Case 2 The present state (1, 1) if momentarily changes to (0, 1); the monetarily state will be S1. The S1 for X =1 gives the stable state S3 back after two feedback cycles. When the transition will be to S0, one never knows. It can only be when the propagation delays match. 25

Critical race There may be the intermediate race through such that the path to return don t exists. Flow table is not deterministic, is probabilistic only 26

Summary

Race Race occurs due to different latches within memory section can have different propagation delays, the feedback inputs for next cycle transition is different than given by state table. Another state races though due to shorter delay in one latch. 28

Non Critical race: The state momentarily changed can lead to a stable state with one or more additional feedback-cycles and the state eventually turns out to be the same as would have been expected had there been no race. Race condition is not permanent and the race returns to normal after calculatedly number of races.

Critical race: The state momentarily change leads to a different stable state with any known number one or more additional feedback-cycles and the state will most often turn out never to be the same as would have been expected had there been no race. Such a race is called critical race. Race condition is indefinite and the race returns to normal after indefinite number of races

End of Lesson 3 Races

THANK YOU 32