Analyzing our example circuit

Slides:



Advertisements
Similar presentations
Sequential Circuits1 SEQUENTIAL CIRCUITS. Sequential Circuits2 Two Types of Switching Circuits Combinational Circuits –Combinational circuits have only.
Advertisements

A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
Computing Machinery Chapter 5: Sequential Circuits.
Flip-Flops Last time, we saw how latches can be used as memory in a circuit. Latches introduce new problems: We need to know when to enable a latch. We.
CS 151 Digital Systems Design Lecture 21 Analyzing Sequential Circuits.
1 Lecture 23 More Sequential Circuits Analysis. 2 Analysis of Combinational Vs. Sequential Circuits °Combinational : Boolean Equations Truth Table Output.
Review and Overview. Review  Combinational logic circuit – Decoder, Encoder, Multiplexer, De-multiplexer, Full Adder, Multiplier  Sequential logic circuit.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
EECC341 - Shaaban #1 Lec # 14 Winter Clocked Synchronous State-Machines Such machines have the characteristics: –Sequential circuits designed.
Chp 6: Synchronous sequential logic 1 Synchronous Sequential Logic Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Sequential Circuits Problems(I) Prof. Sin-Min Lee Department of Mathematics and Computer Science Algorithm = Logic + Control.
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
CS 140 Lecture 8 Professor CK Cheng 10/22/02. Part II. Sequential Network 1.Flip-flops SR, D, T, JK, State Table Characteristic Eq. Q(t+1) = f(x(t), Q(t)).
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
1 Synchronous Sequential Circuit Analysis. 2 Synchronous Sequential Circuit State Memory – A set of n edge-triggered flip-flops that store the current.
Sequential logic and systems
Sequential circuit design
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR1 Sequential Circuit Design.
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
ECE 320 Homework #6 Derive the state table and state diagram of the sequential circuit of the Figure below. What is the function of the circuit? A’ A.
T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T =
Rabie A. Ramadan Lecture 2
Flip_Flops  Logic circuits are classified ito two groups  1. The combinational logic circuits,using the basic gates AND,OR and NOT.  2. Sequential.
Circuit, State Diagram, State Table
Chap 4. Sequential Circuits
Fall 2004EE 3563 Digital Systems Design EE3563 Chapter 7, 8, 10 Reading Assignments  7.1, 7.2, 7.3  8.1, ,   8.5.1, 8.5.2,
Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 – Lab 7 Binary Counter.
ANALYSIS OF SEQUENTIAL CIRCUITS by Dr. Amin Danial Asham.
Sequential Circuit: Analysis BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
1Sequential circuit design Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA by Erol Sahin and Ruken Cakici.
Sahar Mosleh PageCalifornia State University San Marcos 1 More on Flip Flop State Table and State Diagram.
A sequential logic circuit (a.k.a. state machine) consists of both combinational logic circuit(s) and memory devices (flip flops). The combinational circuits.
Introduction to Sequential Logic Design Finite State-Machine Analysis.
IKI b-Analysis of Sequential Logic Bobby Nazief Semester-I The materials on these slides are adopted from: CS231’s Lecture Notes at.
Sequential circuit analysis1 Sequential Circuit Analysis Last time we started talking about latches and flip-flops, which are basic one-bit memory units.
5 - 1 Chapter 6 Analysis of Sequential Systems Chapter 6 Analysis of Sequential Systems 6.0 Introduction  Clocked System Clock A signal that alternates.
3 BIT DOWN COUNTER SUBJECT: DIGITAL ELECTONICS CODE: COLLEGE: BVM ENGINEERING COLLEGE COLLEGE CODE:008 ELECTRONICS & TELECOMMUNICATION DEPT.
Sequential Circuit Design 05 Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA.
Materials on the Exam Introduction Data Representation in Computer Systems Boolean Algebra Digital Logic MARIE: An Introduction to a Simple Computer Until.
(Synchronous) Sequential Logic 04 Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA.
1 Lecture #15 EGR 277 – Digital Logic Reading Assignment: Chapter 5 in Digital Design, 3 rd Edition by Mano Example: (Problem 5-17 from Digital Design,
Synchronous Sequential Logic
Introduction to Sequential Logic Design
SEQUENTIAL CIRCUITS Sequential Circuits Sequential Circuits.
ANALYSIS OF SEQUENTIAL CIRCUITS
Finite State Machine, Memory Systems
Lab. on Finite State Machine
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
T Flip-Flop A T (toggle) flip-flop is a complementing flip-flop and can be obtained from a JK flip-flop when the two inputs are tied together. When T.
Princess Sumaya University
Sequential circuit design
Sequential circuit design
Sequential circuit design
Reference: Chapter 5 Sequential Circuits Moris Mano 4th Ediditon
MTE 202, Summer 2016 Digital Circuits Dr.-Ing. Saleh Hussin
Lecture No. 32 Sequential Logic.
Sequential circuit analysis: kale
Synchronous Sequential Logic
Analysis with JK flip-flops
EGC 442 Introduction to Computer Architecture
SYEN 3330 Digital Systems Chapter 6 – Part 3 SYEN 3330 Digital Systems.
Sequential circuit analysis
A B x y A+ B+ z 1 Q X Y Q(t+1) S 1.
ANALYSIS OF SEQUENTIAL CIRCUIT LOGIC DIAGRAM
Sequential Circuit Analysis
A B x y A+ B+ z 1 Q X Y Q(t+1) S 1.
Presentation transcript:

Analyzing our example circuit A basic state table for our example circuit is shown below. Remember that there is one input X, one output Z, and two flip-flops Q1Q0. The present state Q1Q0 and the input will determine the next state and the output. Sequential circuit analysis

Output at the current time The outputs are easy The output depends on the current state – Q0 and Q1 – as well as the inputs. From the diagram, you can see that Z = Q1Q0X Output at the current time Sequential circuit analysis

Step 1: Flip-flop input equations For our example, the flip-flop input equations are: J1 = X’ Q0 K1 = X + Q0 J0 = X + Q1 K0 = X’ JK flip-flops each have two inputs, J and K. (D and T flip- flops have one input each.) Sequential circuit analysis

Step 2: Flip-flop input values With these equations, we can make a table showing J1, K1, J0 and K0 for the different combinations of present state Q1Q0 and input X. J1 = X’ Q0 J0 = X + Q1 K1 = X + Q0 K0 = X’ Sequential circuit analysis

Step 3: Find the next states Finally, use the JK flip-flop characteristic tables or equations to find the next state of each flip-flop, based on its present state and inputs. The general JK flip-flop characteristic equation is: Q(t+1) = K’Q(t) + JQ’(t) In our example circuit, we have two JK flip-flops, so we have to apply this equation to each of them: Q1(t+1) = K1’Q1(t) + J1Q1’(t) Q0(t+1) = K0’Q0(t) + J0Q0’(t) We can also determine the next state for each input/current state combination directly from the characteristic table. Sequential circuit analysis

Sequential circuit analysis Step 3 concluded Finally, here are the next states for Q1 and Q0, using these equations: Q1(t+1) = K1’Q1(t) + J1Q1’(t) Q0(t+1) = K0’Q0(t) + J0Q0’(t) Sequential circuit analysis

Getting the state table columns straight The table starts with Present State and Inputs. Present State and Inputs yield FF Inputs. Present State and FF Inputs yield Next State, based on the flip- flop characteristic tables. Present State and Inputs yield Output. We really only care about FF Inputs in order to find Next State. Note: the outputs occur this cycle and the next state in the next cycle Sequential circuit analysis

Sequential circuit analysis State diagrams We can also represent the state table graphically with a state diagram. A diagram corresponding to our example state table is shown below. input output 00 01 10 11 1/0 0/0 1/1 state Sequential circuit analysis