Example: Re-design with Moore Model

Slides:



Advertisements
Similar presentations
Tutorial 2 Sequential Logic. Registers A register is basically a D Flip-Flop A D Flip Flop has 3 basic ports. D, Q, and Clock.
Advertisements

State-machine structure (Mealy)
State Machine Design Procedure
Analysis of Clocked Sequential Circuits
TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
Overview Sequential Circuit Design Specification Formulation
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 20 Datapath and Control Datapath - performs data transfer and processing operations.
Overview Part 1 - Storage Elements and Sequential Circuit Analysis
KU College of Engineering Elec 204: Digital Systems Design
Clocked Synchronous State Machine Design
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 17 Design a clock synchronous sequential circuit with two inputs A, B and a single.
Overview Part 1 Part 2 Sequential Circuit Design
Chapter 5 - Part Sequential Circuit Design Design Procedure  Specification  Formulation - Obtain a state diagram or state table  State Assignment.
Analyzing our example circuit
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 2 – Sequential.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Unit 14 Derivation of State Graphs
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 21 Multiplier Example Example: (101 x 011) Base 2 Note that the partial product summation.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 2 – Sequential.
1 Lecture #12 EGR 277 – Digital Logic Synchronous Logic Circuits versus Combinational Logic Circuits A) Combinational Logic Circuits Recall that there.
CPEN Digital System Design Chapter 5 - Sequential Circuits Sequential Circuit Design C. Gerousis © Logic and Computer Design Fundamentals, 4 rd Ed.,
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 11 Binary Adder/Subtractor.
Introduction to State Machine
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 2 – Sequential.
Sequential Circuit: Analysis BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Analysis and Synthesis of Synchronous Sequential Circuits A “synchronizing” pulse/edge signal (clock) controls the operation of the memory portion of the.
University of Texas at Austin CS310 - Computer Organization Spring 2009 Don Fussell State Machines.
Sequential Circuit: Design BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
3 BIT DOWN COUNTER SUBJECT: DIGITAL ELECTONICS CODE: COLLEGE: BVM ENGINEERING COLLEGE COLLEGE CODE:008 ELECTRONICS & TELECOMMUNICATION DEPT.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
5.3 Sequential Circuits - An Introduction to Informatics WMN Lab. Hey-Jin Lee.
State Diagrams Tuesday, 12 September State diagram Graphical representation of a state table. –Provides the same information as a state table. –A.
Overview Part 1 - Storage Elements and Sequential Circuit Analysis
Sequential Networks and Finite State Machines
4.
Sequential Circuit Design
Computer Organization
Sequential logic design principles
Introduction to Advanced Digital Design (14 Marks)
Adapted by Dr. Adel Ammar
EKT 221 – Counters.
EKT 221 : Digital 2 COUNTERS.
FIGURE 5.1 Block diagram of sequential circuit
Sequential Circuit: Counter
Digital Design Lecture 9
Dr. Clincy Professor of CS
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
332:437 Lecture 12 Finite State Machine Design
KU College of Engineering Elec 204: Digital Systems Design
Edge-Triggered FF Operation
KU College of Engineering Elec 204: Digital Systems Design
Instructor: Alexander Stoytchev
Chapter 6 – Part 4 SYEN 3330 Digital Systems SYEN 3330 Digital Systems
Digital Logic & Design Dr. Waseem Ikram Lecture No. 31.
Instructor: Alexander Stoytchev
KU College of Engineering Elec 204: Digital Systems Design
EE2174: Digital Logic and Lab
Number Systems and Circuits for Addition
MTE 202, Summer 2016 Digital Circuits Dr.-Ing. Saleh Hussin
Instructor: Alexander Stoytchev
KU College of Engineering Elec 204: Digital Systems Design
Sequential Design Example
SYEN 3330 Digital Systems Chapter 6 – Part 3 SYEN 3330 Digital Systems.
Binary Adder/Subtractor
ANALYSIS OF SEQUENTIAL CIRCUIT LOGIC DIAGRAM
Outline Registers Counters 5/11/2019.
Instructor: Alexander Stoytchev
Chapter 5 – Sequential Circuits
Presentation transcript:

Example: Re-design with Moore Model The state table is shown below Memory requires more states in the Moore model: “Moore is More.” A/0 B/0 C/0 D/0 E/1 1 Present State Next State x=0 x=1 Output y A B C D E 1 KU College of Engineering Elec 204: Digital Systems Design

Sequential Design: Example 3 Design a sequential modulo 3 accumulator for 2-bit operands Definitions: Modulo n adder - an adder that gives the result of the addition as the remainder of the sum divided by n Example: 2 + 2 modulo 3 = remainder of 4/3 = 1 Accumulator - a circuit that “accumulates” the sum of its input operands over time - it adds each input operand to the stored sum, which is initially 0. Stored sum: (Y1,Y0), Input: (X1,X0), Output: (Z1,Z0) KU College of Engineering Elec 204: Digital Systems Design

KU College of Engineering Elec 204: Digital Systems Design Example 3 (continued) Complete the state diagram: A/00 00 Reset 01 C/10 Add arc labeled 10 from state A to state C Add arc labeled 00 from state B to state B Add arc labeled 01 from state B to state C Add arc labeled 10 from state B to state A Add arc labeled 00 from state C to state C Add arc labeled 01 from state C to state A Add arc labeled 10 from state C to state B B/01 KU College of Engineering Elec 204: Digital Systems Design

KU College of Engineering Elec 204: Digital Systems Design Example 3 (continued) Complete the state table State Assignment: (Y1,Y0) = (Z1,Z0) Codes are in gray code order to ease use of K-maps in the next step X1X0 Y1Y0 00 01 11 10 Z1Z0 Y1(t+1), Y0(t+1) A (00) X B (01) - (11) C (10) Add entry 01 in (00),(01) Add entry 10 in (00)(10) Add entry 01 in (01)(00) Add entry 10 in (01)(01) Add entry 00 in (01)(10) Add entry 10 in (10)(00) Add entry 00 in (10)(01) Add entry 01 in (10)(10) KU College of Engineering Elec 204: Digital Systems Design

KU College of Engineering Elec 204: Digital Systems Design Example 3 (continued) Find optimized flip-flop input equations for D flip-flops D1 = D0 = D1 Y0 Y1 X1 X0 X D0 Entries in locations 0 through 15 for D1 = 0,0,1,X; 0,1,0,X;1,0,0,X; X,X,X,X Entries in locations 0 through 15 for D0 = 0,1,0,X; 1,0,0,X;0,0,1,X; X,X,X,X Prime implicants (all essential) are given in the equations below: D1 = Y1X1’X0’ + Y0X0 + Y1’Y0’X1 D0 = Y0X1’X0’ + Y1X1 + Y1’Y0’X0 KU College of Engineering Elec 204: Digital Systems Design

Circuit - Final Result with AND, OR, NOT X1 D C R Y1 Z1 X0 Y0 D Z0 C R Reset Clock KU College of Engineering Elec 204: Digital Systems Design

KU College of Engineering Elec 204: Digital Systems Design Example Design a clock synchronous sequential circuit with two inputs A, B and a single output Z that is 1 if: A had the same value at each of the two previous clock ticks, or B has been 1 since the last time that the first condition was true. Otherwise, output should be 0. KU College of Engineering Elec 204: Digital Systems Design