subject

In this question we examine how resource hazards, control hazards, and instruction set architecture (isa) design can affect pipelined execution. problems in this exercise refer to the following fragment of mips
code
sw r16,12(r6)
lw r16,8(r6)
beq r5,r4,label #assume r4=! 4
add r5,r1,r4
slt r5,r15,r4

pipeline latencies:
if id ex mem wb
200 120 150 190 100ps

for this problem, assume that all branches are perfectly predicted (this eliminates all control hazards) and that no delay slots are used. if we only have one memory (for both instructions and data), there is a structural hazard every time we need to fetch an instruction in the same cycle in which another instruction accesses data. to guarantee forward progress, this hazard must always be resolved in favor ofthe instruction that accesses data. what is the total execution time of this instruction sequence in the 5- stage pipeline that only has one memory? we have seen that data hazards can be eliminated by adding nops to the code. can you do the same with this structural hazard? why?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
"it security policy enforcement and monitoring" respond to the following: describe how monitoring worker activities can increase the security within organizations. describe the rationale that managers should use to determine the degree of monitoring that the organization should conduct. explain the extent to which you believe an organization has the right to monitor user actions and traffic. determine the actions organizations can take to mitigate the potential issues associated with monitoring user actions and traffic.
Answers: 3
question
Computers and Technology, 22.06.2019 19:30
When using a public computer or network, you should always
Answers: 2
question
Computers and Technology, 23.06.2019 09:10
(328 inc. 448 ind. 480 in25. john has a collection of toy cars. he has 2 red cars, 4 blue cars, 4 black cars, and 6 yellowcars. what is the ratio of red cars to yellow cars? a. 1: 2b. 1: 3c. 1: 626. the net of a right triangular prism is shown below.
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Light travels at a speed of 186,000 miles a second. the distance light travels in a year is 5,865,690,000,000 miles/year 5,865,695,000,000 miles/year 58,656,950,000,000 miles/year 6,789,000,0000 miles/year
Answers: 1
You know the right answer?
In this question we examine how resource hazards, control hazards, and instruction set architecture...
Questions
question
Mathematics, 20.04.2021 22:30
question
Mathematics, 20.04.2021 22:30
Questions on the website: 13722359