The following figure shows the data flow through the circuit when the control signal control = 0:
Recall the functionality of a 2×1 multiplexor:
|
The multiplexors select the left inputs to shift left:
|
The multiplexors select the right inputs to shift right:
|
(We must connect the correct data signals di to the inputs of the multiplexors !)