Counters and Registers

Slides:



Advertisements
Similar presentations
COUNTERS Counters with Inputs Kinds of Counters Asynchronous vs
Advertisements

Flip-Flops and Related Devices Wen-Hung Liao, Ph.D.
Counters and Registers
Shift Registers and Shift Register Counters
EET 1131 Unit 12 Shift Registers
Counters and Registers Wen-Hung Liao, Ph.D.. Objectives Understand several types of schemes used to decode different types of counters. Anticipate and.
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)
Sequential logic and systems
Digital Fundamentals Floyd Chapter 9 Tenth Edition
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.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
Last Mod: March 2014  Paul R. Godin Shift Registers Registers 1.1.
CHAPTER 12 REGISTERS AND COUNTERS
Rabie A. Ramadan Lecture 3
Introduction to Chapter 7
Registers and Counters Chapter 6. Digital Circuits 2 Clocked sequential circuits a group of flip-flops and combinational gates connected to form a feedback.
Sequential logic circuits
Last Mod: Jan 2015  Paul R. Godin Shift Registers : Technician Series Registers 1.1.
Counters and Registers
Digital Electronics Electronics Technology Landon Johnson Shift Registers.
Digital Fundamentals Tenth Edition Floyd Chapter 9.
Counters and Registers Synchronous Counters. 7-7 Synchronous Down and Up/Down Counters  In the previous lecture, we’ve learned how synchronous counters.
COUNTERS Why do we need counters?
DIGITAL SYSTEMS TCE Shift Registers and Shift Register Counters Week 10 and Week 11 (Lecture 2 of 2)
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.
Counters In digital logic and computing, a counter is a device which stores (and sometimes displays) the number of times a particular event or process.
1 CHAPTER 12 REGISTERS AND COUNTERS This chapter in the book includes: Objectives Study Guide 12.1Registers and Register Transfers 12.2Shift Registers.
Shift Register Counters
Counters and Registers
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
EET 1131 Unit 12 Shift Registers
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Flip-Flops and Related Devices
Electronics Technology
Digital Fundamentals Abdul Hameed
EKT 124 / 3 DIGITAL ELEKTRONIC 1
EKT 221 – Counters.
EKT 221 : Digital 2 COUNTERS.
Sequential Logic Counters and Registers
Figure 12-13: Synchronous Binary Counter
SLIDES FOR CHAPTER 12 REGISTERS AND COUNTERS
DESIGN OF SEQUENTIAL CIRCUITS
Sequential Circuit - Counter -
3.2 Shift Register Basic shift register function
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 12) Hasib Hasan
Shift Registers.
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.
Digital Design Fundamentals
EET 1131 Unit 12 Shift Registers
COE 202: Digital Logic Design Sequential Circuits Part 4
Digital Logic & Design Dr. Waseem Ikram Lecture No. 34.
Counters and Registers
Recap D flip-flop based counter Flip-flop transition table
Digital Logic & Design Dr. Waseem Ikram Lecture No. 31.
CSE 370 – Winter Sequential Logic-2 - 1
EET107/3 DIGITAL ELECTRONICS 1
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
CHAPTER 4 COUNTER.
CS M51A/EE M16 Winter’05 Section 1 Logic Design of Digital Systems Lecture 16 March 14 W’05 Yutao He 4532B Boelter Hall
Switching Theory and Logic Design Chapter 5:
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
14 Digital Systems.
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Week 11 Flip flop & Latches.
Digital Electronics and Logic Design
COE 202: Digital Logic Design Sequential Circuits Part 3
Presentation transcript:

Counters and Registers Wen-Hung Liao, Ph.D.

Objectives Understand several types of schemes used to decode different types of counters. Anticipate and eliminate the effects of decoding glitches. Compare the major differences between ring and Johnson counters. Analyze the operation of a frequency counter and of a digital clock. Recognize and understand the operation of various types of IC registers.

Synchronous Counter Design J-K flip-flop excitation table Transition Present State Next State J K 00 X 01 1 10 11

Design Procedure Step1: Determine the desire number of bits (FFs) and the desired counting sequence. Step2: Draw the state transition diagram showing all possible states, including those that are not part of the desired counting sequence. Step 3: Use the state-transition diagram to set up a table that lists all PRESENT states and their NEXT states.

Design Procedure (cont’d) Step4: Add a column to the above table for each J and K input to produce a circuit excitation table. Step 5: Design the logic circuits to generate the levels required at each J and K input. Step 6: Implement the final expressions.

Example MOD-5 synchronous counter 000001010011100000… State transition diagram

Present and Next States

Circuit Excitation Table

K-maps JA=C’, KA=1 (Figure 7-34)

Final Implementation

Step Motor Control A step motor is a motor that rotates in steps rather than in a continuous motion, typically 15 degrees per step. Used in positioning of read/write heads on magnetic tapes, in controlling print heads… Figure 7.37: CW rotation and CCW rotation. Apply the design procedure to generate the circuit.

Step Motor Control (cont’d)

FIGURE 7-38 (a) K maps for JB and KB; (b) K maps for JA and KA .

Final Implementation

Shift-Register Counters Use feedback, output of last FF is connected back to the first FF in some way. Ring counter: circulating shift register. See Figure 7-40. Why is it still a counter?

Four-Bit Ring Counter

State Transition Diagram MOD-4 Counter Does not require decoding gates

Starting a Ring Counter Start off with only one FF in the 1 state and all others in the 0 state. Use PRE and CLR inputs and Schmitt-trigger INVERTERS(page 261-262).

Johnson Counter Also known as the twisted-ring counter. Same as the ring counter except that the inverted output of the last FF is connected to the input of the first FF. Counting sequence: 000100110111011001000 A MOD-6 counter (twice the number of FFs) Needs decoding gates. Figure 7-62

MOD-6 Johnson Counter

State Transition Diagram

Decoding a Johnson Counter Each decoding has only two inputs. It can be shown that for any size Johnson counter, the decoding gates will have only two inputs.

Integrated-Circuit Registers Parallel in/Parallel Out: 74174 and 74178 Serial in/Serial Out: 4731B Parallel in/Serial Out:74165,74LS165,74HC165 Serial in/Parallel Out: 74164,74LS164,74HC164

PIPO Register

74ALS174 Wired as a Shift Register

SISO Register

Delay a Digital Signal

PISO Register

SIPO Register

Example 7-23