Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started