Question: The pipelined RISC - V processor ( with hazard unit ) is running the following code snippet: add s 1 , zero, to Iw t

The pipelined RISC-V processor (with hazard unit) is running the following code snippet:
add s1, zero, to
Iw t4,25(t0)
add s3, s3, s1
or s4, s1, s2
Stages' Shortcut:
F: Fetch
D: Decode
E: Execute
M: Memory
W: Write Back
NA: No Action (nothing is being done at this stage)
Fill the table with the correct stage in every cycle:
\table[[Instruction,\table[[Cycle],[1]],Cycle 2,Cycle,,Cycle,,,,Cycle,,Cycle,,Cycle 8],[\table[[add s1, zero,],[to]],\table[[F]],D,E,,M,,W,,NA,,NA,,],[Iw t4,25(t0),NA,F,D,hat(v),E,hat(v),M,hat(v),W,hat(v),NA,~~,],[\table[[\table[[add s3, s3,],[s1]]]],NA,NA,F,hat(),D,hat(v),E,hat(v),M,hat(),W,~~,NA hat(v)
 The pipelined RISC-V processor (with hazard unit) is running the following

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 Databases Questions!