CEC 220 Digital Circuit Design Counters Using S-R and J-K Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design Slide 1 of 19.

Slides:



Advertisements
Similar presentations
Registers and Counters
Advertisements

CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Sequential Logic Latches and Flip-Flops. Sequential Logic Circuits The output of sequential logic circuits depends on the past history of the state of.
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.
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.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
CS 140 Lecture 7 Professor CK Cheng 4/23/02. Part II. Sequential Network (Ch ) 1.Flip-flops SR, D, T, JK, 2.SpecificationState Table 3.Implementation.
CSE 140 Lecture 8 Sequential Networks Professor CK Cheng CSE Dept. UC San Diego 1.
CS 140 Lecture 8 Sequential Networks Professor CK Cheng CSE Dept. UC San Diego.
Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Chapter #7: Sequential Logic Case Studies 7.1, 7.2 Counters.
Sequential Logic Design
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
ENGIN112 L27: Counters November 5, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 27 Counters.
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
ECE 331 – Digital System Design Counters (Lecture #19) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
ECE C03 Lecture 91 Lecture 9 Registers, Counters and Shifters Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
Sequential Logic Combination logic: outputs are based on a combination of present inputs only. Sequential logic: outputs depend on present and past inputs.
Asynchronous and Synchronous Counters
Sequential Circuit Introduction to Counter
Sequential logic and systems
Counters.
Digital Systems I EEC 180A Lecture 15 Bevan M. Baas Tuesday, November 20, 2007.
A State Element “Zoo”.
CHANTHA THOEUN Flip-flop Circuits. Types of Flip-flops SR flip-flop (Set, Reset) T flip-flop (Toggle) D flip-flop (Delay) JK flip-flop.
BY: TRAVIS HOOVER 2/22/2011 CS 147 DR. LEE JK flip-flops.
EE345: Introduction to Microcontrollers Register and Counters Prof. Ahmad Abu-El-Haija.
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
ETE Digital Electronics
ECE 301 – Digital Electronics Flip-Flops and Registers (Lecture #15)
Registers and Counters
Latches and Flip-Flops ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Introduction to Sequential Logic Design Flip-flops.
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 =
Digital Design Lecture 10 Sequential Design. State Reduction Equivalent Circuits –Identical input sequence –Identical output sequence Equivalent States.
Rabie A. Ramadan Lecture 3
Chapter 2Basic Digital Logic1 Chapter 2. Basic Digital Logic2 Outlines  Basic Digital Logic Gates  Two types of digital logic circuits Combinational.
Introduction to Sequential Logic Design Flip-flops.
1 Lecture #12 EGR 277 – Digital Logic Synchronous Logic Circuits versus Combinational Logic Circuits A) Combinational Logic Circuits Recall that there.
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
Digital Design Lectures 11 & 12 Shift Registers and Counters.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University.
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)
9/15/09 - L24 Other FF TypesCopyright Joanne DeGroat, ECE, OSU1 Other FF Types.
CEC 220 Digital Circuit Design Timing Analysis of State Machines
Counters and Registers Synchronous Counters. 7-7 Synchronous Down and Up/Down Counters  In the previous lecture, we’ve learned how synchronous counters.
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
CEC 220 Digital Circuit Design VHDL in Sequential Logic Wednesday, March 25 CEC 220 Digital Circuit Design Slide 1 of 13.
Digital Electronics.
CEC 220 Digital Circuit Design Mealy and Moore State Machines Friday, March 27 CEC 220 Digital Circuit Design Slide 1 of 16.
CSCE 211 Digital Design Lecture 12 Registers
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.
Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University.
CEC 220 Digital Circuit Design Latches and Flip-Flops
Cpe 252: Computer Organization1 Lo’ai Tawalbeh Lecture #3 Flip-Flops, Registers, Shift registers, Counters, Memory 3/3/2005.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
Dept. of Electrical Engineering
CSE260 Revision Final. MSI a) Implement the following function with 8:1 mux F(A,B,C,D) =∑(0,1,3,4,8,9,15) b) Construct AND, OR and NOT gates using 2:1.
Chapter 35 Sequential Logic Circuits. Objectives After completing this chapter, you will be able to: –Describe the function of a flip-flop –Identify the.
1 Lecture #15 EGR 277 – Digital Logic Reading Assignment: Chapter 5 in Digital Design, 3 rd Edition by Mano Example: (Problem 5-17 from Digital Design,
Dr. Clincy Professor of CS
EEC 180B Lecture 14 Bevan M. Baas Tuesday, May 22, 2018
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Presentation transcript:

CEC 220 Digital Circuit Design Counters Using S-R and J-K Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design Slide 1 of 19

Lecture Outline Monday, November 2 CEC 220 Digital Circuit Design A multi-Function Shift-Register Counter Design Using S-R & J-K FFs Slide 2 of 19

SI Sh L Clk A Multi-Function Shift Register InputsNext StateAction Sh (Shift)L (Load) 00Hold 01Parallel Load 1XSIShift Right A multi-Function Shift-Register SO Monday, November 2 CEC 220 Digital Circuit Design Slide 3 of 19

SI Sh L Clk Sh = 0 and L = 0 Hold 0 A multi-Function Shift-Register Monday, November 2 CEC 220 Digital Circuit Design Slide 4 of 19 Sh  LL

SI Sh L Clk Sh = 0 and L = 1 Parallel Load 0 1 A multi-Function Shift-Register Monday, November 2 CEC 220 Digital Circuit Design Slide 5 of 19 Sh  LL

SI Sh L Clk Sh = 1 and L = 0 or 1 Right Shift or A multi-Function Shift-Register Monday, November 2 CEC 220 Digital Circuit Design Slide 6 of 19 Sh  LL LL

Counters Using S-R and J-K Flip-Flops Design with S-R Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design Recall the previous six state counter  Repeat the design using S-R flip-flops QQ+Q+ S RJ KTD 000 X X X X 0 01 Excitation Table We will need 3 FFs Slide 7 of 19

Counters Using S-R and J-K Flip-Flops Design with S-R Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design State Transition Table Present State Next State XXX XXX 110XXX Present State Next State Flip-Flop Inputs XXX XXX 110XXX X XX 0X X0 XX XX 01 Present State Next State XXX XXX 110XXX X XX X XX XX X0 Present State Next State XXX XXX 110XXX X XX XX XX 01 QQ+Q+ S R 000 X X 0 Slide 8 of 19

Counters Using S-R and J-K Flip-Flops Design with S-R Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design X 01XX X XX 11X1 10XX XX 110X 10XX 01 00X0 01XX X XX X 01 00X0 01XX X Slide 9 of 19

Counters Using S-R and J-K Flip-Flops Design with S-R Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design Circuit Design Clk Slide 10 of 19

Counters Using S-R and J-K Flip-Flops Design with J-K Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design Recall the previous six state counter  Repeat the design using J-K flip-flops QQ+Q+ S RJ KTD 000 X X X X 0 01 Excitation Table We will need 3 FFs Slide 11 of 19

Counters Using S-R and J-K Flip-Flops Design with J-K Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design State Transition Table Present State Next State XXX XXX 110XXX Present State Next State Flip-Flop Inputs XXX XXX 110XXX X 0X XX 0X X0 XX XX X1 Present State Next State XXX XXX 110XXX X XX X0 X1 1X XX XX X0 Present State Next State XXX XXX 110XXX X XX 1X X1 1X XX XX X1 QQ+Q+ J K 000 X 011 X 10X 1 11X 0 Slide 12 of 19

Counters Using S-R and J-K Flip-Flops Design with J-K Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design X 01XX 110X 100X 01 00X0 01XX 11X1 10XX XX 11XX 10XX 01 00X0 01XX X XX 11XX 101X 01 00XX 01XX XX Slide 13 of 19

Counters Using S-R and J-K Flip-Flops Design with J-K Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design Circuit Design Clk Slide 14 of 19

Counters Using S-R and J-K Flip-Flops Design with J-K Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design Where so states 1, 5, and 6 go? State Transition Table Present State Next State Flip-Flop Inputs X0X0X 001XXXXXXXXX XX01X XX1X X01X1X 101XXXXXXXXX 110XXXXXXXXX X1X0X Slide 15 of 19

Now determine how these FF input choices effects the “don’t care” state transitions Counters Using S-R and J-K Flip-Flops Design with J-K Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design Where so states 1, 5, and 6 go? State Transition Table Present State Next State Flip-Flop Inputs XXX XXX XXX JKQ+Q+ 00Hold 01Reset 10Set 11Toggle Slide 16 of 19

Counters Using S-R and J-K Flip-Flops Design with J-K Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design Where so states 1, 5, and 6 go? Slide 17 of 19

Counters Using S-R and J-K Flip-Flops Monday, November 2 CEC 220 Digital Circuit Design Comparing the two Designs Clk Using J-K Flip-Flops Using S-R Flip-Flops Slide 18 of 19

Next Lecture Monday, November 2 CEC 220 Digital Circuit Design VHDL in sequential logic Slide 19 of 19