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

A computer has the following memory and cache characteristics:

+Virtual memory: 4 Gbytes

+Main memory: 4 Mbytes -

+ Cache: 4 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?

d. Virtual address 3A4B5C6DH is mapped to page frame 0 in the main memory. Write the main memory address of this reference.

g. Where will it be mapped in the cache? Write the set number and its tag.

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!