Shift Registers.

Slides:



Advertisements
Similar presentations
Tutorial 2 Sequential Logic. Registers A register is basically a D Flip-Flop A D Flip Flop has 3 basic ports. D, Q, and Clock.
Advertisements

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.
Half Adder Sum = X’Y+XY’ = X  Y Carry = XY YXYXYX  YYYX  XX XOR XNOR.
1 Shift Register. Program Studi T. Elektro FT - UHAMKA Slide Chapter Objectives Identify the basic form of data movement in shift registers Explain.
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Sequential Circuit: Register Introduction N-bit register contains n flip-flop and several logic gates and.
Shift Registers and Shift Register Counters
Sequential Circuit Introduction to Counter
C HAPTER S IX R EGISTERS AND C OUNTERS 1. A clocked sequential circuit consists of a group of flip-flops and combinational gates connected to form a feedback.
Introduction Flip-flops are synchronous bistable devices. The term synchronous means the output changes state only when the clock input is triggered. That.
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)
REGISTER A Register is a group of binary storage cells suitable for holding binary information. A group of flip-flops constitutes a register, since each.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
ECE 301 – Digital Electronics Flip-Flops and Registers (Lecture #15)
1 Shift Registers. –Definitions –I/O Types: serial, parallel, combinations –Direction: left, right, bidirectional –Applications –VHDL implementations.
Registers and Counters
Last Mod: March 2014  Paul R. Godin Shift Registers Registers 1.1.
Registers & Counters M. Önder Efe
1 Registers and Counters A register consists of a group of flip-flops and gates that affect their transition. An n-bit register consists of n-bit flip-flops.
Rabie A. Ramadan Lecture 3
Introduction to Chapter 7
ENG241 Digital Design Week #8 Registers and Counters.
1 Register A register is a sequential circuit that can be set to a specific state and retain that state until externally changed. –State is a combination.
REGISTER A register is a group of flip-flops. Each flip- flop is capable of storing one bit of informa­ tion. An n-bit register consists of a group of.
Sequential Logic Circuit
Sequential Logic Circuit
Sequential logic circuits
Last Mod: Jan 2015  Paul R. Godin Shift Registers : Technician Series Registers 1.1.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Digital Electronics Electronics Technology Landon Johnson Shift Registers.
Digital Fundamentals Tenth Edition Floyd Chapter 9.
Counters.
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.
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.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Principles & Applications
Dr. Clincy Professor of CS
EET 1131 Unit 12 Shift Registers
REGISTER TRANSFER LANGUAGE (RTL)
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Electronics Technology
Digital Fundamentals Abdul Hameed
Prof. Hsien-Hsin Sean Lee
Sequential Logic Counters and Registers
Sequential Circuit: Counter
DESIGN OF SEQUENTIAL CIRCUITS
DIGITAL 2 : EKT 221 RTL : Microoperations on a Single Register
INTRODUCTION Overview of Shift Registers
3.2 Shift Register Basic shift register function
DIGITAL ELECTRONICS THEME 7: Register structures – with parallel input, with serial input. Shift registers – reversible, cycle. Register structures are.
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.
EET 1131 Unit 12 Shift Registers
COE 202: Digital Logic Design Sequential Circuits Part 4
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Dr. Clincy Professor of CS
ECE 3130 – Digital Electronics and Design
Principles & Applications
Registers.
CHAPTER 4 SHIFT REGISTER
Switching Theory and Logic Design Chapter 5:
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
Registers and Counters
Reference Chapter 7 Moris Mano 4th Edition
Counters.
Registers Today we’ll see some common sequential devices: counters and registers. They’re good examples of sequential analysis and design. They are also.
Week 11 Flip flop & Latches.
Shift Registers Dr. Rebhi S. Baraka
Presentation transcript:

Shift Registers

Topics Introduction Buffer Register Classification of Register Shift Registers and their modes Bidirectional Shift Register Universal Shift Register

Introduction Register is an important application of Flip-Flop. Flip- Flop is a 1 bit memory cell which can be used for storing the digital data. To increase the storage capacity in terms of number of bits, we have to use a group of flip-flop. Such a groups of flip-flop is known as a “Register”. Thus register is a group of flip-flops. The “n-bit” register will consist of “n” number of flip flops.

Buffer Register Constructed by using D flip-flop. We can use any type of edge triggering. But here it is a positive triggered D flip-flop. Operation The data is to be stored is B3B2B1B0 = 1 0 1 0. These bits are connected to each D-Flip-flops. Then the clock is applied and corresponding output will be Q3Q2Q1Q0 = B3B2B1B0 = 1 0 1 0

Buffer Register 4 bits input B3 B2 B1 B0 Q3 D3 Q2 D2 Q1 D1 Q0 D0 FF-3 CLK Q3 Q2 Q1 Q0 Outputs

Operation of Buffer Register 4 bits input B3 B2 B1 B0 1 1 Q3 D3 Q2 D2 Q1 D1 Q0 D0 FF-3 FF-2 FF-1 FF-0 CLK 1 1 Q3 Q2 Q1 Q0 Outputs

Classification of Registers : Mode of operation Serial in serial out (SISO) Shift Right Shift Left Serial in Parallel out (SIPO) Parallel in Serial out (PISO) Parallel in Parallel out (PIPO)

Shift Register Comments Mode Illustrative Diagram 1. Sr. No. Mode Illustrative Diagram Comments 1. SISO (Shift Right) Data bits shift from Left to Right by 1 position per clock cycle. 2. SISO (Shift Left) Data bits shift from Right to Left by 1 position per clock cycle. 3. SIPO All o/p bits are made aval. simult. after 4-clcok pulse 4. PISO All i/p bits are applied simult and. After 4-clk pulse the required o/p is available serially. I/P FF3 FF2 FF1 FF0 O/P FF3 FF2 FF1 FF0 O/P I/P FF3 FF2 FF1 FF0 I/P O/P I/P FF3 FF2 FF1 FF0 O/P

Serial input Serial Output (Shift Left Mode) Din Q3 D3 Q2 D2 Q1 D1 Q0 D0 FF-3 FF-2 FF-1 FF-0 Serial Data Output CLK Serial Shift left register Before application of clock let assume all outputs are zero and apply MSB bit of the number to entered to Din. So Din = D0 = 1.

Serial input Serial Output (Shift Left Mode) Apply the clock . On the first falling edge of clock, the FF-0 is SET and the stored data in the register is Q3Q2Q1Q0 = 0 0 0 1 Din 1 1 Q3 D3 Q2 D2 Q1 D1 Q0 D0 FF-3 FF-2 FF-1 FF-0 CLK Serial Data Output

Serial input Serial Output (Shift Left Mode) Apply the NEXT bit to Din . So if Din =1. As soon as the next positive edge of the clock hits. FF- 1 will SET and the stored data changes to, Q3Q2Q1Q0 = 0 0 1 1 Din 1 1 1 Q3 D3 Q2 D2 Q1 D1 Q0 D0 FF-3 FF-2 FF-1 FF-0 CLK Serial Data Output

Serial input Serial Output (Shift Left Mode) Apply the NEXT bit to Din . So if Din =1. As soon as the next positive edge of the clock hits. FF- 2will SET and the stored data changes to, Q3Q2Q1Q0 = 0 1 1 1 Din 1 1 1 1 Q3 D3 Q2 D2 Q1 D1 Q0 D0 FF-3 FF-2 FF-1 FF-0 CLK Serial Data Output

Serial input Serial Output (Shift Left Mode) Apply the NEXT bit to Din . So if Din =1. As soon as the next positive edge of the clock hits. FF- 3will SET and the stored data changes to, Q3Q2Q1Q0 = 1 1 1 1 Din 1 1 1 1 1 Q3 D3 Q2 D2 Q1 D1 Q0 D0 FF-3 FF-2 FF-1 FF-0 CLK Serial Data Output

Summary of shift left operation CLK Q3 Q2=D3 Q1=D2 Q0=D1 Serial input Din = D0 1

Serial input Serial Output (Shift Right Mode) Q0 FF-0 D1 Q1 FF-1 D2 Q2 FF-2 D3 Q3 FF-3 Din CLK Serial Output

Serial input Parallel Output (SIPO) In this operation the data is entered serially and taken out in parallel. That means first the data is loaded bit by bit. The output are disabled as the loading is taking place. Number of clock cycles required to load a four bits data is 4. Hence the speed of operation of SIPO mode is same as that of SISO mode. D3 Q3 FF-3 D2 Q2 FF-2 D1 Q1 FF-1 D0 Q0 FF-0 Din CLK

Parallel input Parallel Output (PIPO) In this operation the data are entered parallel. The 4-bit binary input B0, B1, B2, B3 is applied to data inputs D0, D1, D2 and D3 respectively of the four flip-flops. As soon as a positive clock edge is applied, the input binary bits will be loaded into the flip-flops simultaneously. The loaded bits will appear simultaneously to the output side. ONLY ONE CLOCK IS ESSENTIAL TO LOAD ALL THE BITS. B0 B1 B2 B3 D0 Q0 D1 Q1 D2 Q2 D3 Q3 FF-0 FF-1 FF-2 FF-3 CLK Q2 Q3 Q0 Q1

Parallel input Serial Output (PISO) In this operation the data are entered parallel. Output of pervious FF is connected to the input of the next via a combinational circuit. The binary input data B0, B1, B2, B3 is applied through the same the combinational circuit. There are two modes in which this circuit can work namely shift mode or load mode.

D3 Q3 FF-3 D2 Q2 FF-2 D1 Q1 FF-1 D0 Q0 FF-0 B0 CLK B1 B2 B3 6 5 4 3 2 Shift/ Load 6 5 4 3 2 1 Serial Data O/P

4-bits Bidirectional Shift Register

D0 Q0 FF-0 D1 Q1 FF-1 D2 Q2 FF-2 D3 Q3 FF-3 CLK 8 7 6 5 4 3 2 1 MODE BIT M 8 7 6 5 4 3 2 1 Serial Shift Left Input DL Shift Right Input DR M=1 Shift Right M=0 Shift Left

4-bits Universal Shift Register Mode Control S1 S0 Register Operation No change 1 Shift Right Shift Left Parallel load

Applications of shift Register For Temporary data storage. For multiplication and division As a delay line Ring Counter Parallel to serial converter