Question: 0 points ) Suppose a computer has 2 ^ 3 2 bytes of byte - addressable main memory and a cache size of 2 ^

0 points) Suppose a computer has 2^32 bytes of byte-addressable main memory and a cache size of 2^16 bytes, and each cache block contains 128 bytes. a. How many blocks of main memory are there? () b. How many blocks of cache memory are there? () c. If this cache is direct-mapped, what is the format of a memory address as seen by the cache; that is, the size of the tag field (), the size of block field (), and the size of the o^set field (). d. If this cache is fully associative, what is the format of a memory address as seen by the cache; that is, the size of the tag field (), and the size of the o^set field (). e. If this cache is 4-way set associative, what is the format of a memory address as seen by the cache; that is, the size of the tag field (), the size of set field (), and the size of the o^set field (). f. If this cache is 16-way set associative, what is the format of a memory address as seen by the cache; that is, the size of the tag field (), the size of set field (), and the size of the o^set field

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!