Question: A computer has the following memory and cache characteristics: +Virtual memory: 5 Gbytes +Main memory: 5 Mbytes - + Cache: 5 Kbytes + 1 word

A computer has the following memory and cache characteristics:

+Virtual memory: 5 Gbytes

+Main memory: 5 Mbytes -

+ Cache: 5 Kbytes

+ 1 word is 4 bytes

+ Page size: 4096 words

+ The cache is 4-way set associative

+ Cache block size 16 words

a. How many bits are there in a virtual memory address?

b. Show the page and offset fields of the virtual adress. How many bits are there in each field?

c. How many bits are there in a main memory address?

d. How many sets are there in the cache?

e. Show the tag, set and word fields of the memory addresses. How many bits are there in each 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 Databases Questions!