Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 2. The pieces of code below run on the five-stage pipelined datapath. For each piece of code, answer the following Part a) Without forwarding,

image text in transcribed

QUESTION 2. The pieces of code below run on the five-stage pipelined datapath. For each piece of code, answer the following Part a) Without forwarding, insert the necessary number of 'nops' for the code to execute correctly Part b) With the forwarding unit available (it forwards MEMEX and WBEX), show how the code will execute. Mention the data that's forwarded between the stages. Use nops' only when necessary. Code 1: and to, t1, t2 or t3, t0, t4 Code 2: add t1, t2, t3 sub t4, t5, t6 or t7, t1, t4 Code 3: lw t0, 12 (s0) sub s0, sl, to

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions