Question: Given a Fully Associative cache with 4 lines using LRU replacement. The word size is one byte, there is one word per block, and the

 Given a Fully Associative cache with 4 lines using LRU replacement.

Given a Fully Associative cache with 4 lines using LRU replacement. The word size is one byte, there is one word per block, and the main memory capacity is 16 bytes. Suppose the cache is initially empty and then the following addresses are accessed in the order listed: {3,4,3,7,7,12,4,8,3,12,7,9}. How many bits are in the tag field? (i.e. the tag itself not including any counter bits). After execution of all of the above references, what are the final contents of the cache? State your answer as the set of memory addresses whose data resides in cache, e.g. "{3,4,8,12}". For instance, if memory[3], memory[4], memory[8], and memory[12] resided in cache then the answer is stated as "{3,4,8,12}". What is the hit rate? Express your answer as a percent.. How many Compulsory Misses occurred

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!