ECE 434 Advanced Digital System L05

Slides:



Advertisements
Similar presentations
Digital Logic Chapter 5 Presented by Prof Tim Johnson
Advertisements

CSCE 211: Digital Logic Design. Chapter 6: Analysis of Sequential Systems.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
1 Design of a Sequence Detector (14.1) Seq. ends in > Z=1 (no reset) Otherwise--> Z=0 Typical input/output sequence Partial Soln. (Mealy Network):
Rabie A. Ramadan Lecture 3
2017/4/24 1.
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Overview Part 1 - Storage Elements and Sequential Circuit Analysis
CHAPTER 16 SEQUENTIAL CIRCUIT DESIGN
Digital Design - Sequential Logic Design
Computer Architecture & Operations I
LATCHED, FLIP-FLOPS,AND TIMERS
Chapter #6: Sequential Logic Design
Lecture 13 Derivation of State Graphs and Tables
CS 352 Introduction to Logic Design
Lecture 12 Analysis of Clocked Sequential Network
Sequential logic design principles
Computer Architecture & Operations I
Analysis of Clocked Sequential Circuit
SLIDES FOR CHAPTER 13 ANALYSIS OF CLOCKED SEQUENTIAL CIRCUITS
EKT 221 : Digital 2 COUNTERS.
CS 352 Introduction to Logic Design
CSCE 211: 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.
DR S. & S.S. GHANDHY ENGINEENRING COLLEGE
Sequential Circuits Most digital systems like digital watches, digital phones, digital computers, digital traffic light controllers and so on require.
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Asynchronous Inputs of a Flip-Flop
Sequential Circuit - Counter -
Malik Najmus Siraj Digital Logic Design Malik Najmus Siraj
ECE 434 Advanced Digital System L03
Introduction to Sequential Logic Design
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Sequential Circuits: Flip-Flops
Latches and Flip-flops
CPE/EE 422/522 Advanced Logic Design L03
DIGITAL ELECTRONICS ТHEME 4: SEQUENTIAL LOGIC CIRCUITS. FLIP- FLOPS – ASYNCHRONOUS AND SYNCHRONOUS, R - S, D, T, J - K FLIP- FLOPS. The value of the outputs.
332:437 Lecture 12 Finite State Machine Design
Sequential logic circuits
Sequential Circuits: Latches
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
CPE/EE 422/522 Advanced Logic Design L02
CS Fall 2005 – Lec. #5 – Sequential Logic - 1
CSE 370 – Winter Sequential Logic-2 - 1
Elec 2607 Digital Switching Circuits
ECE 434 Advanced Digital System L08
CPE/EE 422/522 Advanced Logic Design L04
ECE 434 Advanced Digital System L04
触发器 Flip-Flops 刘鹏 浙江大学信息与电子工程学院 March 27, 2018
ECE434a Advanced Digital Systems L06
CSE 370 – Winter Sequential Logic - 1
CSE 370 – Winter Sequential Logic-2 - 1
EET107/3 DIGITAL ELECTRONICS 1
Sequential Circuits: Latches
COE 405 Sequential Circuit Design Review
Sequential Circuit Analysis & Design
Flip-Flops.
Lecture 14: State Tables, Diagrams, Latches, and Flip Flop
Instructor: Alexander Stoytchev
SEQUENTIAL CIRCUITS __________________________________________________
Week 11 Flip flop & Latches.
Presentation transcript:

ECE 434 Advanced Digital System L05 Electrical and Computer Engineering University of Western Ontario

Outline What we know What we do not know Combinational Networks Analysis, Synthesis, Simplification, Building Blocks, PALs, PLAs, ROMs Sequential Networks: Basic Building Blocks What we do not know Design: Mealy, Moore Sequential Network Timing Setup and hold times Max clock frequency 28/11/2018

Review: Sequential Networks Have memory (state) Present state depends not only on the current input, but also on all previous inputs (history) Future state depends on the current input and state X = x1 x2... xn Q = Q1 Q2... Qk Z = z1 z2... zm x1 z1 x2 z2 Q Flip-flops are commonly used as storage devices: D-FF, JK-FF, T-FF xn zm 28/11/2018

Review: Clocked D Flip-Flop with Rising-edge Trigger Next state The next state in response to the rising edge of the clock is equal to the D input before the rising edge 28/11/2018

Review: Clocked JK Flip-Flop Next state JK = 00 => no state change occurs JK = 10 => the flip-flop is set to 1, independent of the current state JK = 01 => the flip-flop is always reset to 0 JK = 11 => the flip-flop changes the state Q+ = Q’ 28/11/2018

Review: Clocked JK Flip-Flop Next state T = 1 => the flip-flop changes the state Q+ = Q’ T = 0 => no state change 28/11/2018

Review: S-R Latch, Transparent D-Latch 28/11/2018

Review: Mealy Sequential Networks General model of Mealy Sequential Network (1) X inputs are changed to a new value After a delay, the Z outputs and next state appear at the output of CM (3) The next state is clocked into the state register and the state changes 28/11/2018

An Example: 8421 BCD to Excess3 BCD Code Converter z Q X (inputs) Z (outputs) t3 t2 t1 t0 1 28/11/2018

State Graph and Table for Code Converter 28/11/2018

State Assignment Rules 28/11/2018

Transition Table 28/11/2018

K-maps 28/11/2018

Realization 28/11/2018

Sequential Network Timing Code converter X = 0010_1001 => Z = 1110_0011 Changes in X are not synchronized with active clock edge => glitches (false output), e.g. at tb 28/11/2018

Sequential Network Timing (cont’d) Timing diagram assuming a propagation delay of 10 ns for each flip-flop and gate (State has been replaced with the state of three flip-flops) 28/11/2018

Setup and Hold Times For a real D-FF D input must be stable for a certain amount of time before the active edge of clock cycle => Setup time D input must be stable for a certain amount of time after the active edge of the clock => Hold time Propagation time: from the time the clock changes to the time the output changes Manufacturers provide minimum tsu, th, and maximum tplh, tphl 28/11/2018

Maximum Clock Frequency - Max propagation delay through the combinational network - Max propagation delay from the time the clock changes to the flip-flop output changes { = max(tplh, tphl)} - Clock period Example: 28/11/2018

Hold Time Violation Occur if the change in Q fed back through the combinational network and cause D to change too soon after the clock edge Hold time is satisfied if: What about X? Make sure that input changes propagate to the flip-flops inputs such that setup time is satisfied. Make sure that X does not change too soon after the clock. If X changes at time ty after the active edge, hold time is satisfied if 28/11/2018

Moore Sequential Networks Outputs depend only on present state! X = x1 x2... xn Q = Q1 Q2... Qk Z = z1 z2... zm x1 z1 x2 z2 Q xn zm 28/11/2018

Moore Sequential Network: An Example A Converter for Serial Data Transmission: NRZ-to-Manchester Coding schemes for serial data transmission NRZ: nonreturn-to-zero NRZI: nonreturn-to-zero-inverted 0 - same as the previous bit; 1 - complement of the previous bit RZ: return-to-zero 0 – 0 for full bit time; 1 – 1 for the first half, 0 for the second half Manchester 28/11/2018

Moore Network for NRZ-to-Manchester 28/11/2018

Moore Network for NRZ-to-Manchester 28/11/2018

Synchronous Design Use a clock to synchronize the operation of all flip-flops, registers, and counters in the system all changes occur immediately following the active clock edge clock period must be long enough so that all changes flip-flops, registers, counters will have time to stabilize before the next active clock edge Typical design: Control section + Data Section 28/11/2018

Example Data section // s= n*(n+a) // R1=n, R2=a // R1=s Design flowchart for SMUL operation Design Control section S0 S1 F 0 0 B 0 1 B – C0 1 0 B + C0 1 1 A + B 28/11/2018

To Do Read Textbook chapters 1.6, 1.7, 1.8, 1.10, 1.11 28/11/2018