Consider the given sequential circuit designed using D-Flip-flops. The circuit is initialized with some value (initial state). The number of distinct states the circuit will go through before returning back to the initial state is _________ . (Answer in integer)
Tap to open full sizeFigure description
Four positive-edge-triggered D flip-flops D0, D1, D2, D3 in a row, all clocked by one common CLK line. Each flip-flop has outputs Q and Q-bar. Q0 is connected to the D input of the next flip-flop (D1), Q1 to the input of D2, and Q2 to the input of D3. Q3 goes out to the right as an open output. The Q-bar output of D3 is fed back along a wire that goes up the right side, across the top to the left, and down into the D input of D0. The Q-bar outputs of D0, D1 and D2 are unconnected.