ECE 331 – Digital System Design Counters (Lecture #18)

Slides:



Advertisements
Similar presentations
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.
Advertisements

ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
Chapter 7 Henry Hexmoor Registers and RTL
Counters Mano & Kime Sections 5-4, 5-5. Counters Ripple Counter Synchronous Binary Counters –Design with D Flip-Flops –Design with J-K Flip-Flops 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 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 Logic Combination logic: outputs are based on a combination of present inputs only. Sequential logic: outputs depend on present and past inputs.
Sequential Circuit Introduction to Counter
Lab 5 :JK Flip Flop and Counter Fundamentals:
KU College of Engineering Elec 204: Digital Systems Design
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:
What is shift register? A shift register is a digital memory circuit found in calculators, computers, and data-processing systems. Bits (binary digits)
Registers and Counters
Design of Counters ..
Unit 12 Registers and Counters Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
Chapter 1_4 Part II Counters
EE345: Introduction to Microcontrollers Register and Counters Prof. Ahmad Abu-El-Haija.
Registers and Counters
Synchronous Counters.
ECE 301 – Digital Electronics Flip-Flops and Registers (Lecture #15)
ECE 301 – Digital Electronics Counters (Lecture #16)
ECE 331 – Digital Systems Design Sequential Logic Circuits: FSM Design (Lecture #20)
© The McGraw-Hill Companies, Inc McGraw-Hill 1 PRINCIPLES AND APPLICATIONS OF ELECTRICAL ENGINEERING THIRD EDITION G I O R G I O R I Z Z O N I 14.
CHAPTER 6 MODULAR SQUENTIAL CIRCUITS & APPLICATIONS
Rabie A. Ramadan Lecture 3
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
Princess Sumaya Univ. Computer Engineering Dept. Chapter 6:
Counters By Taweesak Reungpeerakul
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
Registers and Counters by Dr. Amin Danial Asham. References  Digital Design 5 th Edition, Morris Mano.
Digital Design Lectures 11 & 12 Shift Registers and Counters.
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
ENG241 Digital Design Week #8 Registers and Counters.
Chapter 1_4 Part III more on … Counters Chapter 1_4 Part III more on … Counters.
Chapter 1 Counters. Counters Counters are sequential circuits which "count” through a specific state sequence. They can count up, count down, or count.
Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,
Counters - II. Outline  Synchronous (Parallel) Counters  Up/Down Synchronous Counters  Designing Synchronous Counters  Decoding A Counter  Counters.
Counter Circuits and VHDL State Machines
Sequential logic circuits
Decade Counter (BCD Counter). Introduction A counter which is reset at the 10 th clock pulse is called decade counter. The decade counter is otherwise.
Registers and Counters
Counters and Registers Synchronous Counters. 7-7 Synchronous Down and Up/Down Counters  In the previous lecture, we’ve learned how synchronous counters.
Digital Electronics.
Counters.
Unit 1 – Counters and Registers Mr. Grimming. Introduction FFs and logic gates are combined to form various counters and registers. Unit Goals Goals:
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Fall 2000 Chapter 5 – Part 2 Tom Kaminski & Charles.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 7 – Part 2.
ECE 545—Digital System Design with VHDL Lecture 1
THEME 6: Frequency dividers. Digital counters with reduced counting modulus. Programmable digital counters. If the input pulses are more than K, the counter.
ECE 331 – Digital System Design Introduction to Sequential Circuits and Latches (Lecture #16)
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.
CHAPTER 14 Digital Systems. Figure 14.1 RS flip-flop symbol and truth table Figure
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 #15 EGR 277 – Digital Logic Reading Assignment: Chapter 5 in Digital Design, 3 rd Edition by Mano Example: (Problem 5-17 from Digital Design,
Digital Design: With an Introduction to the Verilog HDL, 5e M. Morris Mano Michael D. Ciletti Copyright ©2013 by Pearson Education, Inc. All rights reserved.
EKT 221 – Counters.
EKT 221 : Digital 2 COUNTERS.
Sequential Circuit: Counter
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
Asynchronous Counters with SSI Gates
29-Nov-18 Counters Chapter 5 (Sections ).
Instructor: Alexander Stoytchev
Registers and Register Transfers
CHAPTER 4 COUNTER.
Switching Theory and Logic Design Chapter 5:
14 Digital Systems.
Registers and Register Transfers
Digital Electronics and Logic Design
Presentation transcript:

ECE 331 – Digital System Design Counters (Lecture #18)

ECE Digital System Design2 3-bit Counter: State Diagram

ECE Digital System Design3 Asynchronous Counters (aka. Ripple Counters) Counters

ECE Digital System Design4 3-bit (up) Counter Let each bit in the counter be represented by the output of a flip-flop. CountQ2Q2 Q1Q1 Q0Q

ECE Digital System Design5 3-bit (up) Counter: T Flip-Flops T Q Q Clock T Q Q T Q Q 1 Q 0 Q 1 Q 2 Q 0 Q 1 Q 2 Count Asynchronous Counter Counter does not use a common clock.

ECE Digital System Design6 Synchronous Counters Counters

ECE Digital System Design7 4-bit (up) Counter As before, let each bit in the counter be represented by the output of a flip-flop. CountQ3Q3 Q2Q2 Q1Q1 Q0Q Q3Q3 Q2Q2 Q1Q1 Q0Q

ECE Digital System Design8 4-bit (up) Counter: T Flip-Flops

ECE Digital System Design9 4-bit (up) Counter: JK Flip-Flops Synchronous Counter Counter uses a common clock.

ECE Digital System Design10 4-bit Counter: D Flip-Flops Clock Enable D Q Q D Q Q D Q Q D Q Q Q 0 Q 1 Q 2 Q 3 Output carry How does the XOR gate function when the Enable signal is a logic-1?

ECE Digital System Design11 Synchronous Counters 4-bit (up) Counter with Enable and Clear

ECE Digital System Design12 T Q Q Clock T Q Q Enable Clear T Q Q T Q Q 4-bit Counter with Enable and Clear asynchronous control signals

ECE Digital System Design13 Synchronous Counters 4-bit (up) Counter with Parallel Load

ECE Digital System Design14 4-bit Counter with Parallel Load Is the Load signal active-high or active-low?

ECE Digital System Design15 4-bit Counter with Parallel Load

ECE Digital System Design16 Synchronous Counters Modulo-6 Counter

ECE Digital System Design17 Modulo-6 Counter: D Flip-Flops Clock Count Q 0 Q 1 Q 2 Enable Q 0 Q 1 Q 2 D 0 D 1 D 2 Load Clock bit counter with Parallel Load Counter resets to zero when count reaches six.

ECE Digital System Design18 Modulo-6 Counter: T Flip-Flops T Q Q Clock T Q Q T Q Q 1 Q 0 Q 1 Q 2 Q 0 Q 1 Q 2 Count asynchronous clear signal Counter cleared when count reaches six.

ECE Digital System Design19 Counters BCD (Decimal) Counter (aka. Modulo-10 Counter)

ECE Digital System Design20 BCD Counter: State Diagram

ECE Digital System Design21 BCD Counter: JK Flip-Flops Asynchronous Counter

ECE Digital System Design22 BCD Counter: D Flip-Flops Synchronous Counter

ECE Digital System Design23 Up / Down Counter Synchronous Counters

ECE Digital System Design24 4-bit Up / Down Counter

ECE Digital System Design25 Acknowledgments The slides used in this lecture were taken, with permission, from those provided by McGraw-Hill for Fundamentals of Digital Logic with VHDL Design (3 rd Edition). They are the property of and are copyrighted by McGraw-Hill Higher Education.