Question

In: Computer Science

1.What is a “structural hazard?” What structural hazards does the MIPS R5000 processor, under discussion, have?...

1.What is a “structural hazard?” What structural hazards does the MIPS R5000 processor, under discussion, have?
2.   Describe the stages of the MIPS R5000 processor

3.Describe the differences between forwarding and stalling
4.Why is pipelining dependent on technology

9.   Describe the choices for multiple instruction issue.

8.   What are “control hazards?” Describe the mechanism presented to avoid them.

Solutions

Expert Solution

1.Structural hazards are due to limited hardware resources or when the multiple instructions try to access the same set of resources causing conflict issues. Resources that are affected are register and file memory.

The Structural hazard under the MIPS-5000 can occur when the one instruction is present in the ID stage which requires register file read access, while the other one is present in the WB stage which requires register file write access. If the register file has only one port then the hazard can occur.

2.The Stages that occur under the MIPS-5000 Processor are

a.) Instruction fetch stage - Fetches the next instruction from the memory using the address in the program counter register and stores the instruction in the instruction register.

b.)The Instruction Decode stage decodes the instruction in the instruction register, calculates the next program counter, and reads the operands from the register file.

c.)The Execute stage "executes" all the instructions, and all ALU operations are done under this stage.

d.)The Memory Access stage, for loads, it would load an operand from memory. For stores, it would store an operand into memory. For all other instructions, it would do nothing.

3.) Forwarding is used to eliminate the data hazards but it doesn't mean it always eliminates the data hazard whereas stalling is a guaranteed solution for eliminating the data hazard.

4.) pipelining is dependent on technology because it is used to prevent the super-lined processor from being slower to the superscalar and the technology used in this is GAAS which reduces the delay of the lengthy instruction pipeline.

9.) The choices for multiple instruction issue is instruction fetch that is implemented simultaneously on the multithreading processor

i) Minimize the architectural impact on the conventional superscalar design

ii) it has a minimal performance impact on a single thread executing alone

iii) it achieves significant throughput gains when running multiple threads.

8) Control hazards can occur when the decision before branch before condition calculation is done and this can be resolved by stalling the instruction following branch instruction until the condition is determined.

i hope you will like my response,  and please don't forget to give thumbs up!!

if you have any query, do share in comment box!!

Stay safe and healthy!!

Thank you!!!


Related Solutions

There are four hazards that were identified in the last hazard assessment that have not been...
There are four hazards that were identified in the last hazard assessment that have not been actioned, what are the factors, actions to be taken, date, additional factors and KPI's ?
What are various Pipeline Hazards. Explain each hazard with some common solutions that arebeing employed today?
What are various Pipeline Hazards. Explain each hazard with some common solutions that arebeing employed today?
I have to do the following MIPS coding assignment. Question 1 Write a MIPS program that...
I have to do the following MIPS coding assignment. Question 1 Write a MIPS program that meets the following requirements (NOTE: your program statements should follow the order of the requirements and each requirement should correspond to only one assembly instruction): Loads the hexadecimal equivalent of 23710 into register 13 using an immediate bitwise OR instruction Loads the hexadecimal equivalent of 183410 into register 17 using an immediate bitwise OR instruction Performs the bitwise AND operation on the operands stored...
what kind of corporate culture does Under Armour have?
what kind of corporate culture does Under Armour have?
What does the term “Asymmetric Information” mean? What is a moral hazard and what are the...
What does the term “Asymmetric Information” mean? What is a moral hazard and what are the two groups involved? Give an example. What is meant by adverse selection? Who is involved? Give an example.
1. What is a difference between general purpose processor and single purpose processor? Also write the...
1. What is a difference between general purpose processor and single purpose processor? Also write the Advantages and disadvantages, and how they complement each other. 2. Give one ESD hypothetical application and discuss SOC system.
1. horizontal versus oblique asymptote a. under what circumstances does a rational function have a horizontal...
1. horizontal versus oblique asymptote a. under what circumstances does a rational function have a horizontal asymptote of y=0 b. under what circumstances does a rational function have a horizontal asymptote that is not y=0 c. under what circumstances does a rational function have an oblique asymptote d. find horizontal and /or oblique asymptote for each of the following i. f(x)=x^2-3x+8/x+1 ii. g(x)=4/x+1 iii. h(x)=3x+4/x+1 e. what are the vertical asymptote for each of the functions f, g, and h...
does anyone have notes for finite element method and/ or structural dynamic?
does anyone have notes for finite element method and/ or structural dynamic?
What is the condition that hazard takes place (1 mark). List any four principles of hazard...
What is the condition that hazard takes place (1 mark). List any four principles of hazard control (2marks). Write a short note on crushing hazard and use of machine guard (2marks).
Ethics of Diversity. Discussion. What does diversity have to do with ethics? Take a position on...
Ethics of Diversity. Discussion. What does diversity have to do with ethics? Take a position on three insurmountable goods that come from a diverse society.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT