Single-cycle datapath

Assignment Help Business Management
Reference no: EM132293903

1. Consider the following code sequence: loop: add $t0, $t1, $t2

lw $t3, 10($t0)

lw $t4, 14($t0)

sub $t5, $t4, $t3

sw $t5, 18($t0)

addi $t2, $t2, 4

slti $t6, $t2, 200

bne $t6, $zero, loop

Assume that each datapath stage requires the following minimum amount of time to complete:

  • Instruction fetch (IF): 30 ns
  • Instruction decode (ID): 20 ns
  • Execute / address calculation (EX): 25 ns
  • Memory access (MEM): 30 ns
  • Register write back (WB): 20 ns

a. How long will one loop iteration take in a single-cycle datapath?

b. How long will one loop iteration take in a multi-cycle datapath?

c. If we assume ideal pipelining (i.e., no hazards and therefore no stalls), how long will one loop iteration take in a pipelined datapath? What is the speedup over the single-cycle and multi-cycle datapaths?

d. If we now assume a more realistic pipelined datapath without forwarding, how long will one loop iteration take? Show a revised code sequence that includes all necessary no-ops to support your answer.

e. Which of the data hazards in this code can be completely resolved using forwarding? For each hazard, list the register number and the two instructions involved.

Reference no: EM132293903

Questions Cloud

Consider who influences the customer decision making : When pharmaceutical companies market to customers they must take the time to consider who influences the customer’s decision making.
Please discuss any algorithm related to cryptography : Please discuss any algorithm related to cryptography (encryption and/or decryption) with an example
Develop a Java GUI application using Swing components : COIT11134 - Object Oriented Programming - CQUniversity - GUI and Inheritance - Develop a Java GUI application using Swing components to implement application
Evaluate the training outcomes and support training transfer : Explain the benefits of the training (Customer service training) by discussing how you would evaluate the training outcomes, support training transfer,
Single-cycle datapath : a. How long will one loop iteration take in a single-cycle datapath? b. How long will one loop iteration take in a multi-cycle datapath?
Evaluate the value of the pop press article : Discuss the article in light of your research on your particular population of interest. You need to evaluate the value of the pop press article in light.
How might cultural expectations for physical activity : How might cultural expectations for physical activity in boys and girls relate to athletic participation and performance?
American transpatriate assigned to motorola facility : Carl Kelly is an American transpatriate assigned to Motorola’s facility in a former USSR satellite nation in Eastern Europe, called Ruritania
Satisfying the indegree requirements : Derive from Hall's theorem on this bipartite graph H a necessary and sufficient condition for the existence of an orientation of G satisfying the indegree requi

Reviews

Write a Review

Business Management Questions & Answers

  Explain how necessary is it to fine-tune marketing plan

Four drive theory is conceptually different from the Maslow's needs hierarchy (as well as ERG theory) in several ways. Express these differences.

  Purpose of the federal open market committee

1. What is the makeup and purpose of the Federal Open Market Committee? 2. List and briefly describe the major functions of the Federal Reserve System.

  What external factors contributed to organizations failure

What failing organization did you choose? What external factors contributed to the organization's failure? What internal factors contributed to the organization's failure?

  Accounting cost function for business

What is the accounting cost function for this business? What is the economic cost function for the business? What is the economic breakeven number of units for this operation? (Assume a $5 price and ignore interest costs associated with the timing..

  Annual nominal income

Suppose you'll have an annual nominal income of $50,000 for each of the next 3 years, and the inflation rate is 5 percent per year.

  Importance of change management

Develop an argument to your manager on the importance of change management.

  What responsibilities do employers and employees have

What responsibilities do employers and employees have in such circumstances?

  Enforcing terms and conditions of quotations

Under Australian laws, what are and organisations responsibilities in relation to

  Exploiting the capabilities of information technology

Describe strategic opportunities Walmart is missing for exploiting the capabilities of information technology.

  What are the assistances of these perspectives to modern

What are the assistances of these perspectives to modern day management? What are the bequests of these perspectives in today's organizations?

  Environmental sustainability initiatives

What economic arguments can be made for and against environmental sustainability initiatives?

  What payment methods would you advise Woolworths

BUS800 E-Commerce Strategy Seminar Topic Report and Presentation - What payment methods would you advise Woolworths to adopt to gaining new customer

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd