Question: Problem 1 [ Pipelining ] Each pipeline stage has some latency. Answer the following questions based on a five - stage ( IF - >
Problem Pipelining
Each pipeline stage has some latency. Answer the following questions based on a fivestage IF ID EX MEM WB MIPS pipeline. Given below are latencies of the instructions at each stage.
IF ID EX MEM WB
lw ps ps ps ps ps
add ps ps ps ps ps
addi ps ps ps ps ps
sw ps ps ps ps ps
a What is the minimum clock cycle time in a single cycle nonpipelined processor with these latencies?
b What is the latency of the lw instruction in a single cycle nonpipelined processor with these latencies?
c What is the latency of the sw instruction in a single cycle nonpipelined processor with these latencies?
d What is the minimum clock cycle time in a pipelined processor with these latencies?
e What is the latency of the lw instruction in a pipelined processor with these latencies?
f What is the latency of the sw instruction in a pipelined processor with these latencies?
h Why do add and addi instructions take longer than the other two in the EX phase?
g Ignoring hazards, how much speed up can you expect in a program with onaverage instructions in a pipelined processor compared to nonpipelined operation? You may ignore the decimal points after hundredths if the real value is you may write but you have to be precise about how many clock cycles required for both pipelined and nonpipelined processors.
Problem MCQ
Which of the following type of instructions use Data Memory?
a Rtype
b Branch
c LoadStore
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
