logo

Crowdly

Consider a RISC-V architecture of 6 states IF, ID, EX1,EX2,M,WB where the new st...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Consider a RISC-V architecture of 6 states IF, ID, EX1,EX2,M,WB where the new stage EX2 is due to the multiplication operation (mul). This operation takes two cycles. Thus, the adition/substraction/logical operations take one cycle (and calculate the result in the EX1 stage) whereas de multiplication calculate its result in EX2.

Calculate the execution time (in ns.) for the next code, assuming that the processor has a hazard unit to insert as many bubbles (stalls) as required and there are forwarding in the RF (Register File) only (no bypasses in the rest of stages). The cycle time is 19 ns.

add $6,$26,$19

mul $14, $28, $6

sub $19, $28,$14

or   $25, $14,$19

More questions like this

Want instant access to all verified answers on informatica.cv.uma.es?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!