Asynchronous Sequential Circuits

Slides:



Advertisements
Similar presentations
CS370 – Spring 2003 Hazards/Glitches. Time Response in Combinational Networks Gate Delays and Timing Waveforms Hazards/Glitches and How To Avoid Them.
Advertisements

Sequential Circuits Storage elements
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Multiplexors Sequential Circuits and Finite State Machines Prof. Sin-Min Lee Department of Computer Science.
Chapter 9 Asynchronous Sequential Logic 9-1 Introduction Introduction 9-2 Analysis Procedure Analysis ProcedureAnalysis Procedure 9-3 Circuits With Latches.
1 Lecture 20 Sequential Circuits: Latches. 2 Overview °Circuits require memory to store intermediate data °Sequential circuits use a periodic signal to.
Asynchronous Sequential Logic
Circuits require memory to store intermediate data
Sequential Circuit Analysis & Design Dr. Aiman H. El-Maleh Computer Engineering Department King Fahd University of Petroleum & Minerals Dr. Aiman H. El-Maleh.
Sequential Circuits A Basic sequential circuit is nothing but a combinational circuit with some feedback paths between its output and input terminals.
CS 151 Digital Systems Design Lecture 21 Analyzing Sequential Circuits.
Asynchronous Circuit Design
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Asynchronous Sequential Logic
Asynchronous Sequential Circuits. 2 Asynch. vs. Synch.  Asynchronous circuits don’t use clock pulses  State transitions by changes in inputs  Storage.
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
1 Chapter 4 Combinational and Sequential Circuit.
Asynchronous Machines
CHAPTER 3 Digital Logic Structures
Sequential Circuit Design
Overview Sequential Circuit Design Specification Formulation
EE 4271 VLSI Design, Fall 2010 Sequential Circuits.
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
CS 151 Digital Systems Design Lecture 32 Hazards
Overview Part 1 - Storage Elements and Sequential Circuit Analysis
Digital Logic Design CHAPTER 5 Sequential Logic. 2 Sequential Circuits Combinational circuits – The outputs are entirely dependent on the current inputs.
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
Clocked Synchronous State Machine Design
Sequential Networks Two major classes of Sequential Circuits 1.Fundamental Mode – A sequential circuit where: Only one input is allowed to change at any.
SEQUENTIAL CIRCUITS Introduction
Digital Computer Design Fundamental
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 2 – Sequential.
Circuit, State Diagram, State Table
Chap 4. Sequential Circuits
Chap 4. Sequential Circuits
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Introduction to Sequential Circuit By : Pn Siti Nor Diana Ismail CHAPTER 5.
Introduction to Sequential Logic Design Finite State-Machine Design.
1 Lecture 22 Sequential Circuits Analysis. 2 Combinational vs. Sequential  Combinational Logic Circuit  Output is a function only of the present inputs.
FLIP FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
Read Only Memory DC A0A0 A b1b1 b2b2 Programmable ROM DC A0A0 A v b1b1 b2b Fuse Mask-programmed ROM.
ANALYSIS OF SEQUENTIAL CIRCUITS by Dr. Amin Danial Asham.
Chap 2. Combinational Logic Circuits
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
Analysis and Synthesis of Synchronous Sequential Circuits A “synchronizing” pulse/edge signal (clock) controls the operation of the memory portion of the.
Asynchronous Sequential Circuits aka ‘Feedback sequential circuits’ - Wakerly Chap 7.9.
1 Chapter 4 Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables,
COUNTERS Why do we need counters?
Modulo-N Counters According to how they handle input transitions –Synchronous –Asynchronous.
Chapter 8. Sequential machine. Sequential machine M = ( I, O, S, , ) I : set of input O : set of output S : set of states  (state transition) : I 
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Logic Gates and Boolean Algebra Introduction to Logic II.
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
State Diagrams Tuesday, 12 September State diagram Graphical representation of a state table. –Provides the same information as a state table. –A.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
1 Asynchronous Sequential Logic For most figures:.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Section 6: Asynchronous Circuits
ECE 434 Advanced Digital System L03
CPE/EE 422/522 Advanced Logic Design L02
Boolean Algebra and Digital Logic
Instructor: Alexander Stoytchev
Asynchronous Sequential Logic
Sequential Circuit Analysis & Design
Combinational Circuits
Ladder Diagram Design: Huffman Method
Instructor: Alexander Stoytchev
Presentation transcript:

Asynchronous Sequential Circuits

Asynch. vs. Synch. Asynchronous circuits don’t use clock pulses state transitions by changes in inputs. Storage Elements: Clockless storage elements or Delay elements. In many cases, as combinational feedback.  Normally much harder to design.

Asynch. Sequential Circuit x1 z1 x2 z2 inputs outputs Combinational Circuit xn zm y1 Y1 y2 Y2 Next State Current State yk Yk delay delay delay

Asynch. Sequential Circuit yi = Yi in steady state (but may be different during transition) Simultaneous change in two (or more) inputs is prohibited. The time between two changes must be less than the time of stability.

Advantages and Disadvantages Low power High performance No need for clock Disadvantages: Complexity of design process.

Analysis y1 Y1 x y2 Y2 Find feedback loops and name feedback variables appropriately. Find boolean expressions of Yi’s in terms of yi’s and inputs. Y1 = x.y1 + x’.y2 Y2 = x.y1’ + x’.y2

Analysis Draw a map: rows: yi’s columns: inputs entries: Yi’s x x x y1 y2 1 y1 y2 1 y1 y2 1 00 00 1 00 00 01 01 1 01 1 1 01 11 01 11 1 1 11 1 11 11 10 10 1 10 10 00 10 Y1 = x.y1 + x’.y2 Y2 = x.y1’ + x’.y2 (Transition Table)Y1 Y2

Analysis To have a stable state, Y must be = y (circled) x y1 y2 1 00 00 01 01 11 01 (Transition Table) Y1 Y2 11 11 10 10 00 10 At y1y2x = 000, if x: 0  1 then Y1Y2: 00  01 then y1y2 = 01 (2nd row): stable.

Analysis In general, if an input takes the circuit to an unstable state, yi’s change until a stable state is found. x y1 y2 1 00 00 01 01 11 01 General state of circuit: y1y2x: There are 4 stable states: 000, 011, 110, 101 and 4 unstable states. 11 11 10 10 00 10

State Table As synchronous: 00 01 11 10 00 01 11 01 00 10 11 10 next state present state 00 01 11 10 00 01 11 01 00 10 11 10

Flow Table As Transition Table (but with symbolic states): x a b c d 1

Flow Table: Example 2 Two states, two inputs, one output. ,0 ,1 x1 x2 00 01 11 10 Each row has more than one stable state. If x1 = 0, state is a. If x1x2 = 00  x1x2 = 10, then state becomes b. For x1x2 = 11, state is either a or b. If previously in x1x2 = 01, keeps state a, If previously in x1x2 = 10, keeps state b. Reminder: cannot go from 00 to 11.

Circuit Design From flow table to circuit: Assign a unique binary value to each state, a b ,0 ,1 x1 x2 00 01 11 10 1 ,0 ,1 x1 x2 00 01 11 10 y x1 x2 x1 x2 00 11 10 00 11 10 01 01 y y 1 1 1 1 1 1 Map for output z (=x1x2y) Map for output Y (=x1x2’+x1y)

Circuit Diagram z = x1x2y x1 x2 Y Y = x1x2’+x1y y

Critical Race: Race Condition If two (or more) state variables change in response to a change in an input, there is a race condition. E.g. from 00 to 11, due to delays 00  01  11 OR 00  10  11. Critical Race: If final steady state depends on the order of changes in state vars.

Race: Examples Noncritical Cases: 00  11 00  01 00  01  11 y1y2 1 y1y2 1 00 00 11 00 00 11 01 11 01 01 11 11 11 01 10 11 10 11 00  11 00  01 00  01  11 00  11  01 00  10  11 00  10  11  01

Critical Cases: Race: Examples 00  11 00  11 00  01  11 00  01 y1y2 1 y1y2 1 00 00 11 00 00 11 01 11 01 01 11 11 11 11 10 10 10 10 00  11 00  11 00  01  11 00  01 00  10 00  10

Instability Y = (x1 y)’ x2 For x1x2 = 11, there is no steady state. 00 11 10 01 y For x1x2 = 11, there is no steady state.  Oscillation. For x1x2 = 11, Y = y’  unstable. 1 1 1 1

No-Race State Assignment Must assign binary values to states such that: one change in an input may not cause two changes in state variables. (because due to delays, one of the variable change sooner and may stay in an unwanted stable state). From a, if x1x2 = 10  11, must go to c and stay there. But by the following assignment, it may go to b and stay there. a b x1 x2 00 01 11 10 c 00 01 a b c 11 a and b must be different in one bit, a and c must be different in one bit.

No-Race State Assignment Impossible  add one more row. x1 x2 00 11 10 01 a a b d a b a b b c 00 01 a b c d c c c c d a - - d is an intermediate (unstable) state. - means any value can be assigned (Except d=10). c d 11 10

Example 2 a b x1 x2 00 01 11 10 d c a b c 00 01 11 d 10 If there were no diagonal transition, it would be possible Impossible  add some more rows.

Example 2 a b c d b is adjacent to a, c, d c  a through g 1 b y1 y2 00 01 11 10 y3 c g e f d x1 x2 00 11 10 01 a = 000 b a e a b = 001 b d b a b is adjacent to a, c, d c  a through g a  d through e d  c through f c = 011 c g b c g = 010 - a - - 110 - - - - a b c 00 01 11 d 10 f = 111 c - - c d = 101 f d d f e = 100 - - d -