can you please do my… I having a project regarding computer architecture (MS) can you help me with my project by doing it in high language like java and provide me with a word and jar file

| November 17, 2015

The project details are in the below attachment

Thank you

Attachments: 

Write a program in any high level programming language to perform the following:

 

 

  1. Read a text file containing a sequence of branches, for each branch, predict the branch to be taken based on the three branch prediction techniques:
  2. a. Static – Predict Taken
  3. b. Static – Predict Not Taken
  4. Dynamic Branch Prediction 1

 

 

 

6-state scheme where change prediction only if get misprediction three times

  1. For each branch prediction, increment a branch prediction stall counter according to the following:

 

 

  Prediction Correct Prediction Incorrect
Predict Taken 0 2
Predict Not Taken 0 3

 

  1. Calculate the misprediction and successful prediction rates for each technique and print out the results. Also print a report on total cycles added to each program’s execution due to control hazards.

 

A sample output for dynamic branch prediction technique is shown below:

 

 

 

Dynamic Branch Prediction

 

Read 80 points

 

40 successes in 80 branches => 50% success rate

 

Total number of branch hazard cycles: xxx

 

 

 

 

 

 

 

Run the program for the three attached input files and collect the program outputs in a Word file. Also in your file answer the following:

 

  1. What technique gives the best performance for a single test case? Why?
  2. What technique gives the worst performance for a single test case? Why?
  3. What technique gives the best performance ON THE AVERAGE for a all test cases? Why?

 

 

 

 

T

 

N                              N
 

Predict Taken

T*                     T*N

 

T T

N

T*N*N

 

T

N                   N

Predict Taken

 

 

 

Predict Not
Predict Not

Taken

N*T*T        T

N*T                  N*

T

Taken
 

 

 

N

  1. Based on answers above, what technique is the most flexible? You must submit:
  2. A zip fie containing the following:
  3. a. Your fully commented source file
  4. b. The executable compiled from your source code. The executable should be compatible with a Windows™ based PC.
  5. A Word file containing the screen shot of all your program runs, and the answers to the 4 questions above.

 

THE DUE DATE FOR THIS PROJECT IS 11:59PM (EST) OF 15 November, 2015

Get a 5 % discount on an order above $ 150
Use the following coupon code :
2018DISC
Paper about the death penalty...
POWERPOINT

Category: Homework Help

Our Services:
Order a customized paper today!