Question: Compare 4-block caches (each block is 16 bits or 2 bytes long) Memory access sequence: 0, 1, 8, 0, 6, 8 How many hits/misses? What

Compare 4-block caches (each block is 16 bits or 2 bytes long)

Memory access sequence: 0, 1, 8, 0, 6, 8

How many hits/misses? What are in the cache at the end?

1. Direct mapped (5 accesses)

2. Fully Associative (5 accesses)

3. Two-Way Associative (5 accesses)

Compare 4-block caches (each block is 16 bits or 2 bytes long)

Cache Index Valid Tag Data o Dat 1 00 01 10 11 Memory Address Data A 0 (0000) B 1 (0001) C 2 (0010) 3 (0011) D E 4 (0100) F 5 (0101) G 6 (0110) H 7 (0111) I 8 (1000) more

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!