Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No. 20-1 Chapter #7: Sequential Logic Case Studies 7.4 Counters.

Slides:



Advertisements
Similar presentations
Chapter #8: Finite State Machine Design 8
Advertisements

CS1104 – Computer Organization
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
EECS 465: Digital Systems Lecture Notes # 7
Page 1 Sequential Logic Basic Binary Memory Elements.
Sequential Logic Design with Flip-flops
Registers.1. Register  Consists of N Flip-Flops  Stores N bits  Common clock used for all Flip-Flops Shift Register  A register that provides the.
No. 9-1 Chapter #9: Finite State Machine Optimization.
Sequential Logic Case Studies
ECE C03 Lecture 111 Lecture 11 Finite State Machine Optimization Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
Sequential Logic Design
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
Contemporary Logic Design Finite State Machine Design © R.H. Katz Transparency No Chapter #8: Finite State Machine Design Finite State.
Chapter # 4: Programmable and Steering Logic Section 4.1
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Flip-Flop Types.
ECE C03 Lecture 101 Lecture 10 Registers, Counters and Shifters Prith Banerjee ECE C03 Advanced Digital Design Spring 1998.
Contemporary Logic Design FSM Optimization © R.H. Katz Transparency No Chapter #9: Finite State Machine 9.4 Choosing Flip-Flops 9.5 Machine Partitioning.
ECE 331 – Digital System Design Counters (Lecture #19) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
Chapter #6: Sequential Logic Design 6.2 Timing Methodologies
ECE C03 Lecture 91 Lecture 9 Registers, Counters and Shifters Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Sequential Switching Networks.
1 Flip Flops, Registers Today: Latches, Flip FlipsFirst Hour: Types of Latches, Flip Flips –Section of Katz’s Textbook –In-class Activity #1.
ELEC 256 / Saif Zahir UBC / 2000 Counters An (up/down) k-bit counter produces a sequence of k-bit binary numbers in a response to a COUNT pulse. A k-bit.
L5 – Sequential Circuit Design
(Sequential Logic Circuit)
10-1 Introduction Chapter #7: Sequential Logic Case Studies.
Flip_Flops  Logic circuits are classified ito two groups  1. The combinational logic circuits,using the basic gates AND,OR and NOT.  2. Sequential.
Chap 4. Sequential Circuits
Page 1 Registers and Counters. Page 2 What is a Register?  A Register is a collection of n flip-flops with some common function or characteristic  Control.
No. 7-1 Chapter #7: Sequential Logic Case Studies.
Chapter 6 Sequential Logic. Combinational circuit outputs depend on present inputs. Sequential circuit outputs depend on present inputs and the state.
Chap 4. Sequential Circuits
VII - Finite State Machines © Copyright 2004, Gaetano Borriello and Randy H. Katz 1 Finite State Machines (FSM) Sequential circuits  primitive sequential.
Sequential Circuit Design. Outline  Flip-flop Excitation Tables  Sequential Circuit Design  Design: Example #1  Design: Example #2  Design: Example.
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
Topic: Sequential Circuit Course: Logic Design Slide no. 1 Chapter #6: Sequential Logic Design.
9-1 Introduction Chapter #9: Finite State Machine Optimization.
9/15/09 - L24 Other FF TypesCopyright Joanne DeGroat, ECE, OSU1 Other FF Types.
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
Learning to Design Counters
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.
Cpe 252: Computer Organization1 Lo’ai Tawalbeh Lecture #3 Flip-Flops, Registers, Shift registers, Counters, Memory 3/3/2005.
1 Lecture #14 EGR 277 – Digital Logic Self-starting counters Counters are considered to be self-starting if all unused counts eventually lead to the correct.
Contemporary Logic Design Prog. & Steering Logic © R.H. Katz Transparency No. 9-1 Chapter # 4: Programmable and Steering Logic Section 4.3, 4.4, 4.5, 4.6.
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 14 Digital Systems. Figure 14.1 RS flip-flop symbol and truth table Figure
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,
Week #7 Sequential Circuits (Part B)
Chapter #6: Sequential Logic Design
Lecture 13 State Machines / ROMs
CSCE 211: Digital Logic Design
DIGITAL ELECTRONICS WITH MULTISIM
CSCE 211: Digital Logic Design
FINITE STATE MACHINES (FSMs)
Princess Sumaya University
CENG 241 Digital Design 1 Lecture 11
Digital Design Fundamentals
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
MTE 202, Summer 2016 Digital Circuits Dr.-Ing. Saleh Hussin
Chapter5: Synchronous Sequential Logic – Part 4
A B x y A+ B+ z 1 Q X Y Q(t+1) S 1.
FINITE STATE MACHINES.
CSCE 211: Digital Logic Design
Counter Design M R Khandker.
Chapter5: Synchronous Sequential Logic – Part 3
A B x y A+ B+ z 1 Q X Y Q(t+1) S 1.
COE 202: Digital Logic Design Sequential Circuits Part 3
Presentation transcript:

Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Chapter #7: Sequential Logic Case Studies 7.4 Counters

Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Implementation with Different Kinds of FFs R-S Flipflops Continuing with the 000, 010, 011, 101, 110, 000,... counter example RS Exitation Table Remapped Next State Functions Present State Next State Remapped Next State Q+ = S + R Q Q Q + R S 0 0 X X C B A C + B + A + RC SC RB SB RA SA X X X X X X X X X X X X 0 0 X X X X X X X X X X X X X X X X X X X X X X

Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Implementation with Different Kinds of FFs RS FFs Continued CB A 0 1 RC CB A 0 1 RA CB A 0 1 RB CB A 0 1 SC CB A 0 1 SA CB A 0 1 SB RC = A SC = A RB = A B + B C SB = B RA = C SA = B C X X 1 X X X X 1 X X X X 1 X 0 1 X 0 X X 0 X 1 X 0 X X X 0 X X X X X 0 3 gates 11 input literals + FF connections

Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Implementation With Different Kinds of FFs RS FFs Continued Resulting Logic Level Implementation: 3 Gates, 11 Input Literals + Flipflop connections

Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Implementation with Different FF Types J-K FFs J-K Excitation Table Remapped Next State Functions Present State Next State Remapped Next State Q+ = J Q + K Q Q Q + J K X X 1 0 X X 0 C B A C+ B+ C+ JC KC JB KB JA KA X 1 X 0 X X X X X X X X X X X X 0 1 X X X 1 X X X X X X X X X X X 0 1 X X X 1 X 1 0 X X X X X X X X X X

Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Implementation with Different FF Types J-K FFs Continued CB A 0 1 JC CB A 0 1 JA CB A 0 1 JB CB A 0 1 KC CB A 0 1 KA CB A 0 1 KB JC = A KC = A JB = 1 KB = A + C JA = B C KA = C 0 0 X X X 1 X X X X 1 X X X X 0 1 X X X X X X 1 X 0 1 X X 1 X X X X X X 0 X 1

Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Implementation with Different FF Types J-K FFs Continued Resulting Logic Level Implementation: 2 Gates, 10 Input Literals + Flipflop Connections

Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Implementation with Different FF Types D FFs Simplest Design Procedure: No remapping needed! C + = DC = A B + = DB = A C + B A + = DA = B C Resulting Logic Level Implementation: 3 Gates, 8 Input Literals + Flipflop connections

Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Implementation with Different FF Types Comparison T Flip-flops:5 gates,10 literals15 wires R-S Flip-flops:3 gates,5 literals12 wires J-K Flip-flops:2 gates,4 literals9 wires D Flip-flops:3 gates,5 literals9 wires

Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Implementation with Different FF Types Comparison T FFs well suited for straightforward binary counters But yielded worst gate and literal count for this example! No reason to choose R-S over J-K FFs: it is a proper subset of J-K R-S FFs don't really exist anyway J-K FFs yielded lowest gate count Tend to yield best choice for packaged logic where gate count is key D FFs yield simplest design procedure Best literal count D storage devices very transistor efficient in VLSI Best choice where area/literal count is the key

Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No HW #18 -- Sections 7.1, 7.2, 7.4