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
Korolek [52]
3 years ago
6

What is the greatest speedup (in terms of throughput) possible with pipelining? You do not need to worry about the register timi

ng constraints (e.g. delay, setup, hold). Explain your reasoning
Engineering
1 answer:
RUDIKE [14]3 years ago
3 0

Answer:

The greatest speedup possible with pipelining is 2.5 times

Explanation:

As we know

Span of stage = Maximum span of any span

As stage B has the maximum duration of time, So

Duration of time of each stage = Time duration of Stage B = 8 ns

Now calculate the total time without pipeline = Duration of Stage A + Duration of Stage B + Duration of Stage C + Duration of Stage D = 5 ns + 8 ns + 4 ns + 3 ns = 20 ns

So the greatest speedup can be calculated as follow

Greatest speedup = Total time without pipeline / Duration of time of each stage = 20 ns / 8 ns = 2.5 times

You might be interested in
IN JAVA,
Citrus2011 [14]

Answer:

Explanation:

Code:

import java.io.File;

import java.io.FileWriter;

import java.io.IOException;

import java.util.Scanner;

public class Knapsack {

 

  public static void knapsack(int wk[], int pr[], int W, String ofile) throws IOException

  {

      int i, w;

      int[][] Ksack = new int[wk.length + 1][W + 1];

     

      for (i = 0; i <= wk.length; i++) {

  for (w = 0; w <= W; w++) {

  if (i == 0 || w == 0)

  Ksack[i][w] = 0;

  else if (wk[i - 1] <= w)

  Ksack[i][w] = Math.max(pr[i - 1] + Ksack[i - 1][w - wk[i - 1]], Ksack[i - 1][w]);

  else

  Ksack[i][w] = Ksack[i - 1][w];

  }

  }

     

      int maxProfit = Ksack[wk.length][W];

      int tempProfit = maxProfit;

      int count = 0;

      w = W;

      int[] projectIncluded = new int[1000];

      for (i = wk.length; i > 0 && tempProfit > 0; i--) {

         

      if (tempProfit == Ksack[i - 1][w])

      continue;    

      else {

          projectIncluded[count++] = i-1;

      tempProfit = tempProfit - pr[i - 1];

      w = w - wk[i - 1];

      }

     

      FileWriter f =new FileWriter("C:\\Users\\gshubhita\\Desktop\\"+ ofile);

      f.write("Number of projects available: "+ wk.length+ "\r\n");

      f.write("Available employee work weeks: "+ W + "\r\n");

      f.write("Number of projects chosen: "+ count + "\r\n");

      f.write("Total profit: "+ maxProfit + "\r\n");

     

  for (int j = 0; j < count; j++)

  f.write("\nProject"+ projectIncluded[j] +" " +wk[projectIncluded[j]]+ " "+ pr[projectIncluded[j]] + "\r\n");

  f.close();

      }    

  }

 

  public static void main(String[] args) throws Exception

  {

      Scanner sc = new Scanner(System.in);

      System.out.print("Enter the number of available employee work weeks: ");

      int avbWeeks = sc.nextInt();

      System.out.print("Enter the name of input file: ");

  String inputFile = sc.next();

      System.out.print("Enter the name of output file: ");

      String outputFile = sc.next();

      System.out.print("Number of projects = ");

      int projects = sc.nextInt();

      int[] workWeeks = new int[projects];

      int[] profit = new int[projects];

     

      File file = new File("C:\\Users\\gshubhita\\Desktop\\" + inputFile);

  Scanner fl = new Scanner(file);

 

  int count = 0;

  while (fl.hasNextLine()){

  String line = fl.nextLine();

  String[] x = line.split(" ");

  workWeeks[count] = Integer.parseInt(x[1]);

  profit[count] = Integer.parseInt(x[2]);

  count++;

  }

 

  knapsack(workWeeks, profit, avbWeeks, outputFile);

  }

}

Console Output:

Enter the number of available employee work weeks: 10

Enter the name of input file: input.txt

Enter the name of output file: output.txt

Number of projects = 4

Output.txt:

Number of projects available: 4

Available employee work weeks: 10

Number of projects chosen: 2

Total profit: 46

Project2 4 16

Project0 6 30

8 0
3 years ago
What factors are likely to promote the formation of stress corrosion cracks?
Naddika [18.5K]

Answer:

Stress corrosion cracking

Explanation:

This occurs when susceptible materials subjected to an environment that causes cracking effect by the production of folds and tensile stress. This also depends upon the nature of the corrosive environment.

Factors like high-temperature water, along with Carbonization and chlorination, static stress, and material properties.

7 0
4 years ago
"It is better to be a human being dissatisfied than a pig satisfied; better to be Socrates dissatisfied than a fool satisfied. A
Flura [38]

Explanation:

It may be instructive to look at the opposite of the sentence here. Perhaps the smarter creature would be more unhappy when frustrated, recognizing how it gains from happiness relative to the creature with less experience and less knowledge of a situation that does not define it at the moment.  

Perhaps the argument is really about the fact that wisdom helps one to hypothetically live in multiple states and a lack of wisdom prevents or fails this possibility.

6 0
4 years ago
Use the APWA 5600 methodology to compute the 1/25 design discharge for the following catchment. The catchment area consists of 1
sweet [91]

Explanation:

For a given flow rate, open channel flow based design requires larger conduit sizes than those dimensioned  based on pressure flow. While it may be more expensive to build designed storm drainage systems

Based on open channel flow, this design procedure provides a margin of safety by providing  headroom in the duct to accommodate an increase in flow above the design discharge. Beneath the majority

Under normal conditions, it is recommended that the size of storm drains be based on a gravity flow to full flow criteria  or almost full. The design of the pressure flow may be justified in certain cases. As the hydraulic calculations are  performed, frequent verification of the existence of the desired flow condition should be performed.

Storm drainage systems can often alternate between pressure and open channel flow conditions from one  section to another (Federal Highway Administration, US Department of Transportation, 1996).

For gravity flow conditions, the Manning formula must be edited as described below.

ܳ ൌ

1,486

݊

ܣܴ ଶ / ଷ ܵ ଵ / ଶ

Where:

Q = Discharge, cubic feet per second

A = flow cross-sectional area, square feet

n = Manning roughness coefficient (see Table 5603-1)

ܴ ൌ

ܣ

ܲ

R = hydraulic radius, feet

S = slope in feet per foot

P = wet perimeter in feet

5 0
4 years ago
A 10 ohm resistor, a 11 ohm resistor, and a 39 ohm resistor are connected in series across a potential difference of 120 v. calc
MArishka [77]

Answer:

Answer Put Not VERIFIED

Explanation:

3 0
3 years ago
Other questions:
  • Based on bonding theory, explain why coefficient of expansion increases when you consider ceramics, metals and polymers
    11·1 answer
  • An alloy in the A-B system is 40% B and is within the α + β two phase field, where the a phase contains 5% B and the β phase con
    11·1 answer
  • A _________ is a PLD featuring a general structure that allows very high logic capacity and offers more narrow logic resources a
    5·1 answer
  • Air enters a compressor operating at steady state with pressure of 90 kPa, at a temperature of 350 K, and a volumetric flow rate
    13·1 answer
  • Following in each of the following three mechanisms, the crank is the input link, 1) draw vectors with labeled angles 2) write t
    11·1 answer
  • Is any one there <br><br>I am 1m b0r3d<br>I will mark you as Brainliest
    5·2 answers
  • What are potential impacts of clean energy? Predict the impact on future<br> generations.
    14·1 answer
  • Steam enters a turbine at 4 MPa, 600°C and 115 m/s. It exits at 10 kPa, with a quality of 92% and the same velocity as the inlet
    13·1 answer
  • 63Ni decays by a first-order process via the emission of a beta particle. The 63Ni isotope has a half-life of 100. years. How lo
    13·1 answer
  • Select the correct answer. which process involves creating a product by heating metals and changing their shape through the appl
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!