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

Determine dielectric materials are which type of materials, Dielectric mate...

Dielectric materials are (A) Insulating materials.        (B) Semiconducting materials. (C) Magnetic materials.         (D) Ferroelectric materials. Ans:

Show the frequency response of rc coupled amplifier, Q. Show the Frequency ...

Q. Show the Frequency response of Rc Coupled Amplifier? 1. At low frequency i.e,less than 50 Hz reactance of Cc is going high hence same part of the signal will pass from one s

Network topology, LAN topologies: Network topology is a physical schematic...

LAN topologies: Network topology is a physical schematic that demonstrates interconnection of the many users. There are four fundamental topologies as under: (i) Direct Connect

Turn off time - thyristor, Turn off Time This is also known  as gate...

Turn off Time This is also known  as gate controlled  turn on  time. The time  interval between  a specified  point at the beginning  of the  gate pulse  and the  instant wh

Cross section of nmos with channel formed: on state, Cross Section of NMOS ...

Cross Section of NMOS with Channel Formed: ON state A metal-oxide-semiconductor field-effect transistor (MOSFET) is based upon the modulation of charge concentration through a

Explain limit signal spectrum to prevent aliasing, Explain Limit Signal Spe...

Explain Limit Signal Spectrum to Prevent Aliasing? The sampling frequency should at least be two times that of the highest frequency in the incoming signal to avoid aliasing. T

Differences between a timer and a counter, Question : a) Embedded Syste...

Question : a) Embedded Systems will be Hard Real-Time Systems, Soft Real-Time Systems and Hybrid Real-Time Systems. Briefly explain all three types of Real-Time Systems, using

Determine the power flow diagram for a dc generator, a. Determine the power...

a. Determine the power flow diagram for a DC generator. b. A shunt wound DC generator delivers 496 A at 440 V to a load. The resistance of  the shunt field coil is 110? and that

RESISTACE, What is the value of a resistor marked as 47KK?

What is the value of a resistor marked as 47KK?

1-phase full bridge inverter will rl load , 1- Phase Full  Bridge  inver...

1- Phase Full  Bridge  inverter will RL Load For a  resistive load R the load  current  wave form  will be  identical with load  voltage wave form  and feedback  diodes will

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