$25
1. The content of a 4-bit shift register is initially 1011. The register is shifted five times to the left with the serial input 101110 (left bit is first input). What is the content of the register after each shift?
2. Draw the logic diagram of a four-bit register with four D flip-flops and four 4x1 multiplexers with mode selection S1 and S0. The register operates according to the following function table.
S1
S0
Register Operation
0
0
Load parallel data
0
1
Clear register to 0 (synchronous with the clock)
1
0
Complement the four outputs
1
1
No change
3. Show that a Johnson counter with n flip-flops produces a sequence of 2n states. List the 10 states produced with five flip-flops and the Boolean terms of each of the 10 AND gate outputs.
4. Use D flip-flops and gates to design a binary counter with each of the following repeated binary sequences:
(a) 1, 5, 7
(b) 0, 2, 4, 6
5. Frequency divider:
(a) Design a frequency divider to provide the output signal with frequency as 1/8 of the that of the original signal.
(b) Design a frequency divider to provide the output signal with frequency as 1/6 of the that of the original signal.