Question: 1. A system that uses virtual memory also uses caching and a TLB. Assume the CPU calls for a virtual address and that the page
1. A system that uses virtual memory also uses caching and a TLB. Assume the CPU calls for a virtual address and that the page for that virtual address is found valid in the TLB. a. Where does the system now look for the address? b. Is the address the system now seeks a virtual address or physical address?
2. Suppose a computer using fully associative cache has 16MB of byte-addressable main memory and a cache of 32 blocks, where each cache block contains 16 bytes. a. Into which cache block will memory address 0x0DB637 map? b. What is the tag associated with block containing the address 0x0DB637 (in hex)
| Solutions for #2 a | Solutions for #2 b |
|---|---|
| Any | Any |
| 0x0DB41 | 0x0DB41 |
| 0x0DB63 | 0x0DB63 |
| 30 | 30 |
| 5 | 5 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
