Question: Assume that the 5 - stage pipelined processor supports precise exceptions. The processor also supports all kinds of data forwarding ( including the internal forwarding
Assume that the stage pipelined processor supports precise exceptions. The processor also supports all kinds of data forwarding including the internal forwarding in the register file and hazard detection. Consider the following RISCV assembly code.Let us assume that page fault is detected in the MEM stage and undefined instruction is detected in the ID stage. Draw a pipeline diagram as shown below. You should identify which exception handler is called and exhibit the first instruction of an exception handler such as PFI and UIIO in the diagram. Youcan use any unknown instructions such as INST if needed. Represent a flush a bubble Show when exceptions are detected also by circling the corresponding pipeline stage.
tableadd IFIDaddi lw
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
