Question: Need help with computer architecture problem. Given a main memory with 1024 blocks that maps to a cache with 16 blocks A. If the cache
Need help with computer architecture problem.
Given a main memory with 1024 blocks that maps to a cache with 16 blocks
A. If the cache is direct mapped, into what line# in decimal does block# 257 map to? (Note: 257 is a decimal number)
B. If the cache is fully associative, into what cache line# in decimal does block# 257 map to?
C. If the cache is 2-way associative, into what cache set# in decimal does block# 257 map to?
D. If the cache is 2-way associative, can block# 0, block# 2, and block# 8 be in the cache at the same time? (Yes or No)
E. If the cache is 2-way associative, can block# 0, block# 16, and block# 32 be in the cache at the same time? (Yes or No)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
