1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
julsineya [31]
3 years ago
5

You are a designer of a new processor. You have to choose between two possible implementations (called M1 and M2) of the same ar

chitecture. a. Machine M1 has a clock rate of 2.8 GHz and the following characteristics:Instruction classes CPI (Clocks per instruction) for each Instruction classes Frequency A 1 40% B 3 25%C 3 25%D 5 10%Instruction classes CPI (Clocks per instruction) Frequency A 2 40%B 2 20% C 3 15%D 4 25%Required:a. What is the CPI for each machine? b. What are the native MIPS ratings for M1 and M2? c. Which machine has a better by the MIPS performance (by comparing their MIPS values) and by how much?
Engineering
1 answer:
Kaylis [27]3 years ago
8 0

Answer:

A ) CPI : M1 = 2.4 , M2 = 2.65

B ) MIPS : M1 = 1083, M2 = 1056

C ) The machine that has a better performance based on MIPS is M1 and this is  by 27 million number of instructions per sec

Explanation:

A) The CPI for each machine

CPI = ( Total number of execution cycles ) / ( instruction counter executed )

For Machine 1 ( M1 )

we have to make some assumptions : number of instructions = 10

number of times A was executed = 4 , Number of times B was executed = 2.5 , number of times C was executed = 2.5, Number of times D was executed = 1. and this was based on the frequency given above

hence CPI for M1 =[ ( 1 * 4 ) + ( 3 * 2.5 ) + ( 3 * 2.5 ) + ( 5 * 1 ) ] / 10

       CPI  for M1 = 2.4

For Machine 2 ( M2 )

we have to make some assumptions : number of instructions = 10

number of times A was executed = 4 , Number of times B was executed = 2.  number of times C was executed = 1.5, Number of times D was executed = 2.5 times. and this was based on the frequency given above

Hence CPI  for M1 = [ ( 2 * 4 ) + ( 2 * 2 ) + ( 3 * 1.5 ) + ( 4 * 2.5 ) ] / 10

            CPI for M2 = 2.65

B ) Calculate the native MIPS  ratings for M1 and M2

MIPS = ( instruction counts ) / ( Execution time * 10^6 )

For M1

Assumptions : number of instructions executed = 10

                        each clock cycle = 0.3846 * 10^-9.      frequency = 2.6 Ghz

first we calculate the total execution time which is equal to :

= [ ( 1 * 4 ) + ( 3 * 2.5 ) + ( 3 * 2.5 ) + ( 5 * 1 ) ] * 0.3846 * 10 ^-9

= 9.2304 * 10 ^-9 secs

therefore the MIPS for M1

= 10 / ( 9.2304 * 10^-9 ) * 10^6  = 1083

                                         

For M2

Assumptions : number of instructions executed = 10

                        each clock cycle = 0.3846 * 10^-9.      frequency = 2.8 Ghz

first we calculate the total execution time which is equal to :

= [ (2*4) + (2*2) + (3 * 1.5 ) + ( 4 * 2.5 ) ] * 0.3846 * 10^-9 = 9.4631 * 10^-9 secs

therefor the MIPS for M2

= 10 / ( 9.4631*10^-9) * 10^6 = 1056

C ) The machine that has a better performance based on MIPS is M1 and this is by 27 million number of instructions per sec

You might be interested in
list out main types of material used in design and Manufacture of product give one example for each in engineering application ?
cluponka [151]
One of the types of product design is interface design. Another type of product design is called visual product design.
7 0
3 years ago
Air enters the compressor of an ideal Brayton refrigeration cycle at 100 kPa, 270 K. The compressor pressure ratio is 3, and the
trapecia [35]

Answer:

its 56 78 92

Explanation:

just trust me

6 0
3 years ago
Create a C language program that can be used to construct any arbitrary Deterministic Finite Automaton corresponding to the FDA
otez555 [7]

Answer:

see the explanation

Explanation:

/* C Program to construct Deterministic Finite Automaton */

#include <stdio.h>

#include <DFA.h>

#include <stdlib.h>

#include <math.h>

#include <string.h>

#include <stdbool.h>

struct node{

struct node *initialStateID0;

struct node *presentStateID1;

};

printf("Please enter the total number of states:");

scanf("%d",&count);

//To create the Deterministic Finite Automata

DFA* create_dfa DFA(){

  q=(struct node *)malloc(sizeof(struct node)*count);

  dfa->initialStateID = -1;

  dfa->presentStateID = -1;

  dfa->totalNumOfStates = 0;

  return dfa;

}

//To make the next transition

void NextTransition(DFA* dfa, char c)

{

  int tID;

  for (tID = 0; tID < pPresentState->numOfTransitions; tID++){

       if (pPresentState->transitions[tID].condition(c))

      {

          dfa->presentStateID = pPresentState->transitions[tID].toStateID;

          return;

      }

  }

  dfa->presentStateID = pPresentState->defaultToStateID;

}

//To Add the state to DFA by using number of states

void State_add (DFA* pDFA, DFAState* newState)

{  

  newState->ID = pDFA->numOfStates;

  pDFA->states[pDFA->numOfStates] = newState;

  pDFA->numOfStates++;

}

void transition_Add (DFA* dfa, int fromStateID, int(*condition)(char), int toStateID)

{

  DFAState* state = dfa->states[fromStateID];

  state->transitions[state->numOfTransitions].toStateID = toStateID;

  state->numOfTransitions++;

}

void reset(DFA* dfa)

{

  dfa->presentStateID = dfa->initialStateID;

}

5 0
3 years ago
Explicar el funcionamiento de un multímetro analógico.
Whitepunk [10]

Answer:

Un multímetro analógico funciona como un medidor de bobina móvil de imán permanente (PMMC) para tomar mediciones eléctricas

Explanation:

El multímetro analógico es un medidor o galvanómetro D'Arsonval que funciona según el principio de los medidores de bobina móvil de imán permanente (PMMC)

Un multímetro analógico está formado por un puntero de aguja unido a una bobina móvil colocada entre el polo norte y sur de un imán permanente dispuesto de tal manera que, cuando una corriente eléctrica fluye a través de la bobina, genera una fuerza de campo magnético que interactúa con el imán fuerza de campo de los imanes permanentes que hace que la bobina se mueva junto con el puntero de la aguja sobre un dial graduado

Para controlar el movimiento del puntero de la aguja, de modo que el par requerido para producir una cantidad de movimiento por corriente detectada por el multímetro, se colocan dos resortes a través de la bobina para proporcionar resistencia al movimiento en ambas direcciones y para permitir la calibración del multímetro analógico.

4 0
4 years ago
The volume at a section of a 2-lane highway is 1800 vph in each direction and the density is approximately 30 bpm. A slow moving
katrin [286]

Answer:

Idk

Explanation:

8 0
3 years ago
Other questions:
  • Check the answer that best describes the relationship between f(x) and x. (For example if f(x) is Θ(x) check that as your answer
    12·1 answer
  • The slope of a moment diagram is the load. a)-True b)-False
    8·1 answer
  • Plot the following trig functions using subplots, choosing an appropriate layout for the number of functions displayed. The subp
    8·1 answer
  • Buying shop supplies from the shop owner to work on your own car at home is an ethical practice.
    14·1 answer
  • When welding stick (SMAW) what is the distance between top of bare end of electrode and base metal?
    7·1 answer
  • Item110pointseBook HintPrintReferences Check my work Check My Work button is now disabled5Item 1Item 1 10 pointsAn ideal Diesel
    10·1 answer
  • Ten dollars per hour is about how much income per year
    5·2 answers
  • If the power to a condensing unit has been turned off for an extended period of time, the _________________________ should be en
    12·1 answer
  • Which actions would the maintenance and operations crews carry out as a building is completed and preparing to open to the publi
    8·2 answers
  • Binary classification algorithm
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!