Question: 1 CPU Datapath The following figure shows the overall data path of the simple 5 - stage CPU we have learned. There are four multiplexers

1 CPU Datapath
The following figure shows the overall data path of the simple 5-stage CPU we have learned.
There are four multiplexers (MUX) in the figure, which are labeled and numbered. Please answer the following questions regarding these multiplexers. (30 points)
1. Please give the two inputs of each multiplexer.
(a) MUX1:
i. input 1:
ii. input 2 :
(b) MUX2:
i. input 1:
ii. input 2 :
(c) MUX3:
i. input 1:
ii. input 2 :
(d) MUX4:
i. input 1:
ii. input 2 :
2. Given a memory load instruction, "mov \( R 0,[R 1+1000]\)," please give the input that should be selected at each multiplexer. You can write "none" for the multiplexers that are not used for this instruction.
(a) MUX1:
(b) MUX2:
(c) MUX3:
(d) MUX4:
3. Given a memory store instruction, "\(\mathrm{mov}[R 1+1000], R 0\)," please give the input that should be selected at each multiplexer. You can write "none" for the multiplexers that are not used for this instruction.
(a) MUX1:
(b) MUX2:
(c) MUX3:
(d) MUX4:
4. Given a bitwise XOR instruction, " xor \( R 0, R 1, R 2\)," please give the input that should be selected at each multiplexer.
(a) MUX1:
(b) MUX2:
(c) MUX3:
(d) MUX4:
5. Given a conditional branch instruction, "jnz 100," please give the input that should be selected at each multiplexer. Assume the branch is not taken. You can write "none" for the multiplexers that are not used for this instruction.
(a) MUX1:
(b) MUX2:
(c) MUX3:
(d) MUX4:
6. Given an unconditional branch instruction, "jmp 100," please give the input that should be selected at each multiplexer. Unconditional branches are always taken. You can write "none" for the multiplexers that are not used for this instruction.
(a) MUX1:
(b) MUX2:
(c) MUX3:
(d) MUX4:
1 CPU Datapath The following figure shows the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!