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
Get step-by-step solutions from verified subject matter experts
