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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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