What is the format of a memory address as seen by the cache

Assignment Help Computer Engineering
Reference no: EM131258463

Assignment

1. Suppose a computer using direct mapped cache has 224 words of main memory and a cache of 2048 blocks, where each cache block contains 16 words.

a. How many blocks of main memory are there?

b. What is the format of a memory address as seen by the cache, that is, what are the sizes of the tag, block, and word fields?

c. To which cache block will the memory reference 00A1B216 map?

2. Suppose a computer using fully associative cache has 232 words of main memory and a cache of 128 blocks, where each cache block contains 64 words.

a. How many blocks of main memory are there?

b. What is the format of a memory address as seen by the cache, that is, what are the sizes of the tag and word fields?

c. To which cache block will the memory reference 02C47216 map?

3. Suppose a computer using set associative cache has 232 words of main memory and a cache of 64 blocks, and each cache block contains 16 words.

a. If this cache is 2-way set associative, what is the format of a memory address as seen by the cache, that is, what are the sizes of the tag, set, and word fields?

b. If this cache is 4-way set associative, what is the format of a memory address as seen by the cache?

4. Create a page translation table the meets the requirements of the virtual memory system shown below. Assume page (and frame) sizes of 10 with pages 0 through 3 in logical memory and frames 0 through 7 in physical memory.

5. A computer system with 16K of memory, a Memory Management Unit with a page size of 2000, and the following page translation table (all numbers in hexadecimal):

a. Indicate the physical memory locationcorresponding to logical address E600.

b. Indicate the logical address corresponding to physical memory location 30A51.

Reference no: EM131258463

Questions Cloud

How many ram chips are needed for each memory word : How many RAM chips are necessary? How many RAM chips are needed for each memory word? How many address bits are needed for each RAM chip? How many address bits are needed for all memory?
Describe forensic characteristics of document examination : Describe the forensic characteristics of document examination. Describe the collection and preservation of drugs, as well as the toxicology of drugs. Identify the role of the forensic pathologist, forensic entomologist, forensic toxicologist and f..
Show how the value ascii devora is stored in memory : Show how the value ASCII "DEVORA" is stored in memory in Big Endian and in Little Endian format starting at location 200 hexadecimal. Assume that each memory location stored two ASCII characters.
Draw a precedence diagram of the operation : Draw a precedence diagram of this operation. -  What is the cycle time for this operation? - What is the theoretical minimum number of workstations?
What is the format of a memory address as seen by the cache : How many blocks of main memory are there? What is the format of a memory address as seen by the cache, that is, what are the sizes of the tag, block, and word fields?
Predicted relationship between money growth and inflation : How do these number match up with the predicted relationship between money growth and inflation in the long-run? Why do you think they matched up with the predicted relationship a bit better in one country than the other?
Examine the role that each public health agency : From the second e-Activity, analyze two to three (2-3) strategies that your state public health agency would employ in response to a pandemic event. From modifications made to policies in the last five years, infer the related lessons that have be..
Critique on an article-nationalisation of human capital : Summary of the article as you understand it ( do not copy-paste the abstract) and nature of the article (conceptual, descriptive or empirical) - provide the evidence
Identify the true statement about a claim of defamation : Identify the white collar crime that involves a fraudulent entity attracting investors, offering them high returns, and paying these returns, not from profits, but from investments made by subsequent investors.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Produce the opencl kernel and the application driver

Re-write the bitcoin mining kernel using funnel shift intrinsics and measure its performance using the modified GPGPU-sim with funnel shift support. Can bitcoin mining performance be improved significantly using the dedicated hardware support for ..

  Translate that into physical addresses using a page

You need to read an inputFile.txt which contains integers that are virtual addresses, and I am supposed to translate that into physical addresses using a page table and a transition look aside buffer.

  What is the maximum amount of gold extracted

A gold processor has two sources of gold ore, source A and source B. In order to keep his plant running, at least three tons of ore must be processed each day. What is the maximum amount of gold extracted

  Developing a monthly budget structure

Write down a program which declares a MonthlyBudget structure with the member variables in order to hold each of these expense categories.

  Establish a new shared secret

Suppose that two strangers A and B want to communicate with each other using secret- key cryptography, but do not share a key. Suppose both of them trust a third party C whose public key is well known. How can the two strangers establish a new shar..

  Soda vending machine design

Soda Vending Machine Design,    A state diagram showing the implementation of your design. Clearly show all the states and the conditions on which transitions occur.

  Representation in both hexadecimal and binary

Show 75 in the IEEE single precision floating point representation in both Hexadecimal and Binary. Please demonstrate the steps so I can emulate.

  Discuss the simplicity of the dtd compared xml schema

Discuss the simplicity of the DTD compared to that of XML Schema. Has trade-off gone too far towards complexity in trying to overcome the limitations of the DTD.

  What are the potential consequences for a company which has

what are the potential consequences for a company that has data that is not secure? do some research and describe some

  Suppose that you are the database developer for a local

suppose that you are the database developer for a local college. the chief information officer has asked you to

  Design the function definitions of pixel class constructor

Write the function definitions of the Pixel class constructor adn CurrentStatus member functions.

  Calculate amount of money that should be paid to employees

You are tasked with creating a mileage caclulator to calculate the amount of money that should be paid to employees.

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