Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3 (20 Marks) Consider an 8-way set associative cache mapping where the number of bits in the different fields of the memory address are

image text in transcribed
Question 3 (20 Marks) Consider an 8-way set associative cache mapping where the number of bits in the different fields of the memory address are shown in Figure 3. TAG SET OFFSET 16 bits 4 bits 4 bits Figure 3: Number of bits in the different field of the memory address Assume a byte addressable memory to answer the below questions based on Figure 3. a) Compute the followings: - capacity of the main memory line size Number of sets in the cache memory Number of lines in the cache memory Capacity of the cache memory Number of blocks that maps to the same cache set You need to show your working for all the computations. 16 marks b) Give examples of two different block addresses in hexadecimal that will be mapped into cache set number OxE. 14 marks c) Give examples of two different memory addresses in hexadecimal that will be mapped into the same cache block. 14 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

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions