Question
ECE437 –Spring 2016 – Homework 3 Solutions
4.12.1 If we use no forwarding, what fraction of cycles are we stalling due to data hazards?
Dependence type  # of stall cycles dependences to 1stnext instruction result 2 dependences to both 1stand 2ndnext instruction 2 Dependence to only 2ndinstruction 1
CPI = 1 + 0.35 * 2 + 0.15 * 1 = 1.85
Fraction of stall cycles = 0.85 / 1.85 = 46%. –> ( 46% of the total CPI is in stalling )
4.12.2 If we use, full forwarding, what fraction of the cycles are we stalling due to data hazards?
With full forwarding, the only RAW dependences that cause stalls are those from the MEM stage of onse instruction to the 1stnext instruction. Even this dependences causes only one stall cycles, so we have: CPI = 1 + 0.20 = 1.20
Fraction of stall cycles = 0.2 / 1.20 = 17%
4.12.3 Let us assume that we cannot afford to have three-input Muxes that are needed for full forwarding. We have to decide if it is better to forward only from the EX/MEM pipeline register (next-cycle forwarding) or only from the MEM/WB pipeline register (two-cycle forwarding). Which of the two options results in fewer data stall cycles?

## mecs disc 1 and 2...

You must have atleast four meaningful sentences in the discussion.  Discussion must be in Microsoft Word and must be an original answer no plagi...

## US Domestic Banking Research Paper...

Here are sample questions that students answered in the past (you may not use these specific questions. · JP Morgan encountered...

## how do communities consume health information and...

Burden of Disease Prevention strategies must account for the diversity of the population. Understanding how communities consume he...

## BUS 508 Week 1 Disscussion 1 and Journal Entry...

Discussion 1 Corporate ResponsibilityFrom the case study and the e-Activity, determine two...

## Need help with finance Concept...

1–2 pagesDetails:W...

## Criminal Procedure...

Analysis and Application: Legal Rights Afforded to the AccusedThe following case study presents issues related to the legal rights afforded the acc...

## Homework Help...

This help is for Tutor Tito only. ...

## how did the government try to solve key problems f...

how did the government try to solve key problems facing the nation after the civil war...

## teacher Charles...

AG is a sixty-nine-year-old male who presents for an initial visit with a complaint of blurred vision, fatigue, and lack of energy. He is currently...

...

## Assignment 2 Nuclear Medicine...

Nuclear medicine is a specialized branch of modern medicine that exploits the process of radioactivity for imaging, diagnosis, and treatment. Many...

## How is theme of immortality presented in Thomas Ha...

How is theme of immortality presented in Thomas Hardys His Immortality and Willian Shakespeares Shall I Compare Thee to a Summers Day through...

### Other samples, services and questions:

Calculate Price

When you use PaperHelp, you save one valuable — TIME

You can spend it for more important things than paper writing.

Approx. price
\$65
Order a paper. Study better. Sleep tight. Calculate Price!
Calculate Price
Approx. price
\$65