A 5-stage pipelined processor has instruction Fetch (IF), Instruction Decode (ID), Operand fetch (OF), perform Operation (PO) and Write Operand (WO) stages. The IF, ID, OF and WO stages take 1 clock...


A 5-stage pipelined processor has instruction Fetch (IF), Instruction Decode (ID), Operand fetch (OF),<br>perform Operation (PO) and Write Operand (WO) stages. The IF, ID, OF and WO stages take 1 clock cycle<br>each for any instruction. The PO stage takes 1 clock cycle for ADD and SUB instructions, 3 clock cycles<br>for MUL instruction, and 6 clock cycles for DIV instruction respectively. Operand forwarding is used in<br>the pipeline. What is the number of clock cycles needed to execute the following sequence of instructions?<br>I0:<br>ADD $t2, $t1, $t2<br>Il:<br>DIV $t4, $t3, $t2<br>12:<br>MUL $t6, $t5, $t4<br>Answer:<br>

Extracted text: A 5-stage pipelined processor has instruction Fetch (IF), Instruction Decode (ID), Operand fetch (OF), perform Operation (PO) and Write Operand (WO) stages. The IF, ID, OF and WO stages take 1 clock cycle each for any instruction. The PO stage takes 1 clock cycle for ADD and SUB instructions, 3 clock cycles for MUL instruction, and 6 clock cycles for DIV instruction respectively. Operand forwarding is used in the pipeline. What is the number of clock cycles needed to execute the following sequence of instructions? I0: ADD $t2, $t1, $t2 Il: DIV $t4, $t3, $t2 12: MUL $t6, $t5, $t4 Answer:

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here