Topic: Sequential Circuit Course: Logic Design Slide no. 1 Chapter #6: Sequential Logic Design.

Slides:



Advertisements
Similar presentations
11/12/2004EE 42 fall 2004 lecture 311 Lecture #31 Flip-Flops, Clocks, Timing Last lecture: –Finite State Machines This lecture: –Digital circuits with.
Advertisements

Introduction to Sequential Logic Design Latches. 2 Terminology A bistable memory device is the generic term for the elements we are studying. Latches.
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
1 Sequential Ckts, Latches and Timing Issues Today: Sequential Circuits, LatchesFirst Hour: Sequential Circuits, Latches –Section of Katz’s Textbook.
ELEC 256 / Saif Zahir UBC / 2000 Timing Methodology Overview Set of rules for interconnecting components and clocks When followed, guarantee proper operation.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Classification of Digital Circuits  Combinational. Output depends only on current input values.  Sequential. Output depends on current input values and.
Digital Logic Chapter 5 Presented by Prof Tim Johnson
Sequential Logic Latches and Flip-Flops. Sequential Logic Circuits The output of sequential logic circuits depends on the past history of the state of.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Sequential Circuits. 2 ياداوري  آموزش تکنيک هاي طراحي و پياده سازي سيستم هاي پيچيده: سيستم:  داراي ورودي ها، خروجي ها و رفتار مشخصي است −اين رفتار توسط.
Announcements Assignment 7 posted, due Friday 18 th All project components ordered Dates –Thursday 12/1 review lecture –Tuesday 12/6 project demonstrations.
Introduction to Sequential Logic Design Bistable elements Latches.
Chapter #6: Sequential Logic Design
1 Sequential Systems A combinational system is a system whose outputs depend only upon its current inputs. A sequential system is a system whose outputs.
Sequential logic circuits. 2 Outline Sequential Circuit Models –Asynchronous –Synchronous Latches Flip-Flops.
Nonlinear & Neural Networks LAB. CHAPTER 11 LATCHES AND FLIP-FLOPS 11.1Introduction 11.2Set-Reset Latch 11.3Gated D Latch 11.4Edge-Triggered D Flip-Flop.
Page 1 Sequential Logic Basic Binary Memory Elements.
Circuits require memory to store intermediate data
EET 1131 Unit 10 Flip-Flops and Registers
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Lecture 9 Memory Elements and Clocking
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.
11/15/2004EE 42 fall 2004 lecture 321 Lecture #32 Registers, counters etc. Last lecture: –Digital circuits with feedback –Clocks –Flip-Flops This Lecture:
Sequential Circuits. 2 Sequential vs. Combinational Combinational Logic:  Output depends only on current input −TV channel selector (0-9) Sequential.
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Flip-Flop Types.
Chapter #6: Sequential Logic Design 6.2 Timing Methodologies
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Sequential Switching Networks.
ELEC 256 / Saif Zahir UBC / 2000 Sequential Logic Design Sequential Networks Simple Circuits with Feedback R-S Latch J-K Flipflop Edge -Triggered Flip-Flops.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
1 CSE370, Lecture 14 Lecture 14 u Logistics n Midterm 1: Average 90/100. Well done! n Midterm solutions online n HW5 due date delayed until this Friday.
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
1 Flip Flops, Registers Today: Latches, Flip FlipsFirst Hour: Types of Latches, Flip Flips –Section of Katz’s Textbook –In-class Activity #1.
COE 202: Digital Logic Design Sequential Circuits Part 1
Introduction to Sequential Logic Design Flip-flops.
Digital System Design. Intro. VLSI: CMOS inverter.
Chap 4. Sequential Circuits
Introduction to Sequential Logic Design Flip-flops FSM Analysis.
Introduction to Sequential Logic Design Flip-flops.
D Latch Delay (D) latch:a) logic symbolb) NAND implementationc) NOR implementation.
Unit 11 Latches and Flip-Flops Fundamentals of Logic Design By Roth and Kinney.
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
1 CSE370, Lecture 15 Lecture 15 u Logistics n HW5 due this Friday n HW6 out today, due Friday Feb 20 n I will be away Friday, so no office hour n Bruce.
BR 8/991 DFFs are most common Most programmable logic families only have DFFs DFF is fastest, simplest (fewest transistors) of FFs Other FF types (T, JK)
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
6-1 Programmable and Steering Logic Chapter #6: Sequential Logic Design.
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
Sequential logic circuits
EKT 121 / 4 ELEKTRONIK DIGIT I
Synchronous Sequential Logic Part I
5 Chapter Synchronous Sequential Circuits 1. Logic Circuits- Review 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates.
Sahar Mosleh PageCalifornia State University San Marcos 1 More on Flip Flop State Table and State Diagram.
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
Chapter5: Synchronous Sequential Logic – Part 1
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Dept. of Electrical Engineering
CHAPTER 11 LATCHES AND FLIP-FLOPS This chapter in the book includes: Objectives Study Guide 11.1Introduction 11.2Set-Reset Latch 11.3Gated D Latch 11.4Edge-Triggered.
Flip-Flop Flip-flops Objectives Upon completion of this chapter, you will be able to :  Construct and analyze the operation of a latch flip-flop made.
©2010 Cengage Learning SLIDES FOR CHAPTER 11 LATCHES AND FLIP-FLOPS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This.
UNIT 11 LATCHES AND FLIP-FLOPS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter in the book includes: Objectives.
Lecture 10 Flip-Flops/Latches
LATCHES AND FLIP-FLOPS
Chapter #6: Sequential Logic Design
Learning Outcome By the end of this chapter, students are expected to refresh their knowledge on sequential logic related to HDL.
ECE Digital logic Lecture 16: Synchronous Sequential Logic
CSE 370 – Winter Sequential Logic-2 - 1
Synchronous sequential
Synchronous Sequential
SEQUENTIAL CIRCUITS __________________________________________________
Presentation transcript:

Topic: Sequential Circuit Course: Logic Design Slide no. 1 Chapter #6: Sequential Logic Design

Topic: Sequential Circuit Course: Logic Design Slide no. 2 Chapter Overview Sequential Networks Simple Circuits with Feedback R-S Latch J-K Flipflop Edge-Triggered Flipflops Realizing Circuits with Flipflops Choosing a FF Type Characteristic Equations Conversion Among Types Metastability and Asynchronous Inputs

Topic: Sequential Circuit Course: Logic Design Slide no. 3 Sequential Switching Networks Definition of Terms Setup Time (Tsu) Clock: Periodic Event, causes state of memory element to change rising edge, falling edge, high level, low level There is a timing "window" around the clocking event during which the input must remain stable and unchanged in order to be recognized There is a timing "window" around the clocking event during which the input must remain stable and unchanged in order to be recognized Minimum time before the clocking event by which the input must be stable Hold Time (Th) Minimum time after the clocking event during which the input must remain stable

Topic: Sequential Circuit Course: Logic Design Slide no R S Q \Q Sequential Switching Networks Cross-Coupled NOR Gates Timing Waveform Reset Hold Set Forbidden State ResetSet Forbidden State Race R S R S Q \Q

Topic: Sequential Circuit Course: Logic Design Slide no. 5 Sequential Switching Networks State Behavior of R-S Latch Truth Table Summary of R-S Latch Behavior

Topic: Sequential Circuit Course: Logic Design Slide no. 6 Sequential Switching Elements R-S Latch Truth Table: Next State = F(S, R, Current State) S R Q R-S Latch Q+ Derived K-Map: Characteristic Equation: Q+ = S + R Q t S(t) R(t) Q(t) Q(t+) (hold) (Hold) (reset) (reset) (set) (set) Not allowed Not allowed

Topic: Sequential Circuit Course: Logic Design Slide no. 7 Sequential Switching Networks J-K Latch J, K both one yields toggle Characteristic Equation: Q+ = Q K + Q J K JQ \Q J-K Latch J(t) K(t) Q(t) Q(t+) (hold) (Hold) (reset) (reset) (set) (set) (toggle) (toggle)

Topic: Sequential Circuit Course: Logic Design Slide no. 8 Sequential Switching Networks J-K Latch: Race Condition Set Reset Toggle Race Condition

Topic: Sequential Circuit Course: Logic Design Slide no. 9 Sequential Switching Networks Edge triggered device sample inputs on the event edge 7474 Bubble here for negative edge triggered device Positive edge-triggered flip-flop DQ Clk D-FlipFlop

Topic: Sequential Circuit Course: Logic Design Slide no. 10 Sequential Switching Networks Positive vs. Negative Edge Triggered Devices Positive Edge Triggered Inputs sampled on rising edge Outputs change after rising edge Negative Edge Triggered Inputs sampled on falling edge Outputs change after falling edge Toggle Flipflop Formed from J-K with both inputs wired together

Topic: Sequential Circuit Course: Logic Design Slide no. 11 Timing Methodologies Cascaded Flipflops and Setup/Hold/Propagation Delays Shift Register S,R are preset, preclear New value to first stage while second stage obtains current value of first stage Correct Operation, assuming positive edge triggered FF

Topic: Sequential Circuit Course: Logic Design Slide no. 12 Example: to be done during the class D-latch and D-Flipflop Transparent latches sample inputs as long as the clock is asserted

Topic: Sequential Circuit Course: Logic Design Slide no. 13 Realizing Circuits with Different Kinds of FFs Choosing a Flipflop R-S Clocked Latch: used as storage element in narrow width clocked systems its use is not recommended! however, fundamental building block of other flipflop types J-K Flipflop: versatile building block can be used to implement D and T FFs usually requires least amount of logic to implement ƒ(In,Q,Q+) but has two inputs with increased wiring complexity D Flipflop: minimizes wires, much preferred in VLSI technologies simplest design technique best choice for storage registers T Flipflops: don't really exist, constructed from J-K FFs usually best choice for implementing counters Preset and Clear inputs highly desirable!!

Topic: Sequential Circuit Course: Logic Design Slide no. 14 Realizing Circuits with Different Kinds of Flipflops Characteristic Equations R-S: D: J-K: T: Q+ = S + R Q Q+ = D Q+ = J Q + K Q Q+ = T Q + T Q Derived from the K-maps for Q+ = ƒ(Inputs, Q) E.g., J=K=0, then Q+ = Q J=1, K=0, then Q+ = 1 J=0, K=1, then Q+ = 0 J=1, K=1, then Q+ = Q Implementing One FF in Terms of Another D implemented with J-K D J K C Q Q Q

Topic: Sequential Circuit Course: Logic Design Slide no. 15 Realizing Circuits with Different Kinds of Flipflops Design Procedure Excitation Tables: What are the necessary inputs to cause a particular kind of change in state?

Topic: Sequential Circuit Course: Logic Design Slide no. 16 Metastability and Asynchronous Inputs Terms and Definitions Clocked synchronous circuits common reference signal called the clock state of the circuit changes in relation to this clock signal Asynchronous circuits inputs, state, and outputs sampled or changed independent of a common reference signal R-S latch is asynchronous, J-K FF is synchronous Synchronous inputs active only when the clock edge or level is active Asynchronous inputs take effect immediately, without consideration of the clock

Topic: Sequential Circuit Course: Logic Design Slide no. 17 Metastability and Asynchronous Inputs Asynchronous Inputs Are Dangerous! Since they take effect immediately, glitches can be disastrous Synchronous inputs are greatly preferred! But sometimes, asynchronous inputs cannot be avoided e.g., reset signal

Topic: Sequential Circuit Course: Logic Design Slide no. 18 Chapter Summary Fundamental Building Block of Circuits with State: latch and flipflop R-S Latch, J-K Flipflop, Edge-triggered D Flipflop