Question
6) Assume that the main memory of a small computer is composed of 1 Megabytes, which are mapped into a 4-kilobyte cache. The cache is
6) Assume that the main memory of a small computer is composed of 1 Megabytes, which are mapped into a 4-kilobyte cache. The cache is 4 way set associative. Blocks in main memory and block frames in the cache contain 32 bytes each.
a) Draw a diagram showing the organization of the cache indicating how physical addresses are related to the cache addresses.
b) To what block in main memory does the address 25320 belong to?
c) What memory addresses does the block 6234 contain in main memory?
d) To which set in the cache memory does the block 6234 map to?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started