Design of 4-bit shift register (shift right).
Logic trainer kit, D Flip-flop IC - 7474 wires.
Serial In/Shift Right/Serial Out OperationData is shifted in the right hand direction one bit at a time with each transition of the clock signal. The data enters the shift register serially from the left hand side and after four clock transitions the 4-bit registers has 4-bbits of data. The data is shifted out serially one bit at a time from the right hand side of the register if clock signals are continuously applied. Thus after 8 clock signals the 4-bit data is completely shifted out of the shift register.
Serial In/Serial Right/Serial Out Operation
Serial shift registers can be implemented using any type of flip-flops. A serial shift register implemented using D flip-flops with the serial data applied at the D input of the first flip-flop and serial data out obtained at the Q output of the last flip-flop is shown in figure. At each clock transition 1 bit of serial data is shifted in and at the same instant 1-bit of serial data is shifted out. For a 4-bit shift register, 8 clock transitions are required to shift in 4-bit data and completely shift out the 4-bit data. As the data shifted out 1-bit at a time, a logic 0 value is usually shifted in to fill up the vacant bits in the shift register.
Serial In/Shift Right/Serial Out Register
Timing diagram of a Serial In/Shift Right/Serial Out Register
Reset | 0 | 0 | 0 | 0 |
CK Pulse 1 | 1/td> | 0 | 0 | 0 |
CK Pulse 2 | 0 | 1 | 0 | 0 |
CK Pulse 3 | 0 | 0 | 1 | 0 |
CK Pulse 4 | 0 | 0 | 0 | 1 |
Thus the Shift register was designed and their truth table is verified.
Get all latest content delivered to your email a few times a month.