SYEN 3330 Digital Systems Chapter 6 – Part 5 SYEN 3330 Digital Systems.

Slides:



Advertisements
Similar presentations
General Sequential Design
Advertisements

CDA 3100 Recitation Week 11.
State-machine structure (Mealy)
//HDL Example 5-1 // //Description of D latch (See Fig.5-6) module D_latch (Q,D,control); output Q; input.
TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
A. Abhari CPS2131 Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 6 – Part 1.
Sequential logic circuits. 2 Outline Sequential Circuit Models –Asynchronous –Synchronous Latches Flip-Flops.
CPEN Digital System Design Chapter 5 Sequential Circuits Storage Elements and Sequential Circuit Analysis C. Gerousis © Logic and Computer Design.
CSCE 211: Digital Logic Design. Chapter 6: Analysis of Sequential Systems.
1 Sequential Circuits Dr. Pang. 2 Outline Introduction to sequential circuits Basic latch Gated SR latch and gated D latch D flip-flop, T flip-flop, JK.
EECC341 - Shaaban #1 Lec # 14 Winter Clocked Synchronous State-Machines Such machines have the characteristics: –Sequential circuits designed.
Overview Part 1 - Storage Elements and Sequential Circuit Analysis
Sequential logic and systems
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 4 – Part 3 Tom Kaminski & Charles.
COE 202: Digital Logic Design Sequential Circuits Part 1
Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 1 Digital Systems Design Shyue-Kung Lu Department of Electronic.
Computer Organization & Programming Chapter 5 Synchronous Components.
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 4 – Part 4 Tom Kaminski & Charles.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 6 – Part 4.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
5 - 1 Chapter 6 Analysis of Sequential Systems Chapter 6 Analysis of Sequential Systems 6.0 Introduction  Clocked System Clock A signal that alternates.
4.
Figure 8.1. The general form of a sequential circuit.
EMT 351/4 DIGITAL IC DESIGN Week # Synthesis of Sequential Logic 10.
CSCE 211: Digital Logic Design
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Synchronous Sequential Circuits
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
ECE 301 – Digital Electronics
Instructor: Alexander Stoytchev
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.
Instructor: Alexander Stoytchev
Sequential Circuits: Flip-Flops
Latches and Flip-flops
Princess Sumaya University
Digital Logic Design Sequential Circuits (Chapter 6)
Sequential logic circuits
Chapter 6 -- Introduction to Sequential Devices
Jeremy R. Johnson Mon. Apr. 3, 2000
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
ECE 3130 – Digital Electronics and Design
Chapter 6 – Part 4 SYEN 3330 Digital Systems SYEN 3330 Digital Systems
Digital Logic & Design Dr. Waseem Ikram Lecture No. 31.
Instructor: Alexander Stoytchev
CSE 370 – Winter Sequential Logic-2 - 1
Assignment 1.
ECE 3130 – Digital Electronics and Design
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
D Flip-Flop Schematic Block Symbol Truth Table D Q Clk Q Clk D Q(t+1)
Reference: Chapter 5 Sequential Circuits Moris Mano 4th Ediditon
Lecture No. 32 Sequential Logic.
Combinational Circuits
EGC 442 Introduction to Computer Architecture
Instructor: Alexander Stoytchev
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
SYEN 3330 Digital Systems Chapter 6 – Part 3 SYEN 3330 Digital Systems.
Systems Architecture I
Reference: Moris Mano 4th Edition Chapter 5
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Chapter5: Synchronous Sequential Logic – Part 3
CSE 370 – Winter Sequential Logic-2 - 1
ECE/CS 352 Digital Systems Fundamentals
COE 202: Digital Logic Design Sequential Circuits Part 3
(Sequential-Circuit Building Blocks)
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Presentation transcript:

SYEN 3330 Digital Systems Chapter 6 – Part 5 SYEN 3330 Digital Systems

Overview of Chapter 6 Types of Sequential Circuits Storage Elements Latches Flip-Flops Sequential Circuit Analysis State Tables State Diagrams Sequential Circuit Design Specification Assignment of State Codes Implementation HDL Representation SYEN 3330 Digital Systems

Sequential Circuit Implementation SYEN 3330 Digital Systems

State Coding – Example 1 How may assignments of codes with a minimum number of bits? 2 – A = 0, B = 1 or A = 1, B = 0 Does it make a difference? Only in variable inversion, so small if any. SYEN 3330 Digital Systems

State Coding – Example 2 How may assignments of codes with a minimum number of bits? 4  3  2  1 = 24 Does code assignment make a difference? See Next Two Slides SYEN 3330 Digital Systems

State Coding – Example 2 Present State Next State x = 0 x = 1 Output 0 0 0 1 1 0 1 1 1 Code 1: A = 0 0, B = 0 1, C = 1 0, D = 1 1 See Next Slide SYEN 3330 Digital Systems

State Coding – Example 2 Present State Next State x = 0 x = 1 Output 0 0 0 1 1 1 1 0 1 Code 2: A = 0 0, B = 0 1, C = 1 1, D = 1 0 So it does make a difference in cost! SYEN 3330 Digital Systems

Implementation Present State Next State x = 0 x = 1 Output 0 0 0 1 1 1 1 1 1 0 1 Using code 2: SYEN 3330 Digital Systems

Implementation with DFF Present State Next State x = 0 x = 1 DFFY1 DFFY2 0 0 0 1 1 1 1 1 0 Using D = Q(t+1): SYEN 3330 Digital Systems

DFF Schematic SYEN 3330 Digital Systems

Implementation with TFF Present State Next State x = 0 x = 1 TFFY1 TFFY2 0 0 0 1 1 1 1 1 0 Using T = Q(t)  Q(t+1) SYEN 3330 Digital Systems

Implementation with JKFF SYEN 3330 Digital Systems

Implementation with JKFF (Cont.) SYEN 3330 Digital Systems

Implementation with JKFF (Cont.) Present State Next State x = 0 x = 1 JY1 KY1 0 0 0 1 X 1 1 1 1 0 SYEN 3330 Digital Systems

RS Flip-Flop Implementation SYEN 3330 Digital Systems

RS Implementation (Cont.) Present State Next State x = 0 x = 1 SY1 RY1 0 0 0 1 X 1 1 1 1 0 SYEN 3330 Digital Systems

Sequential Logic Design Process SYEN 3330 Digital Systems

Second Example – Register File Cell: State Diagram Design Make the state unchanged (Hold Reg) by adding all unused input combinations for each state. CLS,LDS,Data_in State/Data_out(i) 0, 1, 0; 1, -, - 0, 1, 1 RESET A/0 B/1 0,1,0; 1,-,-; 0,0,- 0,1,1; 0,0,- SYEN 3330 Digital Systems

Second Example – Register File Cell: State Table – State Assignment (A=0, B=1) Input: State: 000 001 010 011 100 101 110 111 Output A B 1 Input: State: 000 001 010 011 100 101 110 111 Output 1 SYEN 3330 Digital Systems

DFF Implementation Moving State Table Data to a K-Map and Solving: LDS Q LDS Data_in CLS 1 SYEN 3330 Digital Systems

JKFF Implementation Moving State Table Data to a K-Map and solving: LDS LDS KQ X X X X JQ 1 X X X X CLS CLS 1 1 1 1 X X Q X X Q 1 X X X X Data_in Data_in SYEN 3330 Digital Systems

Review: Excitation Tables SYEN 3330 Digital Systems