Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 1 [ Pipelining ] Each pipeline stage has some latency. Answer the following questions based on a five - stage ( IF - >

Problem 1[Pipelining]
Each pipeline stage has some latency. Answer the following questions based on a five-stage (IF -> ID -> EX -> MEM -> WB ) MIPS pipeline. Given below are latencies of the instructions at each stage.
IF ID EX MEM WB
lw 40 ps 30 ps 60 ps 70 ps 50 ps
add 40 ps 30 ps 90 ps 10 ps 50 ps
addi 40 ps 20 ps 90 ps 5 ps 50 ps
sw 40 ps 30 ps 70 ps 70 ps 70 ps
(a) What is the minimum clock cycle time in a single cycle (non-pipelined) processor with these latencies?
(b) What is the latency of the lw instruction in a single cycle (non-pipelined) processor with these latencies?
(c) What is the latency of the sw instruction in a single cycle (non-pipelined) 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 on-average 1000 instructions in a pipelined processor compared to non-pipelined operation? You may ignore the decimal points after hundredths (if the real value is 2.3333333333, you may write 2.33), but you have to be precise about how many clock cycles required for both pipelined and non-pipelined processors.
Problem 2[MCQ]
Which of the following type of instructions use Data Memory?
(a) R-type
(b) Branch
(c) Load/Store

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

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions

Question

What is DDL?

Answered: 1 week ago