ECE 331 – Digital System Design Counters (Lecture #19) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,

Slides:



Advertisements
Similar presentations
©2004 Brooks/Cole FIGURES FOR CHAPTER 12 REGISTERS AND COUNTERS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
Advertisements

ECE 331 – Digital System Design Latches and Flip-Flops (Lecture #17) The slides included herein were taken from the materials accompanying Fundamentals.
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
ECE 301 – Digital Electronics Karnaugh Maps (Lecture #7) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
ECE 301 – Digital Electronics Circuit Design and Analysis (Lecture #9A) The slides included herein were taken from the materials accompanying Fundamentals.
ECE 331 – Digital System Design
ECE 331 – Digital System Design Introduction to and Analysis of Sequential Logic Circuits (Lecture #20) The slides included herein were taken from the.
ECE 331 – Digital System Design State Reduction and State Assignment (Lecture #22) The slides included herein were taken from the materials accompanying.
ECE 331 – Digital System Design
ECE 331 – Digital System Design
Sequential Logic Design
Sequential Logic Design
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Flip-Flop Types.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
ECE 331 – Digital System Design Tristate Buffers, Read-Only Memories and Programmable Logic Devices (Lecture #16) The slides included herein were taken.
ECE 331 – Digital System Design Counters (Lecture #18)
ECE 301 – Digital Electronics
ECE 331 – Digital System Design Karnaugh Maps and Determining a Minimal Cover (Lecture #7) The slides included herein were taken from the materials accompanying.
ECE 301 – Digital Electronics Karnaugh Maps and Determining a Minimal Cover (Lecture #8) The slides included herein were taken from the materials accompanying.
ECE 331 – Digital System Design Sequential Circuit Design (Lecture #23) The slides included herein were taken from the materials accompanying Fundamentals.
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)
Registers and Counters
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
CHAPTER 3 Counters.  One of the common requirement in digital circuits/system is counting, both direction (forward and backward)  Digital clocks and.
Chapter 1_4 Part II Counters
ETE Digital Electronics
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
ECE 320 Homework #6 Derive the state table and state diagram of the sequential circuit of the Figure below. What is the function of the circuit? A’ A.
ECE 301 – Digital Electronics Counters (Lecture #16)
ECE 331 – Digital Systems Design Sequential Logic Circuits: FSM Design (Lecture #20)
Chapter 5 - Part Sequential Circuit Design Design Procedure  Specification  Formulation - Obtain a state diagram or state table  State Assignment.
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 =
CHAPTER 12 REGISTERS AND COUNTERS
Digital Design Lecture 10 Sequential Design. State Reduction Equivalent Circuits –Identical input sequence –Identical output sequence Equivalent States.
CHAPTER 14 Digital Systems.
Chap 4. Sequential Circuits
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.
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
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.
Digital
CHAPTER 3 Counters.  One of the common requirement in digital circuits/system is counting, both direction (forward and backward)  Digital clocks and.
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
ECE 331 – Digital System Design Circuit Design and Analysis (Lecture #9A) The slides included herein were taken from the materials accompanying Fundamentals.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 – Lab 7 Binary Counter.
9/15/09 - L24 Other FF TypesCopyright Joanne DeGroat, ECE, OSU1 Other FF Types.
CHAPTER 6 Sequential Circuits’ Analysis CHAPTER 6 Sequential Circuits’ Analysis Sichuan University Software College.
1 State Reduction Goal: reduce the number of states while keeping the external input-output requirements unchanged. State reduction example: a: input 0.
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.
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
Synchronous Counter Design
Synthesis Synchronous Sequential Circuits synthesis procedure –Word description of problem /hardest; art, not science/ –Derive state diagram & state table.
Cpe 252: Computer Organization1 Lo’ai Tawalbeh Lecture #3 Flip-Flops, Registers, Shift registers, Counters, Memory 3/3/2005.
Common Elements in Sequential Design. Lecture 3 topics  Registers and Register Transfer  Shift Registers  Counters Basic Counter Partial sequence counters.
3 BIT DOWN COUNTER SUBJECT: DIGITAL ELECTONICS CODE: COLLEGE: BVM ENGINEERING COLLEGE COLLEGE CODE:008 ELECTRONICS & TELECOMMUNICATION DEPT.
CHAPTER 14 Digital Systems. Figure 14.1 RS flip-flop symbol and truth table Figure
1 CS 352 Introduction to Logic Design Lecture 6 Ahmed Ezzat Latches, Flip/Flops, Registers, and Counters Ch-11 + Ch-12.
1 CHAPTER 12 REGISTERS AND COUNTERS This chapter in the book includes: Objectives Study Guide 12.1Registers and Register Transfers 12.2Shift Registers.
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,
Figure 12-13: Synchronous Binary Counter
SLIDES FOR CHAPTER 12 REGISTERS AND COUNTERS
ECE 301 – Digital Electronics
ECE 301 – Digital Electronics
DESIGN OF SEQUENTIAL CIRCUITS
EGC 442 Introduction to Computer Architecture
Chapter5: Synchronous Sequential Logic – Part 4
Presentation transcript:

ECE 331 – Digital System Design Counters (Lecture #19) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design, 6 th Edition, by Roth and Kinney, and were used with permission from Cengage Learning.

Fall 2010ECE Digital System Design2 Material to be covered … Chapter 12: Sections 3 – 6

Fall 2010ECE Digital System Design3 A circuit that cycles through a fixed sequence of states is called a counter. Counters Shift register with inverted feedback

Fall 2010ECE Digital System Design4 Binary Counters bit Binary Counter

Fall 2010ECE Digital System Design5 1.Create a state graph to count in the desired sequence. 2.Create a state table from the state graph created in (1). We need one flip-flop per bit. 3.Derive Karnaugh maps from the state table created in (2) and solve for the inputs to each flip-flop. Binary Counters: Design

Fall 2010ECE Digital System Design6 Binary Counter Example: State Table (using T FF)

Fall 2010ECE Digital System Design7 Binary Counter Example: K-maps (for T FF)

Fall 2010ECE Digital System Design8 Binary Counter Example: Circuit Diagram (using T FF)

Fall 2010ECE Digital System Design9 Binary Counter Example: State Table (using D FF)

Fall 2010ECE Digital System Design10 Binary Counter Example: K-maps (for D FF)

Fall 2010ECE Digital System Design11 Binary Counter Example: Circuit Diagram (using D FF)

Fall 2010ECE Digital System Design12 Binary Up-Down Counter

Fall 2010ECE Digital System Design13 Binary Up-Down Counter

Fall 2010ECE Digital System Design14 Loadable Counter with Enable

Fall 2010ECE Digital System Design15 Loadable Counter with Enable

Fall 2010ECE Digital System Design16 Counter Design (T FF) Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design17 Counter Design (T FF) Example: 000 → 100 → 111 → 010 → 011 We could derive T C, T B, and T A directly from the state table, but it is often more convenient to plot next-state maps showing C +, B +, and A + as functions of C, B, and A, and then derive T C, T B, and T A from these maps.

Fall 2010ECE Digital System Design18 Counter Design (T FF) Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design19 Counter Design (T FF) Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design20 Counter Design (T FF) Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design21 Counter Design (T FF) Example: 000 → 100 → 111 → 010 → 011 Although the original state table for the counter is not completely specified, the next states of states 001, 101, and 110 have been specified in the process of completing the circuit design

Fall 2010ECE Digital System Design22 Counter Design (T FF) Example: 000 → 100 → 111 → 010 → 011 Given the present state of a T flip-flop (Q) and the desired next state (Q + ), the T input must be a 1 whenever a change in state is required. Thus, T = 1 whenever Q + ≠ Q. T = Q + xor Q Q+Q+ QT Excitation Table

Fall 2010ECE Digital System Design23 Counter Design (D FF) Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design24 Counter Design (D FF) Example: 000 → 100 → 111 → 010 → 011 Characteristic Equation: Q + = D

Fall 2010ECE Digital System Design25 Counter Design (D FF) Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design26 Counter Design (D FF) Example: 000 → 100 → 111 → 010 → 011 Although the original state table for the counter is not completely specified, the next states of states 001, 101, and 110 have been specified in the process of completing the circuit design

Fall 2010ECE Digital System Design27 Counter Design (SR FF) The procedures used to design a counter with S-R flip-flops are similar to the procedures for T flip-flops. However, instead of deriving an input equation for each D or T flip-flop, the S and R input equations must be derived for each S-R flip-flop. Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design28 Counter Design (SR FF) Example: 000 → 100 → 111 → 010 → 011 Excitation Table

Fall 2010ECE Digital System Design29 Counter Design (SR FF) Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design30 Counter Design (SR FF) Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design31 Counter Design (SR FF) Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design32 Counter Design (JK FF) The procedures used to design a counter with JK flip-flops are similar to the procedures for T flip-flops. However, instead of deriving an input equation for each D or T flip-flop, the J and K input equations must be derived for each JK flip-flop. Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design33 Counter Design (JK FF) Example: 000 → 100 → 111 → 010 → 011 Excitation Table

Fall 2010ECE Digital System Design34 Counter Design (JK FF) Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design35 Counter Design (JK FF) Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design36 Counter Design (JK FF) Example: 000 → 100 → 111 → 010 → 011

Fall 2010ECE Digital System Design37 Questions?