3.1 Designing a Shifter You will now design a device called a shifter. A Shifter
ID: 2081074 • Letter: 3
Question
3.1 Designing a Shifter You will now design a device called a shifter. A Shifter is built from multiplexers and shifts the outputs, based on the select signals. For this shifter, you will use 1-bit 4-to-1 multiplexer of Section 2.2. A shifter has the following inputs and outputs: Primary inputs X3, X2, X1, X0 Cascading Inputs X-1, X-2, X-3 S1, S0 Shift Count F3, F2, F1, FO Fixed Outputs The shifter outputs the inputs shifted to the left 0, 1, 2, or 3 places as indicated by the 2- bit shift count (select signals). The table below summarizes the behavior: S1 SO F3 F2 F1 FO X3 X2 X1 XO X-1 X1 XO X-1 X-2 XO X-1 X-2 X-3 Example: Let the inputs have the values below: X-1 X-2 X-3 X3 X2 X1 XO If the shift count is 00, the output would be: F1 F3 F2 FOExplanation / Answer
Input cascading inputs Shift amount Fixed Outputs
X3 X2 X1 X0 X-1 X-2 X-3 S0 S1 F3 F2 F1 F0
1 1 1 0 0 0 0 1 1 0 0 0 0
1 1 1 0 0 1 1 0 0 1 1 1 0
1 1 0 1 0 1 0 1 0 0 1 0 1
1 0 1 1 0 1 1 0 1 0 1 1 0
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.