A bidirectional shift register is one in which the datacan be shifted either left or right. It can be implemented by usinggate logic that enables the transfer of a data bit from one stageto the next stage to the right or to the left, depending on thelevel of a control line. A 4-bit bidirectional shift register isshown in Figure below. A HIGH on the RIGHT / LEFTcontrol input allows data bits inside the register to beshifted to the right, and a LOW enables data bits inside theregister to be shifted to the left.
Determine the state of the shift register given above after each clock pulse for the givenRIGHT / LEFTcontrol input waveform in figure below. Assume that initiallyQ0 = 1, Q1 = 1, Q2 = 0,Q3 = 1 and serial data- input line is LOW.
Note: State of the shift register means you have to drawonly the wave forms for Q0, Q1, Q2and Q3.