3-For the problems in this exercise, assume that there are no pipeline stalls and that the breakdown of executed instructions is as follows: a. In what fraction of all cycles is the data memory used b. In what fraction of all cycles is the input of the sign-extend circuit needed? c. What is this circuit doing in cycles in which its input is not needed?

Respuesta :

Answer:

(a) 35% (b) 80% (c) Control signal is sent to a resource for activation of it's usage.

The operations are performed even in areas where it's not needed, it is ignored, because it is not used in cycles.

Explanation:

Solution

The computation of fraction  is defined below:

(a) The data memory used in lw and sw instructions

Now,

The fraction value is = sw + lw

=10 + 25

= 35

therefore the fraction value is 35%

(b) The needed sign is extended for all other instructions  other than ADD

which is shown below

The Fraction value  = addi + beq + lw + sw

=20 +25+25+ 10 =80 %

The fraction value here is 80%

(c) Now, a control signal is been sent to resource for activation of it's usage.

The operations are carried out even in case where it's not needed, it is ignored, because it is not used in cycles.

Note: The complete question to this exercise is attached below.

Ver imagen ogbe2k3

The fraction of all cycles that is the data memory used is 35%.

  • The fraction of all cycles that is the input of the sign-extend circuit needed is 80%.

  • The  circuit is known to be sending a resource for activation of it's usage and  it is also done in areas of the circuit where  it's not needed and so it is left that way.

What is a circuit ?

A circuit is known to be a kind of closed loop via which  electricity often pass through.

To solve for (a) which is the data memory that has been used in lw and sw instructions, you then add the value together:

That is: fraction value is = sw + lw

=10 + 25

So question A fraction value is 35%

To solve for me the required sign-extend circuit  is depicted as:

The Fraction value  = addi + beq + lw + sw

=20 +25+25+ 10 =80 %

The question (b) fraction value here is 80%

So therefore, the fraction value are 35 percent and 80 percent respectively

Learn more about circuit  from

https://brainly.com/question/2969220