Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A main memory has 128 words where each word is 1 byte long and occupies one location in the main memory. Besides that, there

 

A main memory has 128 words where each word is 1 byte long and occupies one location in the main memory. Besides that, there are a total of 32 lines in the cache where each line has 8 bytes. Assuming a set associative cache mapping function, answer the following questions: (i) Briefly describe how set associative mapping works. [2 marks] (ii) Calculate the number of blocks in the main memory. [2 marks] (iii) There are 2 bits reserved for the Tag field of the address. Calculate the number of sets that are present in the cache. Consequently, number of bits reserved for the Word field of the address. calculate the [4 marks] (iv) Calculate the number of lines in each set of the cache. [2 marks]

Step by Step Solution

3.44 Rating (154 Votes )

There are 3 Steps involved in it

Step: 1

i Set associative mapping works by dividing the cache into a number of sets where each set can hold ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Operating System questions

Question

What are the two sources of government health insurance?

Answered: 1 week ago

Question

What is one of the skills required for independent learning?Explain

Answered: 1 week ago