Dr. ClincyLecture Slide 1 CS 3501 - Chapter 3 (3A and 10.2.2) Part 8 of 8 Dr. Clincy Professor of CS.

Slides:



Advertisements
Similar presentations
State-machine structure (Mealy)
Advertisements

Register Transfer Level
CENG 241 Digital Design 1 Lecture 11
TOPIC : Finite State Machine(FSM) and Flow Tables UNIT 1 : Modeling Module 1.4 : Modeling Sequential circuits.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
CPEN Digital System Design Chapter 5 Sequential Circuits Storage Elements and Sequential Circuit Analysis C. Gerousis © Logic and Computer Design.
Dr. ClincyLecture1 Appendix A – Part 2: Logic Circuits Current State or output of the device is affected by the previous states Circuit Flip Flops New.
Lecture 22: Sequential Circuits Today’s topic –Clocks and sequential circuits –Finite state machines 1.
CS 151 Digital Systems Design Lecture 21 Analyzing Sequential Circuits.
ECE 331 – Digital System Design
Sequential Circuits and Finite State Machines Prof. Sin-Min Lee
CSCE 211: Digital Logic Design
1 COMP541 State Machines Montek Singh Feb 6, 2007.
Digital Logic Design Lecture 26. Announcements Exams will be returned on Thursday Final small quiz on Monday, 12/8. Final homework will be assigned Thursday,
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)
Sequential Circuit Introduction to Counter
A.Abhari CPS2131 Registers A register is a group of n flip-flops each of them capable of storing one bit of information There are two types of registers:
Counters  A counter is a device which stores (and sometimes displays) the number of times a particular event or process has occurred, often in relationship.
Lecture 10 Topics: Sequential circuits Basic concepts Clocks
IKI c-Synthesis of Sequential Logic Bobby Nazief Semester-I The materials on these slides are adopted from: Prof. Daniel Gajski’s transparency.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
1 Lecture #12 EGR 277 – Digital Logic Synchronous Logic Circuits versus Combinational Logic Circuits A) Combinational Logic Circuits Recall that there.
Counters Dr. Rebhi S. Baraka Logic Design (CSCI 2301) Department of Computer Science Faculty of Information Technology The Islamic University.
1 Lecture 22 Sequential Circuits Analysis. 2 Combinational vs. Sequential  Combinational Logic Circuit  Output is a function only of the present inputs.
BZUPAGES.COM1 Chapter 9 Counters. BZUPAGES.COM2 BzuPages.COM Please share your assignments/lectures & Presentation Slides on bzupages which can help your.
EEE2243 Digital System Design Chapter 4: Verilog HDL (Sequential) by Muhazam Mustapha, January 2011.
Module : FSM Topic : types of FSM. Two types of FSM The instant of transition from the present to the next can be completely controlled by a clock; additionally,
Fall 2004EE 3563 Digital Systems Design EE3563 Chapter 7, 8, 10 Reading Assignments  7.1, 7.2, 7.3  8.1, ,   8.5.1, 8.5.2,
ANALYSIS OF SEQUENTIAL CIRCUITS by Dr. Amin Danial Asham.
Analysis and Synthesis of Synchronous Sequential Circuits A “synchronizing” pulse/edge signal (clock) controls the operation of the memory portion of the.
ENG241 Digital Design Week #7 Sequential Circuits (Part B)
A sequential logic circuit (a.k.a. state machine) consists of both combinational logic circuit(s) and memory devices (flip flops). The combinational circuits.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Logic Design (CE1111 ) Lecture 6 (Chapter 6) Registers &Counters Prepared by Dr. Lamiaa Elshenawy 1.
COMBINATIONAL AND SEQUENTIAL CIRCUITS Guided By: Prof. P. B. Swadas Prepared By: BIRLA VISHVAKARMA MAHAVDYALAYA.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
1 Registers A register is a group of n flip-flops each of them capable of storing one bit of information There are two types of registers: parallel and.
1 Lecture 13: Sequential Circuits, FSM Today’s topics:  Sequential circuits  Finite state machines  Single-cycle CPU Reminder: midterm on Tue 10/20.
Dr. Clincy Professor of CS
Week #7 Sequential Circuits (Part B)
CS Chapter 3 (3A and ) Part 6 of 8
ANALYSIS OF SEQUENTIAL CIRCUITS
CS Chapter 3 (3A and ) – Part 5 of 5
Learning Outcome By the end of this chapter, students are expected to be able to: Design State Machine Write Verilog State Machine by Boolean Algebra and.
Sequential Logic Counters and Registers
SLIDES FOR CHAPTER 12 REGISTERS AND COUNTERS
Digital Design Lecture 9
CSCE 211: Digital Logic Design
Dr. Clincy Professor of CS
CS Chapter 3 (3A and ) – Part 4 of 5
Asynchronous Inputs of a Flip-Flop
CSE 140 MT 2 Review By Daniel Knapp.
CSCE 211: Digital Logic Design
CENG 241 Digital Design 1 Lecture 11
CSCE 211: Digital Logic Design
Digital Logic & Design Dr. Waseem Ikram Lecture No. 34.
CSCE 211: Digital Logic Design
Recap D flip-flop based counter Flip-flop transition table
Dr. Clincy Professor of CS
Dr. Clincy Professor of CS
Dr. Clincy Professor of CS
Instructor: Alexander Stoytchev
CS M51A/EE M16 Winter’05 Section 1 Logic Design of Digital Systems Lecture 12 February 28 W’05 Yutao He 4532B Boelter Hall
Dr. Clincy Professor of CS
Instructor: Alexander Stoytchev
SYEN 3330 Digital Systems Chapter 6 – Part 3 SYEN 3330 Digital Systems.
CSCE 211: Digital Logic Design
EGR 2131 Unit 12 Synchronous Sequential Circuits
Presentation transcript:

Dr. ClincyLecture Slide 1 CS Chapter 3 (3A and ) Part 8 of 8 Dr. Clincy Professor of CS

Dr. ClincyLecture2 T Flip Flop T Flip Flops are good for counters – changes its state every clock cycle, if the input, T, is 1 Positive-edge triggered flip flop Since the previous state of Q was 0, it complements it to 1

Dr. ClincyLecture3 Counters 3-stage or 3-bit counter constructed using T Flip Flops With T Flip Flips, when input T=1, the flip flop toggles – changes state for each successive clock pulse Initially all set to 0 When clock pulse, Q0=1, therefore Q’=0 disabling Q1 and Q1 disables Q2 (have 1,0,0) For the 2 nd clock pulse, Q0=0, therefore Q’=1, causing Q1=1 and therefore Q’=0 disabling Q2 (have 0,1,0) For the 3 rd clock pulse, Q0=1, therefore Q’=0 disabling Q2 and therefore disabling Q3 (have 1,1,0) Etc… Hmmm LSB Called a Ripple Counter

Dr. ClincyLecture4 Recall Current State or output of the device is affected by the previous states Circuit Flip Flops New Input Previous State or Output Current State or Output Previous State or Output Sequential Logic Circuit New Input Current State or Output Combinatorial or Combinational Logic Current State or output of the device is only affected by the current inputs Examples: Decoders Multiplexers Examples: Shift Registers Counters

Dr. ClincyLecture5 x0=z0=  x0=z0=  x0=z0=  x1=z0=  x1=z1=  x1=z0=  x1=z0=  x0=z1=  S2S3 State diagram of a mod-4 up/down counter that detects the count of 2. S1 S0 Sequential Circuit – State Diagram If x=0, count up, If x=1, count down Interested when 2 is realized – z=1 when reach 2, else z=0 If at 0 and x=0, count up to 1 (and z=0) If at 0 and x=1, count down to 3 (and z=0) State diagram describes the functional behavior without any reference to implementation

Dr. ClincyLecture6 x0=z0=  x0=z0=  x0=z0=  x1=z0=  x1=z1=  x1=z0=  x1=z0=  x0=z1=  S2S2 S3 State diagram of a mod-4 up/down counter that detects the count of 2. S1 S0S0 Sequential Circuit – State Table Can represent the info in the state diagram in a state table

Dr. ClincyLecture7 Sequential Circuit – Equation Inputs – y 2,y 1,x Outputs –Y 2, Y 1

Dr. ClincyLecture8 Sequential Circuit – Circuit Design D Flip Flops used to store values of the two state variables between clock pulses Output from Flip Flops is the present-state of the variables Input, D, of the Flip Flops is the next-state of the variables

Dr. ClincyLecture9 Finite State Machine Model The example we just implemented is an example of a “Finite State Machine” - is a model or abstraction of behavior composed of a finite number of states, transitions between those states, and actions Moore finite-state machine – each “state” is associated with an “output” Mealy finite-state machine – each “transition” is associated with an “output” Algorithmic State Machine (ASM) – can act as both a Moore and Mealy machine

Dr. ClincyLecture Slide 10 NOTE Your book doesn’t do a good job in showing you how to derive or design sequential circuits (using state and state assignment tables) – the lecture did so – your book gives various examples of sequential circuits (Moore and Mealy finite-state machines). Study Guide : For the exams on Monday and Wednesday, they will cover all of Chapter 3 except the section regarding transistors (pages ) and Convolutional Coding (pages ). Boolean algebra and circuits can be on both parts however, the closed book exam will focus more on Boolean algebra and the opened book exam will focus more on circuits

Dr. ClincyLecture Slide 11 Chapter 3 Review If any time remains, we can review any topic or concept for Chapter 3 that was covered in the lectures. Please keep your questions geared towards the concepts covered in Ch 3 and the lectures (in realizing some value-added for the up- and-coming exam) Exam 2 will consists of two parts: Part 1 on Monday and Part 3 on Wednesday. Part 1 will be closed book (can use calculator, can not use phone or laptop). Part 2 will be open book (can use calculator and book, can’t use phone or laptop). If you miss either part of the exam, it can not be made up.