SlideShare a Scribd company logo
1 of 20
SHIFT REGISTER
Shift Register
Definition: A shift register is a sequential logic circuit that acts as a unit to store
and transfer binary data. Basically shift registers are bidirectional FIFO circuit,
that shifts every single bit of the data present in its input towards its output on
each clock pulse.
We know registers are the circuits constructed using flip-flops for storing binary
data. One-bit of data is stored by each flip-flop at a time. So, the storage of
multiple bits of data requires multiple flip-flops.
Thus the storing capacity of the register depends on the number of flip-flops used in its construction.
Shift registers are formed by the serial combination of D flip-flops, where each flip-flop in the
arrangement holds single data bit. The serial arrangement permits the output of one flip-flop to act as
input to other and this allows the shifting of data bit inside the register.
It is to be noted here that data can be transferred in or out of the register either serially or parallely. So, the
data bit movement inside the shift register give rise to various configurations which are as follows:
•SISO: Serial-in Serial-out: It permits the insertion of data serially and taking the output also in a serial
manner.
•SIPO: Serial-in Parallel-out: Here the data is inserted serially either from the left or right direction. But the
output is taken parallely.
•PISO: Parallel-in Serial-out: This type of shift register allows the parallel input of data bit, but the output is
taken serially.
•PIPO: Parallel-in Parallel-out: PIPO shift register permits both in and out of data bit in a parallel manner.
Operation of SISO Shift Register
As we have already discussed that a SISO is a type of shift register in which the input is fed serially
and output is also taken in serial manner.
So consider a connection of 4 D flip-flops D0 to D3 as shown in the figure below:
Initially, we consider all the flip-flops are at reset mode. Thus the output of each flip-flop in the
arrangement is logic low i.e., 0.
Here we have assumed a shift right mode circuit as the data input is present at the left end while the stored bit
is getting shifted towards the right so as to provide serial output.
Let us now understand how data is stored in a shift register.
Suppose we have to insert ‘1111’ inside the shift register. Initially, as the device is in reset mode thus the
output of each register will be low, thereby providing output of all the 4 registers as 0000.
•Now beginning with LSB of the data to be inserted so 1 is provided as input to the circuit i.e., D3 = 1. But as
initially the output of all the flip-flops were 0. Therefore, D2, D1 and D0 will be 0. While input D3 = 1 will cause
Q3 to be 1. Thus the overall output will be 1000.
•Further, when another data input bit i.e., 1 is provided at D3. Then again this will cause Q3 to be
1, but as Q3 is provided as input to D2. Therefore, this will cause Q2 to be 1, while rest all other
outputs will be 0. Thus for a second falling edge, we will get 11 at the stored bit inside the
register, thereby giving the overall output as 1100.
•Similarly, when 3rd input bit ‘1’ is provided then previous output Q2 will cause the input D1 to be 1.
This will provide output Q3, Q2 and Q1 as 1 while Q0 will still remain 0. Thus the overall output will
be 1110.
•Furthermore, when MSB of the data is provided as input, then 1 at Q1 will cause D0 input to be
logic high. So, this will cause Q0 to be 1.
Thus in this way shift register stores ‘1111‘ thereby showing in the output.
The figure below represents the truth table for the 4-bit SISO shift register:
Considering the above table let us have a look at the waveform representation of a SISO shift register:
Applications of Shift Registers
The different configurations of shift registers provide uses in various fields like a SISO shift register is used to
generate time delay in digital circuits. A SIPO shift register can act as serial to parallel converter.
In a similar way, PISO shift register changes parallel input into serial output thereby performing the job of a
parallel to serial converter.
Truth Table
Waveforms
Serial IN Parallel OUT
In the "Serial IN Parallel OUT" shift register, the data is passed serially to the flip flop, and outputs
are fetched in a parallel way. The data is passed bit by bit in the register, and the output remains
disabled until the data is not passed to the data input. When the data is passed to the register, the
outputs are enabled, and the flip flops contain their return value.
Below is the block diagram of the 4-bit serial in the parallel-out shift register. The circuit having
four D flip-flops contains a clear and clock signal to reset these four flip flops. In SIPO, the input of the
second flip flop is the output of the first flip flop, and so on. The same clock signal is applied to each
flip flop since the flip flops synchronize each other. The parallel outputs are used for communication.
Block Diagram
Parallel IN Serial OUT
In the "Parallel IN Serial OUT" register, the data is entered in a parallel way, and the outcome comes serially. A
four-bit "Parallel IN Serial OUT" register is designed below. The input of the flip flop is the output of the previous
Flip Flop. The input and outputs are connected through the combinational circuit. Through this combinational
circuit, the binary input B0, B1, B2, B3 are passed. The shift mode and the load mode are the two modes in which
the "PISO" circuit works.
Load mode
The bits B0, B1, B2, and B3 are passed to the corresponding flip flops when the second, fourth, and sixth
"AND" gates are active. These gates are active when the shift or load bar line set to 0. The binary
inputs B0, B1, B2, and B3 will be loaded into the respective flip-flops when the edge of the clock is low.
Thus, parallel loading occurs.
Shift mode
The second, fourth, and sixth gates are inactive when the load and shift line set to 0. So, we are not
able to load data in a parallel way. At this time, the first, third, and fifth gates will be activated, and the
shifting of the data will be left to the right bit. In this way, the "Parallel IN Serial OUT" operation
occurs.
Block Diagram
Parallel IN Parallel OUT
In "Parallel IN Parallel OUT", the inputs and the outputs come in a parallel way
in the register. The inputs A0, A1, A2, and A3, are directly passed to the data inputs
D0, D1, D2, and D3 of the respective flip flop. The bits of the binary input is loaded
to the flip flops when the negative clock edge is applied. The clock pulse is
required for loading all the bits. At the output side, the loaded bits appear.
Block Diagram

More Related Content

What's hot

Low Voltage Motors
Low Voltage MotorsLow Voltage Motors
Low Voltage MotorsOsama Javed
 
PLC and Sensors Based Protection and Fault Detection of Induction Motors
PLC and Sensors Based Protection and Fault Detection of Induction MotorsPLC and Sensors Based Protection and Fault Detection of Induction Motors
PLC and Sensors Based Protection and Fault Detection of Induction MotorsMathankumar S
 
Multi year tariffs and regulations
Multi year tariffs and regulationsMulti year tariffs and regulations
Multi year tariffs and regulationsNavajyoti Martha
 
Smart grid iit-jodhpur-apr10
Smart grid iit-jodhpur-apr10Smart grid iit-jodhpur-apr10
Smart grid iit-jodhpur-apr10tec2
 
Ancillary Services
Ancillary ServicesAncillary Services
Ancillary ServicesIPPAI
 
Solar tracking system using 8051 microcontroller
Solar tracking system using 8051 microcontrollerSolar tracking system using 8051 microcontroller
Solar tracking system using 8051 microcontrollerVISHAL NAGAR
 
Atc calculation methods by shridhar kulkarni
Atc calculation methods by shridhar kulkarniAtc calculation methods by shridhar kulkarni
Atc calculation methods by shridhar kulkarniShridhar kulkarni
 
Components of LT Switchgear.pptx
Components of LT Switchgear.pptxComponents of LT Switchgear.pptx
Components of LT Switchgear.pptxSwaroopMallick2
 
concept of resilience and self healing in smart grid
concept of resilience and self healing in smart gridconcept of resilience and self healing in smart grid
concept of resilience and self healing in smart gridKundan Kumar
 
Doubly fed-induction-generator
Doubly fed-induction-generatorDoubly fed-induction-generator
Doubly fed-induction-generatorHarshad Karmarkar
 
Betz speed limit and tip speed ratio
Betz speed limit and tip speed ratioBetz speed limit and tip speed ratio
Betz speed limit and tip speed ratioSonuKumarBairwa
 
Minimizing losses in power distribution system
Minimizing losses in power distribution systemMinimizing losses in power distribution system
Minimizing losses in power distribution systemharshal567
 
Practical handbook-for-relay-protection-engineers
Practical handbook-for-relay-protection-engineers Practical handbook-for-relay-protection-engineers
Practical handbook-for-relay-protection-engineers veerraju143143
 
Working Principle of Inverters & Types
Working Principle of Inverters & TypesWorking Principle of Inverters & Types
Working Principle of Inverters & TypesKrishna Mohan Mishra
 
Energy storage system
Energy storage systemEnergy storage system
Energy storage systemmikkumar5
 
Ppt of PGCIL by d.p.yadav( 91 8432379261)
Ppt of PGCIL by d.p.yadav( 91 8432379261)Ppt of PGCIL by d.p.yadav( 91 8432379261)
Ppt of PGCIL by d.p.yadav( 91 8432379261)Dharmpal Yadav
 
Dc to Dc Converter (chopper)
Dc to Dc Converter (chopper)Dc to Dc Converter (chopper)
Dc to Dc Converter (chopper)dharmesh nakum
 

What's hot (20)

Low Voltage Motors
Low Voltage MotorsLow Voltage Motors
Low Voltage Motors
 
Electricity Amendment Bill, 2020
Electricity Amendment Bill, 2020Electricity Amendment Bill, 2020
Electricity Amendment Bill, 2020
 
PLC and Sensors Based Protection and Fault Detection of Induction Motors
PLC and Sensors Based Protection and Fault Detection of Induction MotorsPLC and Sensors Based Protection and Fault Detection of Induction Motors
PLC and Sensors Based Protection and Fault Detection of Induction Motors
 
Open access
Open accessOpen access
Open access
 
Multi year tariffs and regulations
Multi year tariffs and regulationsMulti year tariffs and regulations
Multi year tariffs and regulations
 
Smart grid iit-jodhpur-apr10
Smart grid iit-jodhpur-apr10Smart grid iit-jodhpur-apr10
Smart grid iit-jodhpur-apr10
 
Ancillary Services
Ancillary ServicesAncillary Services
Ancillary Services
 
Solar tracking system using 8051 microcontroller
Solar tracking system using 8051 microcontrollerSolar tracking system using 8051 microcontroller
Solar tracking system using 8051 microcontroller
 
Atc calculation methods by shridhar kulkarni
Atc calculation methods by shridhar kulkarniAtc calculation methods by shridhar kulkarni
Atc calculation methods by shridhar kulkarni
 
Components of LT Switchgear.pptx
Components of LT Switchgear.pptxComponents of LT Switchgear.pptx
Components of LT Switchgear.pptx
 
concept of resilience and self healing in smart grid
concept of resilience and self healing in smart gridconcept of resilience and self healing in smart grid
concept of resilience and self healing in smart grid
 
Doubly fed-induction-generator
Doubly fed-induction-generatorDoubly fed-induction-generator
Doubly fed-induction-generator
 
Betz speed limit and tip speed ratio
Betz speed limit and tip speed ratioBetz speed limit and tip speed ratio
Betz speed limit and tip speed ratio
 
Minimizing losses in power distribution system
Minimizing losses in power distribution systemMinimizing losses in power distribution system
Minimizing losses in power distribution system
 
Practical handbook-for-relay-protection-engineers
Practical handbook-for-relay-protection-engineers Practical handbook-for-relay-protection-engineers
Practical handbook-for-relay-protection-engineers
 
Working Principle of Inverters & Types
Working Principle of Inverters & TypesWorking Principle of Inverters & Types
Working Principle of Inverters & Types
 
Energy storage system
Energy storage systemEnergy storage system
Energy storage system
 
Ppt of PGCIL by d.p.yadav( 91 8432379261)
Ppt of PGCIL by d.p.yadav( 91 8432379261)Ppt of PGCIL by d.p.yadav( 91 8432379261)
Ppt of PGCIL by d.p.yadav( 91 8432379261)
 
Wind Turbine generator
Wind Turbine generatorWind Turbine generator
Wind Turbine generator
 
Dc to Dc Converter (chopper)
Dc to Dc Converter (chopper)Dc to Dc Converter (chopper)
Dc to Dc Converter (chopper)
 

Similar to Shift Registers.pptx (20)

week 2-REGISTER.pptx
week 2-REGISTER.pptxweek 2-REGISTER.pptx
week 2-REGISTER.pptx
 
Dns module3 p3
Dns module3 p3Dns module3 p3
Dns module3 p3
 
Dns module3 p3_shift registers
Dns module3 p3_shift registersDns module3 p3_shift registers
Dns module3 p3_shift registers
 
Chapter7
Chapter7Chapter7
Chapter7
 
Module 4 registers and counters
Module 4 registers and counters Module 4 registers and counters
Module 4 registers and counters
 
Registers and counters
Registers and counters Registers and counters
Registers and counters
 
Digital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptxDigital Electronics Unit_4_new.pptx
Digital Electronics Unit_4_new.pptx
 
Shift register
Shift registerShift register
Shift register
 
Registers r011
Registers   r011Registers   r011
Registers r011
 
FYBSC IT Digital Electronics Unit V Chapter II Shift Register
FYBSC IT Digital Electronics Unit V Chapter II Shift RegisterFYBSC IT Digital Electronics Unit V Chapter II Shift Register
FYBSC IT Digital Electronics Unit V Chapter II Shift Register
 
Registers
RegistersRegisters
Registers
 
Shift Register
Shift RegisterShift Register
Shift Register
 
digital elctronics
digital elctronicsdigital elctronics
digital elctronics
 
Registers
RegistersRegisters
Registers
 
Register counters.readonly
Register counters.readonlyRegister counters.readonly
Register counters.readonly
 
Registers
RegistersRegisters
Registers
 
lecture .pptx
lecture .pptxlecture .pptx
lecture .pptx
 
counters and resister presentations.pptx
counters and resister presentations.pptxcounters and resister presentations.pptx
counters and resister presentations.pptx
 
Powerpoint
PowerpointPowerpoint
Powerpoint
 
Digital Components
Digital ComponentsDigital Components
Digital Components
 

Recently uploaded

THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptxTHE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptxNandakishor Bhaurao Deshmukh
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024AyushiRastogi48
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxmalonesandreagweneth
 
TOPIC 8 Temperature and Heat.pdf physics
TOPIC 8 Temperature and Heat.pdf physicsTOPIC 8 Temperature and Heat.pdf physics
TOPIC 8 Temperature and Heat.pdf physicsssuserddc89b
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Nistarini College, Purulia (W.B) India
 
Environmental Biotechnology Topic:- Microbial Biosensor
Environmental Biotechnology Topic:- Microbial BiosensorEnvironmental Biotechnology Topic:- Microbial Biosensor
Environmental Biotechnology Topic:- Microbial Biosensorsonawaneprad
 
Citronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyayCitronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyayupadhyaymani499
 
User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)Columbia Weather Systems
 
Topic 9- General Principles of International Law.pptx
Topic 9- General Principles of International Law.pptxTopic 9- General Principles of International Law.pptx
Topic 9- General Principles of International Law.pptxJorenAcuavera1
 
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)Columbia Weather Systems
 
The dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxThe dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxEran Akiva Sinbar
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRCall Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRlizamodels9
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Patrick Diehl
 
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...lizamodels9
 
FREE NURSING BUNDLE FOR NURSES.PDF by na
FREE NURSING BUNDLE FOR NURSES.PDF by naFREE NURSING BUNDLE FOR NURSES.PDF by na
FREE NURSING BUNDLE FOR NURSES.PDF by naJASISJULIANOELYNV
 
Davis plaque method.pptx recombinant DNA technology
Davis plaque method.pptx recombinant DNA technologyDavis plaque method.pptx recombinant DNA technology
Davis plaque method.pptx recombinant DNA technologycaarthichand2003
 
Speech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxSpeech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxpriyankatabhane
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxyaramohamed343013
 

Recently uploaded (20)

THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptxTHE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
THE ROLE OF PHARMACOGNOSY IN TRADITIONAL AND MODERN SYSTEM OF MEDICINE.pptx
 
Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024Vision and reflection on Mining Software Repositories research in 2024
Vision and reflection on Mining Software Repositories research in 2024
 
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptxLIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
LIGHT-PHENOMENA-BY-CABUALDIONALDOPANOGANCADIENTE-CONDEZA (1).pptx
 
TOPIC 8 Temperature and Heat.pdf physics
TOPIC 8 Temperature and Heat.pdf physicsTOPIC 8 Temperature and Heat.pdf physics
TOPIC 8 Temperature and Heat.pdf physics
 
Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...Bentham & Hooker's Classification. along with the merits and demerits of the ...
Bentham & Hooker's Classification. along with the merits and demerits of the ...
 
Environmental Biotechnology Topic:- Microbial Biosensor
Environmental Biotechnology Topic:- Microbial BiosensorEnvironmental Biotechnology Topic:- Microbial Biosensor
Environmental Biotechnology Topic:- Microbial Biosensor
 
Citronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyayCitronella presentation SlideShare mani upadhyay
Citronella presentation SlideShare mani upadhyay
 
User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)User Guide: Orion™ Weather Station (Columbia Weather Systems)
User Guide: Orion™ Weather Station (Columbia Weather Systems)
 
Topic 9- General Principles of International Law.pptx
Topic 9- General Principles of International Law.pptxTopic 9- General Principles of International Law.pptx
Topic 9- General Principles of International Law.pptx
 
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
User Guide: Pulsar™ Weather Station (Columbia Weather Systems)
 
The dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptxThe dark energy paradox leads to a new structure of spacetime.pptx
The dark energy paradox leads to a new structure of spacetime.pptx
 
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Munirka Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCRCall Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
Call Girls In Nihal Vihar Delhi ❤️8860477959 Looking Escorts In 24/7 Delhi NCR
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
 
Volatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -IVolatile Oils Pharmacognosy And Phytochemistry -I
Volatile Oils Pharmacognosy And Phytochemistry -I
 
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
Best Call Girls In Sector 29 Gurgaon❤️8860477959 EscorTs Service In 24/7 Delh...
 
FREE NURSING BUNDLE FOR NURSES.PDF by na
FREE NURSING BUNDLE FOR NURSES.PDF by naFREE NURSING BUNDLE FOR NURSES.PDF by na
FREE NURSING BUNDLE FOR NURSES.PDF by na
 
Davis plaque method.pptx recombinant DNA technology
Davis plaque method.pptx recombinant DNA technologyDavis plaque method.pptx recombinant DNA technology
Davis plaque method.pptx recombinant DNA technology
 
Speech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptxSpeech, hearing, noise, intelligibility.pptx
Speech, hearing, noise, intelligibility.pptx
 
Scheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docxScheme-of-Work-Science-Stage-4 cambridge science.docx
Scheme-of-Work-Science-Stage-4 cambridge science.docx
 

Shift Registers.pptx

  • 2. Shift Register Definition: A shift register is a sequential logic circuit that acts as a unit to store and transfer binary data. Basically shift registers are bidirectional FIFO circuit, that shifts every single bit of the data present in its input towards its output on each clock pulse. We know registers are the circuits constructed using flip-flops for storing binary data. One-bit of data is stored by each flip-flop at a time. So, the storage of multiple bits of data requires multiple flip-flops.
  • 3. Thus the storing capacity of the register depends on the number of flip-flops used in its construction. Shift registers are formed by the serial combination of D flip-flops, where each flip-flop in the arrangement holds single data bit. The serial arrangement permits the output of one flip-flop to act as input to other and this allows the shifting of data bit inside the register.
  • 4. It is to be noted here that data can be transferred in or out of the register either serially or parallely. So, the data bit movement inside the shift register give rise to various configurations which are as follows: •SISO: Serial-in Serial-out: It permits the insertion of data serially and taking the output also in a serial manner. •SIPO: Serial-in Parallel-out: Here the data is inserted serially either from the left or right direction. But the output is taken parallely. •PISO: Parallel-in Serial-out: This type of shift register allows the parallel input of data bit, but the output is taken serially. •PIPO: Parallel-in Parallel-out: PIPO shift register permits both in and out of data bit in a parallel manner.
  • 5. Operation of SISO Shift Register As we have already discussed that a SISO is a type of shift register in which the input is fed serially and output is also taken in serial manner. So consider a connection of 4 D flip-flops D0 to D3 as shown in the figure below:
  • 6. Initially, we consider all the flip-flops are at reset mode. Thus the output of each flip-flop in the arrangement is logic low i.e., 0. Here we have assumed a shift right mode circuit as the data input is present at the left end while the stored bit is getting shifted towards the right so as to provide serial output. Let us now understand how data is stored in a shift register. Suppose we have to insert ‘1111’ inside the shift register. Initially, as the device is in reset mode thus the output of each register will be low, thereby providing output of all the 4 registers as 0000. •Now beginning with LSB of the data to be inserted so 1 is provided as input to the circuit i.e., D3 = 1. But as initially the output of all the flip-flops were 0. Therefore, D2, D1 and D0 will be 0. While input D3 = 1 will cause Q3 to be 1. Thus the overall output will be 1000.
  • 7. •Further, when another data input bit i.e., 1 is provided at D3. Then again this will cause Q3 to be 1, but as Q3 is provided as input to D2. Therefore, this will cause Q2 to be 1, while rest all other outputs will be 0. Thus for a second falling edge, we will get 11 at the stored bit inside the register, thereby giving the overall output as 1100. •Similarly, when 3rd input bit ‘1’ is provided then previous output Q2 will cause the input D1 to be 1. This will provide output Q3, Q2 and Q1 as 1 while Q0 will still remain 0. Thus the overall output will be 1110. •Furthermore, when MSB of the data is provided as input, then 1 at Q1 will cause D0 input to be logic high. So, this will cause Q0 to be 1. Thus in this way shift register stores ‘1111‘ thereby showing in the output.
  • 8. The figure below represents the truth table for the 4-bit SISO shift register:
  • 9. Considering the above table let us have a look at the waveform representation of a SISO shift register:
  • 10. Applications of Shift Registers The different configurations of shift registers provide uses in various fields like a SISO shift register is used to generate time delay in digital circuits. A SIPO shift register can act as serial to parallel converter. In a similar way, PISO shift register changes parallel input into serial output thereby performing the job of a parallel to serial converter.
  • 11.
  • 12.
  • 15. Serial IN Parallel OUT In the "Serial IN Parallel OUT" shift register, the data is passed serially to the flip flop, and outputs are fetched in a parallel way. The data is passed bit by bit in the register, and the output remains disabled until the data is not passed to the data input. When the data is passed to the register, the outputs are enabled, and the flip flops contain their return value. Below is the block diagram of the 4-bit serial in the parallel-out shift register. The circuit having four D flip-flops contains a clear and clock signal to reset these four flip flops. In SIPO, the input of the second flip flop is the output of the first flip flop, and so on. The same clock signal is applied to each flip flop since the flip flops synchronize each other. The parallel outputs are used for communication.
  • 17. Parallel IN Serial OUT In the "Parallel IN Serial OUT" register, the data is entered in a parallel way, and the outcome comes serially. A four-bit "Parallel IN Serial OUT" register is designed below. The input of the flip flop is the output of the previous Flip Flop. The input and outputs are connected through the combinational circuit. Through this combinational circuit, the binary input B0, B1, B2, B3 are passed. The shift mode and the load mode are the two modes in which the "PISO" circuit works. Load mode The bits B0, B1, B2, and B3 are passed to the corresponding flip flops when the second, fourth, and sixth "AND" gates are active. These gates are active when the shift or load bar line set to 0. The binary inputs B0, B1, B2, and B3 will be loaded into the respective flip-flops when the edge of the clock is low. Thus, parallel loading occurs. Shift mode The second, fourth, and sixth gates are inactive when the load and shift line set to 0. So, we are not able to load data in a parallel way. At this time, the first, third, and fifth gates will be activated, and the shifting of the data will be left to the right bit. In this way, the "Parallel IN Serial OUT" operation occurs.
  • 19. Parallel IN Parallel OUT In "Parallel IN Parallel OUT", the inputs and the outputs come in a parallel way in the register. The inputs A0, A1, A2, and A3, are directly passed to the data inputs D0, D1, D2, and D3 of the respective flip flop. The bits of the binary input is loaded to the flip flops when the negative clock edge is applied. The clock pulse is required for loading all the bits. At the output side, the loaded bits appear.