1 EENG 2710 Project Synchronous Counters. 2 Counters Counter: A Sequential Circuit that counts pulses. Used for Event Counting, Frequency Division, Timing,

Slides:



Advertisements
Similar presentations
Computing Machinery Chapter 5: Sequential Circuits.
Advertisements

Sequential Circuit - Counter -
RIPPLE COUNTERS A register that goes through a prescribed sequence of states upon the application of input pulses is called a counter. The input pulses.
Sequential Circuits and Finite State Machines Prof. Sin-Min Lee
Sequential Circuits Problems(I) Prof. Sin-Min Lee Department of Mathematics and Computer Science Algorithm = Logic + Control.
C.S. Choy1 SEQUENTIAL LOGIC A circuit’s output depends on its previous state (condition) in addition to its current inputs The state of the circuit is.
M.S.P.V.L. Polytechnic College, Pavoorchatram
Asynchronous and Synchronous Counters
Sequential Circuit Introduction to Counter
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
Sequential Circuit  It is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its.
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.
A presentation on Counters
Electronics Technology
Asynchronous Counters
Counters and Shift Registers
Chapter 1_4 Part II Counters
Flip-Flop Applications Registers.  a register is a collection of flip-flops  basic function is to hold information  a shift register is a register.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR1 Sequential Circuit Design.
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
Sequential Circuit - Counter -
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
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.
Principles & Applications
Last Mod: March 2014  Paul R. Godin Shift Registers Registers 1.1.
Digital Design Lecture 10 Sequential Design. State Reduction Equivalent Circuits –Identical input sequence –Identical output sequence Equivalent States.
Circuit, State Diagram, State Table
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Chap 4. Sequential Circuits
CS1104 – Computer Organization Aaron Tan Tuck Choy School of Computing National University.
Chapter 10 State Machine Design. 2 State Machine Definitions State Machine: A synchronous sequential circuit consisting of a sequential logic section.
1 Lecture #12 EGR 277 – Digital Logic Synchronous Logic Circuits versus Combinational Logic Circuits A) Combinational Logic Circuits Recall that there.
1 Lecture 22 Sequential Circuits Analysis. 2 Combinational vs. Sequential  Combinational Logic Circuit  Output is a function only of the present inputs.
Synch 1.1 Synchronous Counters 1 ©Paul Godin Created January 2008.
Counter Classification Count modulus (MOD) – total number of states in the counter sequence Counter triggering technique – positive edge or negative edge.
Counters - I. Outline  Introduction: Counters  Asynchronous (Ripple) Counters  Asynchronous Counters with MOD number < 2 n  Asynchronous Down Counters.
CHAPTER 3 Counters.  One of the common requirement in digital circuits/system is counting, both direction (forward and backward)  Digital clocks and.
Asynch 1.1 Asynchronous Counters 1 ©Paul Godin Last Edit Sept 2009.
Synchronous Counters Synchronous digital counters have a common clock which results in all the flip-flops being triggered simultaneously. Consequently,
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.
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.
Digital Electronics.
Counters.
Basic terminology associated with counters Technician Series
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Synchronous Counter Design
State Machine Design State Machine Design Digital Electronics
1 Lecture #13 EGR 277 – Digital Logic Sequential Counters Counters are an important class of sequential circuits. Counters follow a predetermined sequence.
3 BIT DOWN COUNTER SUBJECT: DIGITAL ELECTONICS CODE: COLLEGE: BVM ENGINEERING COLLEGE COLLEGE CODE:008 ELECTRONICS & TELECOMMUNICATION DEPT.
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.
Lecture No. 29 Sequential Logic.
Chapter 35 Sequential Logic Circuits. Objectives After completing this chapter, you will be able to: –Describe the function of a flip-flop –Identify the.
Digital Logic & Design Dr. Waseem Ikram Lecture No. 26.
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.
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,
UP/DOWN SYNCHRONOUS COUNTERS An up/down counter is one that is capable of progressing in either direction through a certain sequence. An up/down counter,
EKT 221 – Counters.
EKT 221 : Digital 2 COUNTERS.
FIGURE 5.1 Block diagram of sequential circuit
Sequential Circuit: Counter
Instructor: Alexander Stoytchev
CHAPTER 4 COUNTER.
Instructor: Alexander Stoytchev
Sequential Design Example
Basic terminology associated with counter and sequential circuits.
Counters.
Presentation transcript:

1 EENG 2710 Project Synchronous Counters

2 Counters Counter: A Sequential Circuit that counts pulses. Used for Event Counting, Frequency Division, Timing, and Control Operations.

3 Synchronous Counters A counter whose flip-flops are all clocked by the same source and change state in synchronization. The memory section keeps track of the present state. The control section directs the counter to the next state using command and status lines. Present state Directs to next state

4 Counter Terminology A Counter is a digital circuit whose outputs progress in a predictable repeating pattern. It advances one state for each clock pulse. State Diagram: A graphical diagram showing the progression of states in a sequential circuit such as a counter. Count Sequence: The specific series of output states through which a counter progresses. Modulus: The number of states a counter sequences through before repeating (mod-n). Counter directions: –DOWN - count high to low (MSB to LSB) –UP - count low to high (LSB to MSB).

5 Counter Modulus Modulus of a counter is the number of states through which a counter progresses. A Mod-12 UP Counter counts 12 states from 0000 to 1011 (0 to 11 decimal). The process then repeats. A Mod-12 DOWN counter counts from 1011 (to 0000 (11 to 0 decimal), then repeats.

6 State Diagram A diagram that shows the progressive states of a sequential circuit. The progression from one state to the next state is shown by an arrow. – (0000  0001  0010). Each state progression is caused by a pulse on the clock to the sequential circuit.

7 MOD 12 Counter State Diagram With each clock pulse the counter progresses by one state from its present position on the state diagram to the next state in the sequence. This close system of counting and adding is known as modulo arithmetic.

8 Full-sequence Counter An n-bit counter that counts the maximum modulus (2 n ) is called a full-sequence counter such as Mod 2, Mod 4, Mod 8, etc. A 4-bit mod 16 UP counter that counts up from 0000 to 1111 is an example of a full-sequence counter.

9 Counter Timing Diagram (Mod-16 Full-sequence Counter) Shows the timing relationships between the input clock and the outputs Q 3, Q 2, Q 1, …Q n of a counter. For a 4-bit mod 16 counter, the output Q 0 changes for every clock pulse, Q 1 changes on every two clock pulses, Q 2 on four, and Q 3 on 8 clocks. The outputs (Q 0  Q 3 ) of the counter can be used as frequency dividers with Q 0 = clock  2, Q 1 = clock  4, Q 2 = clock  8, and Q 3 = clock  16.

10 Truncated Counter An n-bit counter whose modulus is less than the maximum possible is called a truncated sequence counter, such as mod 3 (n = 2), mod 12 (n = 4). A 4-bit mod 12 UP counter that counts from 0000 to 1011 is an example of a truncated counter

11 Counter Timing Diagram (Mod-12 Truncated Counter The outputs (Q 0  Q 3 ) of the counter can be used as frequency dividers with Q 0 = clock  2, Q 1 = clock  4, Q 2 = clock  12, and Q 3 = clock  12.

12 Designing a Synchronous Up Counter 1.Define the problem. The circuit must count in binary sequence from 0000 to Draw a state diagram

13 Step 3 Designing a JK Flip-Flop Synchronous Up Counter JK Flip-Flop Excitation Table State Table

14 Designing a Synchronous Counter Simplify the Boolean expression for each input

15 MOD-12 Synchronous Counter

Project Assignment Each team will do the following: 1.The team leader will chose a Mod-n JK Flip-Flop Synchronous Up Counter at random form a group of Mod-n JK Flip-Flop Synchronous Up Counter provided by the instructor. 2.Construct a state table. 3.Simplify the Boolean expression for each input using K-maps. 4.Use the simplified J and K expressions to design the Mod-n JK Flip-Flop Synchronous Up Counter. 5.Draw a Schematic Capture Diagram using Xilinx. 6.Simulate the Schematic Capture Diagram using Xilinx. 7.Write a project report in-accordance-with the IEEE format provided by the instructor. 8. Prepare and give a power point presentation. 9.Provide the instructor a paper and electronic (disc copy) of project report and presentation. 16