A shift-left Shift Register (SR) and a D flip-flop are connected to a synchronized clock as shown in the Figure. Assume that the SR and D flip-flops are initially cleared and the XOR gate has no propagation delay.
Which of the following options gives the correct binary representation of the content of the shift register immediately after the clock transition (positive edge)?
Tap to open full sizeFigure description
An 8-bit shift register labelled 'SR (Shift Left)' with cells b7 b6 b5 b4 b3 b2 b1 b0 from left to right. Its clock input (a small triangle) is at the top-right corner next to b0. The serial output is taken from b7 (an arrow leaves b7 to the left) and is wired down to the D input of a D flip-flop. The flip-flop's Q output goes to one input of a 2-input XOR gate. The other XOR input is tied to constant logic 1. The XOR output is wired up into b0 (an arrow points up into b0), so it is the serial input of the shift-left register. The flip-flop's Q-bar output is unconnected. A single 'Clock pulse' line drives the flip-flop's clock input C (positive edge, no bubble). The same line runs along the bottom and up the right side to the shift register's clock input, so both are clocked together.
- (A)
- (B)
- (C)
- (D)