Skip to content
Related Articles

Related Articles

Improve Article

Universal Shift Register in Digital logic

  • Difficulty Level : Hard
  • Last Updated : 25 Nov, 2019

A Universal shift register is a register which has both the right shift and left shift with parallel load capabilities. Universal shift registers are used as memory elements in computers. A Unidirectional shift register is capable of shifting in only one direction. A bidirectional shift register is capable of shifting in both the directions. The Universal shift register is a combination design of bidirectional shift register and a unidirectional shift register with parallel load provision.

n-bit universal shift register –
A n-bit universal shift register consists of n flip-flops and n 4×1 multiplexers. All the n multiplexers share the same select lines(S1 and S0)to select the mode in which the shift register operates. The select inputs select the suitable input for the flip-flops.

Basic connections –

  1. The first input (zeroth pin of multiplexer) is connected to the output pin of the corresponding flip-flop.
  2. The second input (first pin of multiplexer) is connected to the output of the very-previous flip flop which facilitates the right shift.
  3. The third input (second pin of multiplexer) is connected to the output of the very-next flip-flop which facilitates the left shift.
  4. The fourth input (third pin of multiplexer) is connected to the individual bits of the input data which facilitates parallel loading.

The working of the Universal shift register depends on the inputs given to the select lines.



The register operations performed for the various inputs of select lines are as follows:

S1s0Register operation
00No changes
01Shift right
10Shift left
11Parallel load

Reference:
Digital Electronics – Atul P. Godse, Mrs. Deepali A. Godse

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :