How many blocks can be stored in each level of the memory

Assignment Help Computer Engineering
Reference no: EM131634799

Computer Systems Architecture Midterm Examination

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

1206_figure.png

(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.

Reference no: EM131634799

Questions Cloud

How do parties differ from interest groups : How do parties differ from interest groups? Why has there never been a 3+ party system in the United States?
Discuss problem-advising a developing country : Advising a developing country: Suppose you are appointed the international economic adviser to a small developing country.
How large were declines in gdp per worker in each country : Currency crises and macroeconomic performance: Using the Country Snapshots data file (snapshots.pdf), study the macroeconomic performance of Mexico, Indonesia.
What pathophysiological change are happening in patient eyes : Assignment: Hypertension- What are the patient's problems? What pathophysiological changes are happening in his eyes and heart?
How many blocks can be stored in each level of the memory : CS 152 Computer Systems Architecture Midterm Examination. How many blocks can be stored in each level of the memory hierarchy
Define the quality and depth of information : Compare the articles based on the quality and depth of information. What would be the value of each resource if you were determining an evidence-based practice
How do we understand the apparent contradiction : The policy trilemma: One could make a reasonable case that the United States in the past decade has been able to achieve all three goals of the policy trilemma.
The historical causes of islamic revolution in iran : Explain the importance of the Persian Gulf region for the world economy.Elaborate on the historical causes of Islamic revolution in Iran.
Design two separate pivot tables for the training data : Evaluate and comment on the Results. Should the data be normalized? Discuss what characterizes the components.

Reviews

len1634799

9/9/2017 5:01:08 AM

This is a take home examination. Please submit your answers to the questions in a pdf formatted file on the appropriate class dropbox on EEE. Remember that you are solely responsible for the answers to the questions, therefore, please submit your own work even if you consulted with your class peers. READ all questions carefully before attempting to answer. If there are any ambiguities in the statement of questions, please state your assumptions and solve the problem accordingly. Explain your answers clearly. THERE ARE FOUR (4) QUESTIONS.

Write a Review

Computer Engineering Questions & Answers

  Developing the java program

Create a block utilizing a loop which will calculate the number of items which can be purchased on the basis of price of the item and total amount available to spend.

  Define current and emerging nonvolatile ram technologies

List and explain current and emerging nonvolatile RAM technologies. What advantages are potentially offered by the emerging technologies as compared to current flash RAM technology?

  What is the least number of tcp segments

The following questions is related to TELNET. A user types cp file1 file2. What is the minimum number of TCP segments exchanged if the transfer uses the following mode. Explain the answer.

  Why relational database was the best choice

create a relational database containing information about music performers, their recordings, and the composers of the music they recorded.

  Identify purpose and the intended audience for each website

Identify the purpose and the intended audience for each website. Does the audience of any of them overlap? How would you categorize each of these websites?

  Data planning and modelling– enterprise modelling

Write down the major differences between the two approaches to the data planning and modelling– enterprise modelling and the view integration?

  Write c language program to set interrupt priority

Write C language program to set interrupt priority of INT1 as the high level, and interrupt priority for INT2 level as low level.

  Write a method called drawcircle that draws a circle

Overload the drawCircle method of Exercise such that if the radius is not provided, a random radius in the range 10 to 100 (inclusive) will be used.

  They want ot add calculation of shipping and tax

Each step takes 7 days except mail, that is the next day after personalize.

  Describe briefly how input devices are tested

Explain why a safety circuit or other EMERGENCY STOP device is important.

  Modifying the label properties

Perform some of the changes, the WebTime example to consists of drop-down lists that enable the user to alter such Label properties as the BackColor, ForeColor and Font-Size.

  Define the advantages and disadvantages of these metrics

Research at least one possible metric (Business or Technology) that you will use in a project plan for a "Customer Relationship Management Software Development. define the advantages and disadvantages of these metrics

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