Explain how an i-type load instruction would execute

Assignment Help Other Engineering
Reference no: EM131901834

Assignment

Problem 1

Consider the pipelined implementation (without forwarding and/or stalling) of the MIPS microprocessor as given below.

(a) Explain how an I-type load instruction would execute in this pipelined implementation. Show clearly that the result is written back in the proper Destination Register.

(b) Define data dependency hazards and explain why they may occur in this implementation.

(c) Show that a memory write (store) instruction cannot cause a data dependency hazard.

(d) Can a store instruction be part of a data dependency hazard? Explain your answer.

(e) Considering R, I and J-type instructions, explain how to detect data dependency hazards for all possible instruction-type sequences.

Problem 2

Consider the design of a stalling control for a pipelined implementation of the MIPS data path (Figure given in Problem 1).

(a) Design the Hazard Detection Unit that triggers the Stall Control Mechanism by activating a flag (hazard detected).

(b) Define the control lines that need to be used / added to the figure in Problem 1 to enable the stalling mechanism. Explain how your solution stalls the pipe for the exact number of clock cycles needed. Does your solution work when more than one hazard is found in the pipeline?

Problem 3

Consider 512Kx8bits dynamic RAM chips where the memory access time is 2/3 of the memory cycle time. These chips have an Address Bus, a bi-directional Data Bus, a Read/Write control line and a Chip Select line.

(a) Draw the diagram of a memory organization that will contain 4 megabytes, will have a 32-bit bi-directional data bus and will yield one word (32-bits) every access time if words are read from consecutive memory locations (in bursts). Clearly show and explain the number of memory chips used, how your design is capable of reading one word every memory read access time, and which bits in the address are used to select a word from your memory organization.

(b) For this memory organization, can one write a block of consecutive words faster than one every memory cycle time?

(c) Suggest a timing such that words are read faster than one every access time (assume that data appears on the memory chips' data bus instantaneously at the time it becomes available).

Problem 4

Consider a RISC microprocessor, like the MIPS presented in the textbook, for which we want to implement the full addressable space using byte addressability and 32-bit addresses. Assume we have a 320GB hard disk, a 1GB main memory, a 2MB L2 Cache and a 512KB internal Cache.

Assume that we define a memory hierarchy based on a block size of 32KB (block = page).

(a) How many blocks can be stored in each level of the memory hierarchy?

(b) Consider the three cache organizations (Direct, Fully Associative, and Set Associative Mapping). Explain how each of them works as well as the advantages and disadvantages for each organization.

Attachment:- MIPS.rar

Reference no: EM131901834

Questions Cloud

What is the firm short run profit or loss : A perfectly competitive firm produces 1,000 units of a good at a total cost of $36,000. The price of each good is $50. What is the firm's short run profit or lo
Evaluate one of the selected technological applications : Critically analyse and evaluate one of the selected technological applications used for a disaster and Emergency management.Along With Diagrams and tables
Entrepreneurial talent in the market : What is the total amount of final goods and service that firms in a country plan to produce, depending on the labor, capital, technology, natural resources
How would you use what you have learned concerning supply : How would you use what you have learned concerning Supply and Demand to explain these trends?
Explain how an i-type load instruction would execute : Explain how I-type load instruction would execute in this pipelined implementation. Show clearly that the result is written back in proper Destination Register.
Is-lm function and cob-duoglas production function : Use the real money balance market, the IS-LM function and Cob-Duoglas production function. Will this policy have any effect on prices
What is the probability that your return on these bonds : What is the probability that your return on these bonds will be less than -3.7 percent in a given year?
Journalize the entries record Issuance of bends on April : Journalize the entries record Issuance of bends on April 1, 2016. and First interest payment on October 1, 2026, and amortization of bond premium for six month.
Biggest macroeconomic policy concerns : You will discuss how you are affected by unemployment, one of the country's biggest macroeconomic policy concerns.

Reviews

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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