Determining the abstract pipelined datapath

Assignment Help PL-SQL Programming
Reference no: EM131049719

For the each of the following sequence of instructions use the abstract pipelined datapath.

Code 1:

lw $7, 0($1)
sub $7, $3, $7
add $3, $7, $3
sw $7, 0($3)

Code 2:

lw $2, 0($3) # Assume that this is a valid instruction in your datapath

add $3, $2, $4
sub $1, $3, $4
add $1, $5, $3
sw $5, 8($6)

(a) Label the bubbles caused by stalls. (Note you should not need more than 16 clock cycles)

(b) If possible, eliminate all of the bubbles caused by the instruction sequence in part (a) by reordering the instruction sequence and/or by adding bypass paths to the basic, standard pipeline diagram. Give the reordered instruction sequence.

(c) Add bypass hardware (data forwarding paths(s) into the hardware datapath) and reorder the code sequence to eliminate all the stalls for Code 2.

(d) Assume that the register writes occur in the SECOND half of the clock cycle and reads occur in the rst half. Add a bypass (data forwarding path into the hardware datapath) to eliminate all stalls from the Code 2 sequence in Part (a).

Reference no: EM131049719

Questions Cloud

Limited number of copies of items designed : Quixotic Unique Manufacturing, LLC, uses 3D printing and other processes to make a limited number of copies of items designed or requested by predominantly web-based customers.
Real estate investment problem : Real Estate investment problem 1. A property is financed with an 85% loan-to-value ratio at 10% interest over 25 years. What would the before-tax IRR on equity (BTIRRe) be estimated at given that the before-tax IRR on the unlevered project (BTIRRp) i..
Briefly describe the pattern of urban growth in the usa : Briefly describe the pattern of urban growth in the United States from its inception. What are three factors that have contributed to increasing urbanization? How? Which, in your opinion, has been the most influential?
Stock will pay dividends at time : A Stock will pay dividends at time t = 1 of $1.00. It is expected to grow at 10% as far as we can see into the future. If the appropriate discount rate for the risk of this stock is 15%, what should be the value of this stock, at t = 0? Note: The div..
Determining the abstract pipelined datapath : For the each of the following sequence of instructions use the abstract pipelined datapath.
What is the present value of this donation : Assume that you are 30 years old today, and that you are planning on retirement at age 65. Your current salary is $42,000 and you expect your salary to increase at a rate of 5% per year as long as you work. The present value (PV) (at age 30) of your ..
Propose a cloud-based storage service : For this assignment, imagine that you have been hired by ABC, Inc., a global company, to propose a cloud-based storage service appropriate for a globalized company to use to back up their machines.
How does the artist use the elements of art : How does the artist use the elements of art (line, value, color, shape, texture)? How does the artist organize the elements of art to create artwork that you respond to (positive or negative!)?
Mutual fund that is expected to earn rate of return : Suppose you invest $1000 into a mutual fund that is expected to earn a rate of return of 11%. How much money will you have in 10 years? If $8000 is invested in a certain business at the start of the year, the investor will receive $2400 at the end of..

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Querries related to sql programming

Create a parameter query based on the Customer tablethat prompts for customers in a specific state. Do not just make a select query. A parameter is different. Display the CustomerNum, CustomerName, City, and State fields.

  Write an application for the events

Closing the application. Close your running application by clicking its close box.

  Strategies for improving the performance of sql queries

Discuss some possible solutions and strategies for improving the performance of SQL queries and their ability to provide data to users and identify the performance or usability issues that need to be addressed.

  Which of the sollowing is an accurate statement

Which of the subsequent is an accurate statement - When the LOWER function is used in a SELECT clause, it will automatically store the data in lower-case letters in the database table.

  Write a pl/sql block and declare a variable v_sal

Write a PL/SQL block and declare a variable  v_sal  of the type NUMBER. Include the following statement in the Execution section:

  Create a script file containing the pl/sql code

For the lab, you will need to create a script file containing the PL/SQL code that will address the lab steps below. Run the script file in your SQL*Plus session using the SET ECHO ON session command at the beginning to capture both the PL/SQL blo..

  Display the customerid from the orders table

Display the CustomerID from the Orders table and the sum of the associated ItemPrice multiplied by Quantity using Gross Sales (with a space) as the column name from the OrderItems table.

  Assignments of sql programming

Question 1: Identify the potential sales and department store transactions that can be stored within the database. Question 2: Design a database solution and the potential business rules that could be used to house the sales transactions of the depa..

  How to defeat sql injection attacks

List the SQL commands you will use to create your database tables. Note: Be sure that each table has at least ten records that you create so you will be able to produce reports later on.

  Sql statement to display student first and last name

1. Write a SQL statement to display Student's First and Last Name.  2. Write a SQL statement to display the Major of the STUDENT with no duplications. Do not display student names. 3. Write a SQL statement to display the First and Last Name of studen..

  Prepare a sql statement to use joining the tables

Write a SELECT statement that joins the Customers, Orders, OrderItems, and Products tables.

  Write a perl subroutine for temperature conversion

Write a perl subroutine for temperature conversion named 'convert_temp'. It should be able to handle both Fahrenheit to Celsius conversions as well as Celsius to Fahrenheit conversions.

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