Learning Outcome By the end of this chapter, students are expected to refresh their knowledge on sequential logic related to HDL.

Slides:



Advertisements
Similar presentations
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
Advertisements

ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
Classification of Digital Circuits  Combinational. Output depends only on current input values.  Sequential. Output depends on current input values and.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Circuits require memory to store intermediate data
1 © 2014 B. Wilkinson Modification date: Dec Sequential Logic Circuits – I Flip-Flops A sequential circuit is a logic components whose outputs.
Digital Logic Design Brief introduction to Sequential Circuits and Latches.
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.
A clocked synchronous state-machine changes state only when a triggering edge or “tick” occurs on the clock signal. ReturnNext  “State-machine”: is a.
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)
Digital Computer Design Fundamental
COE 202: Digital Logic Design Sequential Circuits Part 1
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
Introduction to Sequential Logic Design Flip-flops FSM Analysis.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
Topic: Sequential Circuit Course: Logic Design Slide no. 1 Chapter #6: Sequential Logic Design.
Review of Digital Logic Design Concepts OR: What I Need to Know from Digital Logic Design (EEL3705)
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
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.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Introduction to Sequential Logic Design Finite State-Machine Analysis.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Dept. of Electrical Engineering
Sequential Logic Design
Sequential Circuits.
Lecture 4. Sequential Logic #1
Computer Architecture & Operations I
Sequential Circuits.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
LATCHED, FLIP-FLOPS,AND TIMERS
Chapter #6: Sequential Logic Design
Introduction to Sequential Logic Design
Chapter 7 Designing Sequential Logic Circuits Rev 1.0: 05/11/03
Flip-Flops and Related Devices
ANALYSIS OF SEQUENTIAL CIRCUITS
Lecture 8 Dr. Nermi Hamza.
Flip-FLops and Latches
Flip Flops.
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
FLIP FLOPS.
Flip-Flop.
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
Flip Flop.
Flip-FLops and Latches
Assistant Prof. Fareena Saqib Florida Institute of Technology
Introduction to Sequential Logic Design
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Sequential Circuits: Flip-Flops
Flip-FLops and Latches
Digital Logic Design Sequential Circuits (Chapter 6)
Sequential logic circuits
Flip-FLops and Latches
Flip-FLops and Latches
触发器 Flip-Flops 刘鹏 浙江大学信息与电子工程学院 March 27, 2018
Reference: Chapter 5 Sequential Circuits Moris Mano 4th Ediditon
FLIP-FLOPS.
Synchronous sequential
Synchronous Sequential
Flip-Flops.
SYEN 3330 Digital Systems Chapter 6 – Part 3 SYEN 3330 Digital Systems.
Lecture 14: State Tables, Diagrams, Latches, and Flip Flop
Flip-FLops and Latches
SEQUENTIAL CIRCUITS __________________________________________________
Sequential Digital Circuits
Week 11 Flip flop & Latches.
Presentation transcript:

EEE2243 Digital System Design Chapter 2: Sequential Logic Recap by Muhazam Mustapha, January 2011

Learning Outcome By the end of this chapter, students are expected to refresh their knowledge on sequential logic related to HDL

Chapter Content Sequential Logic Methodologies in Sequential Logic

Sequential Logic

Definition Sequential logic is the type of digital system that does not only depend on current input, but also the previous history of the system For that reason sequential logic requires memory elements to function Sequential systems also require external combinational system to make transitions from state to state We’ll refresh our memory about sequential logic enough for use with HDL (Verilog)

General Block Diagram Input Output Combinational Logic Current State Next State Sequential System Sequential Logic Clock Vahid Example 3.11 pg 139

Flip-Flops Flip-flops are the most basic memory elements used in sequential systems There are 4 elementary flip-flops A group of flip-flops that are used together to achieve the system functionality is called REGISTER Difference between flip-flops and latches Flip-flops are edge triggered Latches are level triggered - SR Latches - JK Flip-Flops - D Flip-Flops - T Flip-Flops

SR Latch SR latch is the simplest kind of bi-stable memory element Can be built either by NOR or NAND gates: S S Q Q S Q S Q R Q R Q Q Q R R S R Q Invalid 1 Stay Characteristic equation: S R Q Stay 1 Invalid

JK Flip-flop Can be constructed from SR latch to remove invalid input combination J K Q Next Q (Q*) 1 Characteristic equation: J Q clk K Q J S Q clk K R Q

D Flip-flop The most popular flip-flop nowadays Built with inverted input JK flip-flop Characteristic equation: D Q D Q Q* 1 clk Q D J Q clk K Q

T Flip-flop JK flip-flop with tied-up inputs Toggles if T is high, otherwise stays Characteristic equation: T Q T Q Q* 1 clk Q T J Q clk K Q

Methodoligies in Sequential Logic

Triggering Modes Level Triggered Edge Triggered High Level Q Positive Edge Q FF FF Q Q Low Level Q Negative Edge Q FF FF Q Q The flip-flop is called latch The trigger is called clock

Clocking Modes Asynchronous Common Global Clock Synchronous D Q D Q D clk clk clk Asynchronous D Q D Q D Q clk clk clk Common Global Clock Synchronous

Timing Diagram Trigger Trigger Trigger of more than 1 line change undefined

Setup and Hold Time Setup: minimum time to allow input to stabilized before clock arrival So that transition is done on valid inputs Setup time Hold time Hold: minimum time for input to stay stable after clock arrival So that clock has time to propogate Vahid §3.5 pg 146

Set vs Reset Set (or preset): flip-flop is given a value of 1 Synchronous: the set or reset signal arrives to the flip-flop but the set or reset process only takes place when clock comes Asynchronous: set or reset process takes place immediately when the signal arrives regardless of clock FF Q FF Q FF Q FF Q S Q R Q AS Q AR Q Vahid §3.5 pg 149

Finite State Machine FSM is a behavioral model of digital sequential system It is defined by a few predetermined states It is drawn like a flow chart showing transitions between states and what condition triggers it Two methods of FSM design: Mealy Machine: output depends on both current state and input Moore Machine: output depend only on current state Vahid §3.3 pg 122

Mealy Machine Input Output

Moore Machine