13.1k views
1 vote
A 4-bit left shift register is initially in the 0000 state, with all the flip flops storing 0s. A group of bits 1011 is serially left-shifted into the register. What will the register contain after two clock pulses?

User Ramayac
by
5.8k points

1 Answer

3 votes

Answer:

0010

Step-by-step explanation:

Serially left shifted means that the left most bit will enter the register first. The left most bit already stored in the register will move out of the sequence. The "bold" bits mentioned below highlight these left most bits:

Initial State of the Register:

0000

Group of bits entering:

1011

First Clock Cycle:

0000 (This bold bit will move out)

1011 (This bold bit will move in from right side, shifting the whole sequence one place to the left).

The resulting Sequence:

0001

Second Clock Cycle:

0001 (This bold bit will move out)

1011 (This bold bit will move in from right side, shifting the whole sequence one place to the left).

The resulting Sequence:

0010 (Final Answer)

User Mrcat
by
5.2k points