Question: Q 1 . Assume a computer memory system with 1 6 - bit memory addresses and 4 - byte words. The following memory addresses are

Q1.Assume a computer memory system with 16-bit memory addresses and 4-byte words. The following memory addresses are accessed in sequence:
4,8,16,20,28,36,4,64,128,64,4
1.) Consider a direct mapped cache of size 64 bytes (not including tag and valid bits) and each block of size 16 bytes (not including tag and valid bits). Provide the following table for the above accesses:
memory address in binarytag bits in binaryindex bits in binaryword offset in binarybyte offset in binaryhit or miss
2.) Provide the final hit rate.
Q2. Assume a computer memory system with 16-bit memory addresses and 4-byte words. The following memory addresses are accessed in sequence:
4,8,16,20,28,36,4,64,128,64,4
1.) Consider a 2-way set associative cache with a total size of 128 bytes (64 bytes per set, not including tag and valid bits) and each block of size 16 bytes (not including tag and valid bits). Provide the following table for the above accesses:
memory address in binarytag bits in binaryindex bits in binaryword offset in binarybyte offset in binaryhit or miss
2.) Provide the final hit rate.
Q3. Assume a computer memory system with 16-bit memory addresses and 4-byte words. The following memory addresses are accessed in sequence:
4,8,16,20,28,36,4,64,128,64,4
1.) Consider a fully associative cache of size 64 bytes (not including tag and valid bits) and each block of size 16 bytes (not including tag and valid bits). Provide the following for the above accesses:
memory address in binarytag bits in binaryindex bits in binaryword offset in binarybyte offset in binaryhit or miss
2.) Provide the final hit rate.
I will thumbs up need this quick please

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 Programming Questions!