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

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

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