Question: Exercise 4.18 The fi rst three problems in this exercise refer to the execution of the following instruction in the pipelined datapath from Figure 4.51,
Exercise 4.18 The fi rst three problems in this exercise refer to the execution of the following instruction in the pipelined datapath from Figure 4.51, and assume the following clock cycle time, ALU latency, and Mux latency:
Instruction Clock cycle time ALU Latency Mux Latency
a. add $1,$2,$3 100ps 80ps 10ps
b. slt $2,$1,$3 80ps 50ps 20ps 4.18.1 [10] <4.6> For each stage of the pipeline, what are the values of control signals asserted by this instruction in that pipeline stage?
4.18.2 [10] <4.6, 4.7> How much time does the control unit have to generate the ALUSrc control signal? Compare this to a single-cycle organization.
4.18.3 What is the value of the PCSrc signal for this instruction? This signal is generated early in the MEM stage (only a single AND gate). What would be a reason in favor of doing this in the EX stage? What is the reason against doing it in the EX stage?
The remaining problems in this exercise refer to the following signals from Figure 4.48:
Signal 1 Signal 2
a. RegDst RegWrite
b. MemRead RegWrite 4.18.4 [5] <4.6> For each of these signals, identify the pipeline stage in which it is generated and the stage in which it is used.
4.18.5 [5] <4.6> For which MIPS instruction(s) are both of these signals set to 1?
4.18.6 [10] <4.6> One of these signals goes back through the pipeline. Which signal is it? Is this a time-travel paradox? Explain.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
