Question: a. Explain why forwarding is done from MA-WB Buffer (shown in the Fig.1) in case of the instruction sequence in 2.b. (ii) whereas it is

a. Explain why forwarding is done from MA-WB Buffer (shown in the Fig.1) in case of the instruction sequence in 2.b. (ii) whereas it is done from Ex-MA Buffer in case of the following sequence: add $t0, $t0, $t1: add $t0, $t0, $t2: add $t0, $t0, $t3 b. Using MIPS-like pseudo-code, present the logic for pipeline stalling while scheduling the second instruction in Q.2.b iii). Discuss how pipeline stalling is done. c. Explain with a state diagram the 2-bit memory scheme (4 state) for branch taking that is useful in case of nested loops
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
