Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 1. (5x3-15 points) a. R-type instruction b. Load/Store instruction c. B

ID: 3707370 • Letter: Q

Question

Question 1. (5x3-15 points) a. R-type instruction b. Load/Store instruction c. Branch instruction Question 2. (15+15-30 points) Assume time for datapath stages are 200 ps for register read or write o o 300ps for other stages Compare pipelined datapath with single-cycle datapath in terms of time performance for a. Load instruction b. Branch instruction Question 3. (20+15-35 points) A program contains 10 instructions each going through 5 stages of MIPS pipeline. If the stages are assumed to be balanced (e.g. each stage takes similar time) a. Show the pipeline stages for the program b. Compare the speed-up using pipelining over single-cycle Question 4. (20 points) What is hazards in pipelining? Explain different types of pipeline hazards.

Explanation / Answer

Solution:

Note: The first question is done as per Chegg guidelines, please repost others. ?

1

a)

R type instructions:

The instruction which does not require the target address, branch displacement, or immediate value those instructions uses R type instructions.

This format has fields for specifying of up to three registers and a shift amount. and the unused fields in this are coded with 0.

b)

Load/Store instructions are used to load the memory address from the memory, and store the manipulated values.

Basically, these instructions interact with the memory while the program is running.

c)

Branch instructions are used to jump from places to use the conditional statement and jump on the certain place in the instruction set architecture.

I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote