Question: 1. Direct Mapped. 2. 2-way set associative. 3. Fully associative You need to fill the table and calculate the hit ratio for each associative case.

1. Direct Mapped.

2. 2-way set associative.

3. Fully associative

You need to fill the table and calculate the hit ratio for each associative case.

Ans:

Block address

Cache Index

Hit/miss

Cache contents after access

0

1

2

3

0

2

4

0

2

Block address

Cache Index

Hit/miss

Cache contents after access

Set 0

Set 1

0

2

4

0

2

Block address

Hit/miss

Cache contents after access

0

2

4

0

2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!