Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For a main memory with 2 5 6 bytes, a 3 2 byte cache with 4 byte ( 1 word ) blocks and 2 -

For a main memory with 256 bytes, a 32 byte cache with 4 byte (1 word) blocks and 2- way set associativity, give the index and tag for the addresses loaded in the following and show whether the following loads is a hit You must show your work for ANY credit! hit or a miss (tags in table given in binary).
index
0
1
Way 1 Tag
Way 2 Tag
0101
1010
1100
0110
2
3
0010
0000
0011
1001
i) load word from byte address 68(decimal)
ii) load word from byte address 148(decimal)For iv.-vi. assume a memory of 16MB (16*2^20 bytes) and a cache size of 512kB (512*2^10 bytes).
iv) Assume a 16-way associative cache with 1 MIPS-word blocks. Explain which bits of memory address are used for tag, index and offset.
v) Assume an 8-way associative cache with 4 byte blocks. Explain which bits of memory address are used for tag, index and offset.
vi) Assume a 32-way associative cache with 4 byte blocks. Which set would the word at memory address 10978h be placed in (in orther words, what index would it use)?

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

Students also viewed these Databases questions

Question

The models used to analyse different national cultures.

Answered: 1 week ago

Question

The nature of the issues associated with expatriate employment.

Answered: 1 week ago