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

  Can you think of any circumstances

What wrong with the founder of a company its former CEO and board chair utilizing corporate assets for personal reasons? Can you think of any circumstances where it would be permissible? That is what would have to happen for this to be acceptable?

  Let a and b be integers chosen randomly

Cesàro estimate:- Let a and b be integers chosen randomly. Show that the probability that gcd(a, b) = 1 is 6/π2 using the following steps:

  Replacing some functions of email in business

How is instant messaging/texting replacing some functions of email in business? What are the advantages and disadvantages of business use of text messaging?

  Weak physical security presents

Why is it important to understand the risks weak physical security presents? How about Logical security?

  Confidence interval for the female population

A sample of 120 U.S. adults is composed of 42 men and 78 women, estimate the confidence interval for the female population with 95% confidence

  September in time for the halloween rush

Your project is to get caramel apples to a client by the end of September in time for the Halloween rush.

  Define how to approach the decision-making process

Describe a creative solution to the issue with appropriate justification and recognition of the organizational impact

  What is the sample proportion

(a) What is the sample proportion ˆp of college students at OSU who worked last summer? (b) What is the approximate distribution of the proportion ˆp of college students at OSU who worked last summer?

  Implementing a data management system

Should hospital organizations be concerned about it? How would this affect implementing a data management system?

  Excessive conflict in a self-determined team

Provide an example a team or a group you have worked with that has fallen victim to the causes of conflict you identify in the discussion question.

  Applying for and receiving medicare

Investigate and predict what impact the baby boomers will have on this issue (including the understanding that since 2011 more than 10,000 people are applying for and receiving Medicare each month).

  Write a one-page issue proposal

Write a one-page Issue Proposal. The issue you are proposing is the topic you will pursue for your course project. You need to include the following items in the contents of your Issue Proposal.

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