A computer has a 256 word memory and a 16 word cache. The cache line size is

Question:

A computer has a 256 word memory and a 16 word cache. The cache line size is one word. The following sequence of addresses is read in series: 

0,1,2,3,4,5,10,13,16,19,21,4,8,12,30,40,41,42,35,1,3,13

Show how the cache memory would be accessed assuming that all lines are initially invalid. In each cache, mark the access as hit, capacity miss, compulsory miss, or conflict miss. Do this for each of the following. 

a. Fully associative cache 

b. Direct-mapped cache 

c. Two-way set associative cache.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: