Professional Documents
Culture Documents
Sequential Logic: Analysis and Design of Sequential Circuits
Sequential Logic: Analysis and Design of Sequential Circuits
2
1-Parallel load register
If load =0
Register keep its
output unchanged
6
2-Shift Registers
❖ If the register is capable of shifting bits either
towards right hand side or towards left hand side
is known as shift register. An ‘N’ bit shift register
contains ‘N’ flip-flops.
❖ Shift is a very common operation
❖ Shift left is same as multiply by 2.
❖ Shift right is same as divide by 2
❖ Ex. 6=0110 shift one bit right will be 0011=3
❖ Ex. 6=0110 shift one bit left will be 1100=12
7
2-Shift Registers
8
9
Draw a 4-bit shift right register using D flip flops. Show the contents of the
register after three times shift right with serial input (101). Assume the
register initially contains (1100)
solution
Timing
Shift Register
Pulse
Initial
1 1 0 0
Value
After T1 1 1 1 0
After T2 0 1 1 1
After T3 1 0 1 1 10
Serial Transfer
1011 0010
11
Serial Transfer Example
Timing Serial
Shift Register A Shift Register B
Pulse Output
Initial Value 1 0 1 1 0 0 1 0 0
After T1 1 1 0 1 1 0 0 1 1
After T2 1 1 1 0 1 1 0 0 0
After T3 0 1 1 1 0 1 1 0 0
After T4 1 0 1 1 1 0 1 1 1
12