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
Alja [10]
3 years ago
13

We begin with a computer implemented in single-cycle implementation. When the stages are split by functionality, the stages do n

ot require exactly the same amount of time. The original machine had a clock cycle time of 7 ns. After the stages were split, the measured times were IF, 1 ns; ID, 1.5 ns; EX, 1 ns; MEM, 2 ns; and WB, 1.5 ns. The pipeline register delay is 0.1 ns.
a. What is the clock cycle time of the 5-stage pipelined machine?
b. If there is a stall every 4 instructions, what is the CPI of the new ?machine?
c. What is the speedup of the pipelined machine over the single- cycle machine?
d. If the pipelined machine had an infinite number of stages, what would its speedup be over the single-cycle machine?
Computers and Technology
1 answer:
vampirchik [111]3 years ago
8 0

<u>Answer:</u>

a) First, we need to determine the pipeline stage amounting to the maximum time. In the given case, the maximum time required is 2ns for MEM. In addition, the pipeline register delay=0.1 ns.

Clock cycled time of the pipelined machine= max time+delay

=2ns+0.1 ns

=2.1 ns

b) For any processor, ideal CPI=1. However, since there is a stall after every four instructions, the effective CPI of the new machine is specified by:

1+(1 / 4)=1.25

c) The speedup of pipelined machine over the single-cycle machine=avg time per instruction of single cycle/avg time per instruction of pipelined.

Single cycle processor:

CPI=1

Clock period=7 ns

Pipelined processor:

Clock period=2.1 ns

CPI=1.25

Therefore, speedup==7^{*} 1 /\left(2.1^{*} 1.25\right)

=7/2.625

= 2.67

d) As the number of stages approach infinity, the speedup=k where k is the number of stages in the machine.

You might be interested in
Write the definition of a function words_typed, that receives two parameters. The first is a person's typing speed in words per
lianna [129]
<h2>Answer:</h2>

   //Method definition of words_typed

   //The return type is int

   //Takes two int parameters: typingSpeed and timeInterval

   public static int words_typed(int typingSpeed, int timeInterval) {

       //Get the number of words typed by  

       //finding the product of the typing speed and the time interval

       //and then dividing the result by 60 (since the typing speed is in "words

       // per minute"  and the time interval is in "seconds")

       int numberOfWords = typingSpeed * timeInterval / 60;

       

       //return the number of words

       return numberOfWords;

       

   }        //end of method declaration

<h2>Explanation:</h2>

The code above has been written in Java and it contains comments explaining each of the lines of the code. Please go through the comments.

8 0
4 years ago
Read 2 more answers
A programmer completes the user manual for a video game she has developed and realizes she has reversed the roles of goats and s
lesya692 [45]

Answer:

Option C is correct.

Explanation:

The developer finalizes its client guide for such a pc game she might have created as well as discovers that she has changed the positions of sheep and goats across the whole article. Recognize the aim of a developer to modify both events of "goats" to "sheep" as well as all events of "sheep" to "goats." The developer will use an assumption that perhaps the term "foxes" would not exist anywhere else in the text.

The foregoing algorithms should be employed that achieve the aim of the author, which is to convert certain events of "goats" to "foxes." En, convert all events of "sheep" to "goats." Then, converts all events of "foxes" to "sheep."

4 0
3 years ago
The purpose of a business report is to _____.
mars1129 [50]
Im pretty sure the answer is 2.
4 0
3 years ago
Read 2 more answers
Show the steps of a Selection Sort for the numbers ( 5 3 9 5 ).
Sedbober [7]

Answer:

Sorted array will be:-

3 5 5 9

Explanation:

In Selection Sort algorithm it sorts the array by repeatedly finds the minimum in the array form the array that is unsorted and swaps it with the value at the first position.

The unsorted array:- 5 3 9 5

In first iteration

minimum is 3.

3 will be swapped with 5.

Now the array is 3 5 9 5

sorted array 3

In second iteration

unsorted array is 5 9 5

sorted array 3 5

and the minimum from it is 5

No swapping will occur.

In third iteration

unsorted array is 9 5

minimum is 5

sorted array 3 5 5

swap it with 9.

Now the array is sorted.

3 5 5 9

3 0
3 years ago
What app/software is this? (edit vids)​
Yuki888 [10]
I think that is Filmora?
5 0
3 years ago
Other questions:
  • ¿cuales son la diferencias de programacion estructurada y programacion orientada a objetos?
    10·1 answer
  • Based on the following pseudo-codes, if the value of num1 is 6 and the value of num2 is 8, then which of the following is the fi
    5·1 answer
  • In the SoundByte, the Magic Gradient Pen has an algorithm which listens for ________ and then changes the gradient coloring of t
    9·2 answers
  • A wall is built of bricks. What force is being applied to each brick from the bricks above? ​
    7·1 answer
  • Write a program using integers user_num and x as input, and output user_num divided by x three times. Ex: If the input is: 2000
    14·1 answer
  • Which type of element is , and what is the meaning of that element?
    8·1 answer
  • A single machine server that allows multiple users to access that machine simultaneously must have what type of os installed?
    5·1 answer
  • Green Fields Landscaping Company sells evergreen trees which are priced by height. Customers have a choice of purchasing a tree
    15·1 answer
  • True or False: A private access modifier is normally used with methods
    8·2 answers
  • In cell J6, insert a formula using the OR function that returns TRUE if the rating (cell 16) equals "A" or the email reminder (c
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!