Question: Problem 4 15 points a) Draw the execution timeline for the following instructions when executed in a five-stage pipelined datapath without any data forwarding. Assume

Problem 4 15 points a) Draw the execution timeline for the following instructions when executed in a five-stage pipelined datapath without any data forwarding. Assume that we stall an instruction if you encounter a data or control hazard. Assume the register file is capable of performing one read and one write in the same cycle. addi $s1, $s1, 4 lw $to, 0($s1) addi $to, $to, 1 sw $to, 0($s1) addi $to, $to, 5 b) Draw the execution timeline with data forwarding from the EX/MEM and MEM/WB pipeline registers to the input of ALU. Neatly mark the forwarding paths
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
