subject

Assume a 5-stage MIPS pipeline implementation and consider the following sequence of instructions: addi $s1, $s1, 20
lw $s2, 0($s1)
add $s3, $s1, $s2
add $s4, $s4, $s1
add $s4, $s2, $s5
1. Find all the data dependencies and identify the type of dependency (RAW, WAW, and WAR) for each.
2. What are the final values of $s1, $s2, $s3, $s4; assuming correct execution of the program segment, with initial values of $s1, $s2, $s3, $s4, and $s5 are 1000, 200, 50, 7, and 9 respectively and that memory locations 1000 and 1020 contains the values 300 and 150 respectively.
3. List the hazards assuming your processer does not include either a forwarding unit or a hazard detection unit. What will be the final values of $s1, $s2, $s3, and $s4 in this case as the program is originally written?
4. Add nop instruction(s) to eliminate the hazards you identified in question #3.
5. Now, assume your processor does include full forwarding. Indicate any remaining hazards and add nop instructions to eliminate them.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:50
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors.java.
Answers: 2
question
Computers and Technology, 23.06.2019 08:00
Michael has written an e-mail to his employees that describes a new product special that will be introduced to the customers next week. by taking time to make sure the e-mail is well written, logical, and organized, michael has made sure his message has the characteristics of a) effective communicationb) ineffective communicationc) barriers to communicationd) workplace communication
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
Stops: using the information learned in this course, explain three things you will not do when driving. a. b. c. explain why you will not do these things when driving. starts: using the information learned in this course, explain three things you will do when driving. a. b. c. explain why you will do these particular things when driving. explain one thing you will stop doing as a passenger. explain one thing you will start doing as a passenger.
Answers: 3
question
Computers and Technology, 23.06.2019 20:40
Instruction active describing list features which statements accurately describe the features of word that are used to create lists? check all that apply. the tab key can be used to create a sublist. the enter key can be used to add an item to a list. the numbering feature allows for the use of letters in a list. the numbering feature can change the numbers to bullets in a list. the multilevel list feature provides options for different levels in a list.
Answers: 2
You know the right answer?
Assume a 5-stage MIPS pipeline implementation and consider the following sequence of instructions:...
Questions
question
Mathematics, 26.08.2020 18:01
question
History, 26.08.2020 18:01
Questions on the website: 13722363