Question: Cache memoryis an extremely fastmemorytype that acts as a buffer between the main memory and the CPU. The cache contains a copy of portions of

Cache memory is an extremely fast memory type that acts as a buffer between the main memory and the CPU. The cache contains a copy of portions of the main memory.

Answer all the following questions.

(a) The cache hit or miss is when a request for data in a cache can be satisfied or not, respectively. Consider the main memory with its content illustrated in Figure 1 and the cache address is used 2 bits. 

 

 

 

a.png


 

Table 1 shows the cache memory with some initial values. Update the cache memory in Table 1 with the final answer as a response to a series of requests (binary address) in Table 2. Complete Table 2 by writing the status of cache either hit or miss [7 Marks]
(Note: Answer without 'h' for the content in Table 1 (e.g. 11A)

Table 1

Line/SlotTagContent
001121
01

Answer

Answer

10

Answer

Answer

1100A3

 

Table 2

Memory Address11100011010111011100

Status of Cache [Options: Hit / Miss]

Answer

Answer

Answer

Answer

Answer

Address Content (Hex) Address Content (Hex) Address Content (Hex) Address Content (Hex) 0000 01 0100 02 1000 C2 1100 21 0001 AB 0101 44 1001 A8 1101 10 0010 A1 0110 12 1010 05 1110 OC 0011 A3 0111 16 1011 09 1111 DE

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 Operating System Questions!