Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5. (10 Points) Let us consider a single iteration of the loop executed by 5-stage pipelined MIPS processor without any optimization in the pipeline, please
5. (10 Points) Let us consider a single iteration of the loop executed by 5-stage pipelined MIPS processor without any optimization in the pipeline, please FILL the type of hazards and DRAW the pipeline scheme by marking the data hazards (RAW: Read After Write) and the control hazards: C1 C5 C6 C7 C8 C9 C10 C11 C12 Type of Hazards C2 C3 C4 ID EX M IF WB IF ID EX M WB IF ID EX M WB Instructions loop: lw $2,0($4) addi $2, $2,1 lw $3, 4($4) addi $3, $3,2 add $5, $2, $3 SW $5, 8($4) addi $4, $4,4 bne $4, $7, loop IF ID EX WB M EX IF ID M IF ID EX WB M WB EX M ID EX IF ID WB IF M WB IF
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started