2. (6 pts) Consider executing the following code on the pipelined datapath that we discussed in...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. (6 pts) Consider executing the following code on the pipelined datapath that we discussed in class. a). During the 5th cycle, which registers are being read and which register(s) will be written (using the register file)? sub $t7, $t9, St8 add $t3, St4, $t9 sub $t6, St5, St4 sub $t5, St2, St6 add $12, $13, $12 b). Explain what the forwarding unit is doing during the 5th cycle of execution. Which registers are being compared? List all pairs of registers that are compared during the 5th cycle for the forwarding unit. (First, you need to determine which instruction's values are in the EX/MEM, which instruction's values are in the MEM/WB register, and which instruction's values are read from the ID/EX register during the 5th cycle. Then check the conditions for forwarding.) c). Explain what the hazard detection unit is doing during the 5th cycle of execution. Which registers are being compared? List all pairs of registers that are compared during the 5th cycle for the hazard detection unit. (You need to determine which instruction's values are in the IF/ID and which instruction's values are in the ID/EX register during the 5th cycle. Then check the conditions for the hazard detection.) 2. (6 pts) Consider executing the following code on the pipelined datapath that we discussed in class. a). During the 5th cycle, which registers are being read and which register(s) will be written (using the register file)? sub $t7, $t9, St8 add $t3, St4, $t9 sub $t6, St5, St4 sub $t5, St2, St6 add $12, $13, $12 b). Explain what the forwarding unit is doing during the 5th cycle of execution. Which registers are being compared? List all pairs of registers that are compared during the 5th cycle for the forwarding unit. (First, you need to determine which instruction's values are in the EX/MEM, which instruction's values are in the MEM/WB register, and which instruction's values are read from the ID/EX register during the 5th cycle. Then check the conditions for forwarding.) c). Explain what the hazard detection unit is doing during the 5th cycle of execution. Which registers are being compared? List all pairs of registers that are compared during the 5th cycle for the hazard detection unit. (You need to determine which instruction's values are in the IF/ID and which instruction's values are in the ID/EX register during the 5th cycle. Then check the conditions for the hazard detection.)
Expert Answer:
Answer rating: 100% (QA)
a Register Read and Write During Cycle 5 Read t8 and St4 for the sub t7 St9 t8 instruction in the EX ... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
Write a project management plan. we have a template and project description. we need to edit the template(table of contents) with our own ideas. CPSC 8820-01 Project Management Plan Your Unique...
-
Review Organicos financial statements presented in the chapter for the month ended March 31, 2017. Review the balance sheet and determine the business form Hailey Walker has chosen to organize her...
-
Big Apple Consulting USA, Inc., provided small publicly traded companies with a variety of services, including marketing, business planning, and Web site development and maintenance. CyberKey Corp....
-
Suppose that a bond portfolio with a duration of 12 years is hedged using a futures contract in which the underlying asset has a duration of four years. What is likely to be the impact on the hedge...
-
State the framework of internal control objectives for revenue cycle transactions.
-
Ace Industries has current assets equal to $3 million. The companys current ratio is 1.5, and its quick ratio is 1.0. What is the firms level of current liabilities? What is the firms level of...
-
In the video at https://www.youtube.com/watch?v=9pE6KOCi_os "Information Systems, its Impact on Organization and Society" by Anuradha Bhatia Explain the flow of information in IS and its impact on...
-
The focus of this project is to create a master budget for the Williams Company based on the companys industry outlook, recent company outcomes, and the companys business rules. You will create a...
-
Consider a swap contract. The floating leg of the contract makes a payment at the end of each month, starting one month from now, equal to the spot price of natural gas at that time. The last payment...
-
Define days sales outstanding (DSO). What can be learned from it? How is it affected by sales fluctuations?
-
Explain how a firm that expects to need funds during the coming year might make sure that the needed funds will be available.
-
Describe the incremental analysis approach for evaluating a proposed credit policy change.
-
A company forecasts free cash flow of $400 at Year 1 and $600 at Year 2; after Year 2, the FCF grow at a constant rate of 5%. The company forecasts the tax savings from interest deductions as $200 in...
-
Why might a company hold low-yielding marketable securities when it could earn a much higher return on operating assets?
-
A drilling fluid prepared using two different types of clay was subjected to rotational viscometer test. The solid contents of fluid systems which provides 15 cp apparent viscosity at 600 rpm are...
-
Which should drive action planning more, strengths or weaknesses? That is, is it more important to build on your strengths or to reduce your weaknesses? Explain.
-
The elementary liquid-phase series reaction Ak1Bk2C is carried out in a 500-dm 3 batch reactor. The initial concentration of A is 1.6 mol/dm 3 . The desired product is B, and separation of the...
-
a. A liquid-phase isomerization A B is carried out in a 1000-gal CSTR that has a single impeller located halfway down the reactor. The liquid enters at the top of the reactor and exits at the...
-
A first-order heterogeneous irreversible reaction is taking place within a spherical catalyst pellet that is plated with platinum throughout the pellet. The reactant concentration halfway between the...
-
In a vapour compression refrigeration system, the condition of refrigerant before entering the compressor is (a) saturated liquid (b) wet vapour (c) dry saturated liquid (d) superheated vapour
-
The highest temperature during the cycle in vapour compression refrigeration system occurs after (a) compression (b) condensation (c) expansion (d) evaporation
-
During a refrigeration cycle, heat is rejected by the refrigerant in (a) compressor (b) condenser (c) evaporator (d) expansion valve
Study smarter with the SolutionInn App