D Flip-Flop Schematic Block Symbol Truth Table D Q Clk Q Clk D Q(t+1)

Slides:



Advertisements
Similar presentations
ENGIN112 L23: Finite State Machine Design Procedure October 27, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 23 Finite State Machine.
Advertisements

Lecture #24 Page 1 EE 367 – Logic Design Lecture #24 Agenda 1.State Machines Review Announcements 1.n/a.
1 Steps towards State assignment Slides of Mark Schulz used.
State-machine structure (Mealy)
Review for Exam 2 Using MUXs to implement logic
CS 140 Lecture 10 Sequential Networks: Implementation Professor CK Cheng CSE Dept. UC San Diego 1.
COE 202: Digital Logic Design Sequential Circuits Part 3
Digital Electronics Chapter 5 Synchronous Sequential Logic.
Circuits require memory to store intermediate data
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.
CS 151 Digital Systems Design Lecture 25 State Reduction and Assignment.
CSE 140 Lecture 8 Sequential Networks Professor CK Cheng CSE Dept. UC San Diego 1.
CS 140 Lecture 8 Sequential Networks Professor CK Cheng CSE Dept. UC San Diego.
Give qualifications of instructors: DAP
Contemporary Logic Design Finite State Machine Design © R.H. Katz Transparency No Chapter #8: Finite State Machine Design Finite State.
Sequential Circuit Design
CS 140L Lecture 7 Professor CK Cheng 11/12/02. Transformation between Mealy and Moore Machines Algorithm: 1) For each NS, z = S i, j create a state S.
CS 140 Lecture 11 Professor CK Cheng 5/31/02. C1C2 CLK x(t) y(t) Sequential Network Implementation Mealy & Moore machine State Table  Netlist s(t) D(t)
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)
ENGIN112 L25: State Reduction and Assignment October 31, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 25 State Reduction and Assignment.
So far, all of the logic circuits we have studied were basically based on the analysis and design of combinational digital circuits. The other major aspect.
Introduction to Sequential Design. Types of Logic Circuits  Logic circuits can be: Combinational Logic Circuits-outputs depend only on current inputs.
FAMU-FSU College of Engineering EEL 3705 / 3705L Digital Logic Design Fall 2006 Instructor: Dr. Michael Frank Module #8: Introduction to Sequential Logic.
Lecture 18 More Moore/Mealy machines.
Lecture 9: Sequential Networks: Implementation CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer Science.
DLD Lecture 26 Finite State Machine Design Procedure.
ANALYSIS OF SEQUENTIAL CIRCUITS by Dr. Amin Danial Asham.
Sequential Circuit: Analysis BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Lecture 7: Sequential Networks CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer Science and Engineering.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Introduction to Sequential Logic Design Finite State-Machine Analysis.
CSE 140 Lecture 8 Sequential Networks
Sequential Networks and Finite State Machines
Figure 8.1. The general form of a sequential circuit.
Chapter #6: Sequential Logic Design
Summary Latch & Flip-Flop
Introduction to Sequential Logic Design
ANALYSIS OF SEQUENTIAL CIRCUITS
Analysis of Clocked Sequential Circuit
EEL 3705 / 3705L Digital Logic Design
Learning Outcome By the end of this chapter, students are expected to refresh their knowledge on sequential logic related to HDL.
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Flip-Flop Instructor : Nyoman Karna Course Number : FEH2H3
Assistant Prof. Fareena Saqib Florida Institute of Technology
CSE 140 MT 2 Review By Daniel Knapp.
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.
FINITE STATE MACHINES (FSMs)
CPE/EE 422/522 Advanced Logic Design L03
Sequential logic circuits
Sequential Networks and Finite State Machines
Digital Logic & Design Dr. Waseem Ikram Lecture No. 34.
Combinational Logic Instructor : Nyoman Karna Course Number : FEH2H3
CSE 140L Discussion Finite State Machines.
Instructor: Alexander Stoytchev
ECE 3130 – Digital Electronics and Design
EEL 3705 / 3705L Digital Logic Design
CSE 370 – Winter Sequential Logic-2 - 1
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Instructor: Alexander Stoytchev
SYEN 3330 Digital Systems Chapter 6 – Part 5 SYEN 3330 Digital Systems.
Synchronous Sequential Logic
SYEN 3330 Digital Systems Chapter 6 – Part 3 SYEN 3330 Digital Systems.
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
CSE 140 Lecture 9 Sequential Networks
Lecture 22 Logistics Last lecture Today HW7 is due on Friday
Lecture 22 Logistics Last lecture Today HW7 is due on Friday
Presentation transcript:

D Flip-Flop Schematic Block Symbol Truth Table D Q Clk Q Clk D Q(t+1) X Q(t) 1 Clk Q

JK Flip-Flop J Q K Q Clk Truth Table Clk J K Q(t+1) X Q(t) 1 Q(t)’ X Q(t) 1 Q(t)’ Block Symbol JK FF Function: Adding inverter functionality to DFF J Q K Q Clk

T Flip-Flop Q Clk Q Truth Table Clk T Q(t+1) X Q(t) 1 Q(t)’ X Q(t) 1 Q(t)’ Block Symbol T FF Aplikasi : untuk menentukan bit pariti data serial T Q Clk Q

Finite State Machine Instructor : Nyoman Karna Course Number : FEH2H3 As Taught In : 1st semester 2017-2018 Level : Undergraduate

FSM Model Characteristics: FSM has the ability to memorize state

FSM Model MEALY: FSM model where the output state depends with input and present state. MOORE: Simplification from Mealy model where output state depends only with present state.

Mealy Model NS: Next State PS: Present State

Moore Model NS: Next State PS: Present State

Sequence of States

Number of States How many states does an FSM have? If an FSM has N variable state, then there will be a maximum of 2N states and a minimum of 2 states: 2 < (number of states) < 2N

State Diagram (1)

State Diagram (2) Simple 2-way state diagram using X as an input of the FSM. Move to the right when X (X=1) and to the left whenX (X=0)

State Diagram (3) Simple 2-way state diagram using X as an input of the FSM. Move to the right when X (X=1) and to the left whenX (X=0). The FSM has Z as the output of the FSM, become active (Z=1) when the 111 state is achieved (A = 1, B = 1, C = 1) Moore Model.

State Diagram (4) Simple 2-way state diagram using X as an input of the FSM. Move to the right when X (X=1) and to the left whenX (X=0). The FSM has Z as the output of the FSM, become active (Z=1) when the 111 state is achieved (A = 1, B = 1, C = 1) and X=1 Mealy Model.

State Diagram Creation: Rule #1 The sum (OR function) of all outgoing variable from every state = 1 Only 1 change in variable state (no 111  000)

Designing an FSM

FSM Synthesizing(1) 1. Identify the Flip-Flop Qt  Qt+1 S R 0  0 0  0 0  1 1  0 1  1 0  1 0 0 1  0 Qt  Qt+1 D 0  0 0  1 1  0 1  1 1 SET 1 SET HOLD Qt  Qt+1 T 0  0 0  1 1  0 1  1 0 RST HOLD 1 TOGGLE 0 SET HOLD Qt  Qt+1 J K 0  0 0  1 1  0 1  1 0  1   1  0

FSM Synthesizing (2) 2. Design a combinational logic to map the output - Moore: input = PS (Present State) - Mealy: input = PS (Present State) + FSM INPUT

FSM Synthesizing (3) 3. Design a combinational logic to map the NS (Next State) - Moore: - Mealy:

How many inputs does the FSM have? How many output does the FSM have? Example 1 How many inputs does the FSM have? How many output does the FSM have? How many FF does the FSM have? Which FF do we use? Create the logic to create output Create the logic to create NS A X B A 1 Z B

How many inputs does the FSM have? How many output does the FSM have? Practice 1 How many inputs does the FSM have? How many output does the FSM have? How many FF does the FSM have? Which FF do we use? Create the logic to create output Create the logic to create NS X 1

How many inputs does the FSM have? How many output does the FSM have? Practice 2 How many inputs does the FSM have? How many output does the FSM have? How many FF does the FSM have? Which FF do we use? Create the logic to create output Create the logic to create NS A X A A 1 A

How many inputs does the FSM have? How many output does the FSM have? Practice 3 How many inputs does the FSM have? How many output does the FSM have? How many FF does the FSM have? Which FF do we use? Create the logic to create output Create the logic to create NS A X B A 1 Z B

Practice 4 A A X 00 01 Z 10 11 B B

Practice 5 A A 00 01 Z 11 A A

Practice 6 A A 00 Z 11 A A