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

The maximum power transfer theorem, The maximum power transfer theorem stat...

The maximum power transfer theorem states: 'A load will receive maximum power from a linear bilateral dc network when its total resistive value equal to the Thevenin's or Norto

Quality control, three reasons why a chamfer shouldn''t be considered an un...

three reasons why a chamfer shouldn''t be considered an unimportant dimension

Illustrate gray code, (a) In the so-called folded binary code of 4 bits, th...

(a) In the so-called folded binary code of 4 bits, the left most digit represents the sign of an analog signal's quantized samples (with 0 for negative and 1 for positive), and the

Society in engineering, Cite a specific example in which the engineer must ...

Cite a specific example in which the engineer must provide maximum efficiency for a given cost

Determine the voltage regulation at full load, A three-phase, wye-connected...

A three-phase, wye-connected, cylindrical-rotor synchronous generator rated at 10 kVA and 230  V has a synchronous reactance of 1.5per phase and an armature resistance of 0.5  pe

Find the initial current when switch is closed - capacitor, 1. In the circ...

1. In the circuit shown below, the capacitor initially has a voltage across it 4 Volts (at t = 0). a. Write down the expression for V C (t) when the switch is closed. b. Wr

Which matels alloy make bronze, Bronze is an alloy of (A) Copper and T...

Bronze is an alloy of (A) Copper and Tin.               (B) Copper and Steel. (C) Copper and Mercury.      (D) Copper and Aluminium. Ans: Bronze is an alloy of Cop

Determine current in mosfet circuit, Consider the basic MOSFET circuit show...

Consider the basic MOSFET circuit shown in Figure with variable gate voltage. The MOSFET is given to have very large V A , V T = 4V,and I DSS = 8 mA. Determine i D and v DS for

Determine sequence of modulation frequencies, The generator of AM EMFs cons...

The generator of AM EMFs consists of a battery-driven radiofrequency (RF) EMF generator connected to a 1.5 m long 50 ? coaxial cable, to the other end of which a stainless-steel sp

Calculate I function using logic gates, I need I circuit that calculates f(...

I need I circuit that calculates f(n) = 2^2^n, where n is a 4bit number. I tried with a decoder but unsuccessfully.

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