0
1.8kviews
Design a 4 bit universal shift register and explain its working
0
42views

If the register has both shifts and parallel load capabilities, it is referred as a universal shift register.

Function Table:

Mode control:

S1 S0 Register Operation
0 0 No change
0 1 Shift right
1 0 Shift left
1 1 Parallel load

* A clear control to clear the register to 0. * A clock input to synchronize the operations. * A shift right control to enable the shift right operation and the serial input and output lines associated with the shift right. * A shift left control to enable the shift left operation and the serial input and output lines associated with the shift left. * A parallel load control to enable a parallel transfer and the n input lines associated with the parallel transfer.

Working:

  • The 4-bit unversal shift register consists of four D-flipflops and four multiplexers.
  • The four mux have two common selection inputs S1 and S0.

When S1S0=00, input '0' in each mux is selected, the present value of the register is applied to the D inputs of the flipflops. This condition forms a path from the output of each flipflop into the input of the same flipflop.

When S1S0=01, input '1' in each mux is selected, terminal 1 of the mux inputs has a path to the D inputs of the flipflops. This causes a shift right operation, with the serial input transferred into flipflop A4.

When S1S0=10, a shift left opereation results, wiht the other serial input going into flipflop A1.

When S1S0=11, the binary information on the parallel input lines is transferred into the register simultaneously during the next clock edge.

Please log in to add an answer.