Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 5: (30 marks) Assume a system's memory has 4M words. Blocks are 64 words in length and the cache consists of 512 blocks. 1-

image text in transcribed

Question 5: (30 marks) Assume a system's memory has 4M words. Blocks are 64 words in length and the cache consists of 512 blocks. 1- How many blocks are there in the main memory? (3 marks) 2- Draw the format of the memory address as seen by the cache, showing the fields as well as their sizes, for the following schemes: (19 marks) a- Direct Mapped Cache. b- Fully associative cache mapping scheme. C- 8-way set associative cache mapping scheme 3- For the Direct map scheme, to which cache block will the memory reference A412B map? Show your work (6 marks) 4. For the Fully Associative scheme, to which cache block will the memory reference 8214B map? (2 marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

More Books

Students also viewed these Databases questions

Question

d. How will lack of trust be handled?

Answered: 1 week ago

Question

b. Does senior management trust the team?

Answered: 1 week ago