Determine the cpi load latency, Electrical Engineering

Assignment Help:

Question:

(a) Describe the following terminologies:
i. Branch
ii. Branch Prediction
iii. Branch Predictor
iv. Branch Misprediction

(b) Consider that 15% of instructions are loads and that 20% of the instructions following a load depend on its results and are stalled for 1 cycle. All instructions and all loads hit in their respective first-level caches. Consider further that 20% of instructions are branches, with 60% of them being taken and 40% being not taken. The penalty is 2 cycles if the branch is not taken, and it is 3 cycles if the branch is taken. Then, 1 cycle is lost for 20% of the loads, 2 cycles are lost when a conditional branch is not taken, and 3 cycles are lost for taken branches.

(i) Determine the CPI load latency, CPI branches, CPI, and IPC.

(ii) A very simple optimization implementation for branches is to consider that they are not taken. There will be no penalty if indeed the branch is not taken, and there will still be a 3 cycle penalty if it is taken. Calculate the CPI branches, CPI, and IPC.

(iii) Assuming that a branch-not-taken strategy has been implemented, plot CPI vs. branch misprediction cost when the latter varies between 3 and 20 cycles.

(iv) Do your computations in (iii) argue for sophisticated branch predictors when the pipelines become "deeper"?

(c) In (b), we assumed that the cache miss penalty was 20 cycles. With modern processors running at a frequency of 1 to 3 GHz, the cache miss penalty can reach several hundred cycles.

(i) Keeping all other parameters the same as in (b), plot CPI vs. cache miss penalty cost when the latter varies between 20 and 500 cycles.

(ii) Do your computations argue for the threat of a "memory wall" whereby loading instructions and data could potentially dominate the execution time?


Related Discussions:- Determine the cpi load latency

engine-based combined heat and power, In this assignment, you will investi...

In this assignment, you will investigate the low-carbon technology that would be most suitable to provide heat and power for a domestic building. • Using information try to iden

Half wave rectifier connected to a dc motor, Ask questiwe have half wave re...

Ask questiwe have half wave rectifier connected to a dc motor load. by using a step down transformer from 8 to 1. by modalization we have the Primary Winding resistance is Rp=50 oh

A, A microstrip antenna system operating at 915MHz must be designed using R...

A microstrip antenna system operating at 915MHz must be designed using Rogers RO3010 substrate with the thickness of 0.635mm.

Digital ttl circuit, Execution of Digital Logic Circuits A safety circ...

Execution of Digital Logic Circuits A safety circuit is employed on a lathe to prevent the motor turning if it is not safe to operate. A series of 2 switches are used to check

Explain temperature dependency in semiconductors, Explain temperature depen...

Explain temperature dependence of electrical resistivity and conductivity in semiconductors. The electrical conductivity of the semiconductors changes considerably with temper

Determine n-type semiconductor of example which material, N-type semiconduc...

N-type semiconductor is an example of (A)  Extrinsic semiconductor.            (B) Intrinsic semiconductor. (C)  Super conductor.                        (D)  Insulators.

Obtain expressions for the in-phase and quadrature component, Q. For DSB an...

Q. For DSB and conventional AM, obtain expressions for the in-phase and quadrature components x d (t) and x q (t), and envelope and phase v(t) and φ(t).

Organisational trends - power distribution management, Organisational Trend...

Organisational Trends: 1 Organisations are economic and social entities in which a number of persons perform multifarious tasks in order to attain common goals. Four key organ

Advance manufacturing technologies.., what are theold and new technologies ...

what are theold and new technologies of manufaturing of the harvestor. atleast of five components

Electric machines, a shunt motor supplied at 230V rms runs at 900rev/min wh...

a shunt motor supplied at 230V rms runs at 900rev/min when the armature current is 30A.the resistance of the armature circuit is 0.4 ohms.find the armature input

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd