Shift Register Counters

Slides:



Advertisements
Similar presentations
//HDL Example 8-2 // //RTL description of design example (Fig.8-9) module Example_RTL (S,CLK,Clr,E,F,A);
Advertisements

Lecture 23: Registers and Counters (2)
CENG 241 Digital Design 1 Lecture 11
M. Mateen Yaqoob The University of Lahore Spring 2014.
//HDL Example 6-1 // //Behavioral description of //Universal shift register // Fig. 6-7 and Table 6-3 module shftreg.
Registers and Counters. Register Register is built with gates, but has memory. The only type of flip-flop required in this class – the D flip-flop – Has.
Registers and Counters
Shift Registers and Shift Register Counters
Sequential PLD timing Registers Counters Shift registers
EET 1131 Unit 12 Shift Registers
CS 140L Lecture 4 Professor CK Cheng 10/22/02. 1)F-F 2)Shift register 3)Counter (Asynchronous) 4)Counter (Synchronous)
Sequential Circuit Introduction to Counter
Introduction Flip-flops are synchronous bistable devices. The term synchronous means the output changes state only when the clock input is triggered. That.
What is shift register? A shift register is a digital memory circuit found in calculators, computers, and data-processing systems. Bits (binary digits)
Mantıksal Tasarım – BBM231 M. Önder Efe
1 Digital Design: Sequential Logic Blocks Credits : Slides adapted from: J.F. Wakerly, Digital Design, 4/e, Prentice Hall, 2006 C.H. Roth, Fundamentals.
Digital Fundamentals Floyd Chapter 9 Tenth Edition
Counters.
Registers and Counters
ECE2030 Introduction to Computer Engineering Lecture 15: Registers, Toggle Cells, Counters Prof. Hsien-Hsin Sean Lee School of Electrical and Computer.
Registers & Counters M. Önder Efe
Digital Design: Principles and Practices
Princess Sumaya Univ. Computer Engineering Dept. Chapter 6:
 Counters are sequential circuits which "count" through a specific state sequence. They can count up, count down, or count through other fixed sequences.
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 Circuit
Digital Logic Design.
Digital Fundamentals Tenth Edition Floyd Chapter 9.
Modulo-N Counters According to how they handle input transitions –Synchronous –Asynchronous.
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 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
DIGITAL COMPONENTS. MULTIPLEXERS A multiplexer is a combinational circuit that receives binary information from one of 2 n input data lines and directs.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
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.
Logic Design (CE1111 ) Lecture 6 (Chapter 6) Registers &Counters Prepared by Dr. Lamiaa Elshenawy 1.
Synchronous Counters, ripple counter & other counters Lecture 2
Principles & Applications
Digital Design: Sequential Logic Blocks
Electronics Technology
Digital Fundamentals Abdul Hameed
Digital Decode & Correction Logic
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Prof. Hsien-Hsin Sean Lee
Sequential Logic Counters and Registers
Figure 12-13: Synchronous Binary Counter
Sequential Circuit: Counter
Counters and Registers
Dr. Clincy Professor of CS
3.2 Shift Register Basic shift register function
Presented by Ali Maleki Spring Semester, 2009
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 12) Hasib Hasan
Registers and Counters
EET 1131 Unit 12 Shift Registers
Digital Logic & Design Dr. Waseem Ikram Lecture No. 34.
CSC 220: Computer Organization
FIGURE 10.1 Rectangular‐shape graphic symbols for gates
Computer Architecture and Organization: L02: Logic design Review
Lecture 17 Logistics Last lecture Today HW5 due on Wednesday
Principles & Applications
6. Registers and Counters
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
Outline Registers Counters 5/11/2019.
Shift Registers Dr. Rebhi S. Baraka
Presentation transcript:

Shift Register Counters Morgan Kaufmann Publishers 10 September, 2017 Shift Register Counters Chapter 4 — The Processor

Outline Shift Register Counters Ring Counters Johnson Counters

Outline Shift Register Counters Ring Counters Johnson Counters

Shift Register Counters Shift register counter: a shift register with the serial output connected back to the serial input. They are classified as counters because they give a specified sequence of states. Two common types: the Johnson counter and the Ring counter.

Outline Shift Register Counters Ring Counters Johnson Counters

Ring Counters One flip-flop (stage) for each state in the sequence. The output of the last stage is connected to the D input of the first stage. An n-bit ring counter cycles through n states. No decoding gates are required, as there is an output that corresponds to every state the counter is in.

Ring Counters Example: A 6-bit (MOD-6) ring counter. Q0 Q1 Q2 Q3 Q4 Q5 CLK Q0 D Q Q1 Q2 Q3 Q4 Q5 CLR PRE 100000 010000 001000 000100 000010 000001

Outline Shift Register Counters Ring Counters Johnson Counters

Johnson Counters The complement of the output of the last stage is connected back to the D input of the first stage. Also called the twisted-ring counter. Require fewer flip-flops than ring counters but more flip-flops than binary counters. An n-bit Johnson counter cycles through 2n states. Require more decoding circuitry than ring counter but less than binary counters.

Johnson Counters Example: A 4-bit (MOD-8) Johnson counter. CLK Q0 Q1 CLR Q' 0000 0001 0011 0111 1111 1110 1100 1000

Johnson Counters Decoding logic for a 4-bit Johnson counter. A' D' State 0 A B' State 1 B C' State 2 C D' State 3 B' C State 6 A D State 4 C' D State 7 A' B State 5