Question: Assume that this program is run on a processor with a data cache of 4 0 9 6 bytes. Each block of the cache is
Assume that this program is run on a processor with a data cache of bytes. Each block of the cache is bytes. Memory addresses are of bits. Data in arr and arr are stored in contiguous memory locations, ie in a sequence as arr arr arr arr arr arra How many paths does the function foo of this program have? Describe what they are. b If the cache is a direct mapped cache, how many bits in a bit address are used for block offset, set index and tag, respectively?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
