Question: Virtual Memory Problem: Assume the following: e The memory is byte addressable Memory accesses are to 1-byte words (not to 4-byte words) Virtual addresses are
Virtual Memory Problem:


Assume the following: e The memory is byte addressable Memory accesses are to 1-byte words (not to 4-byte words) Virtual addresses are 18 bits wide e Physical addresses are 17 bits wide The page size is 4096 bytes. The TLB is 4-way associative tlb (E-4) with 4 sets (S-4) and a total of 16 entries. The TLB and a portion of the page table contents are as shown below TLB Page Table VPN PPN V VPN PPN 0x050x1bl0x08 Y Set #Way #0 Way #1 Way #2 Way #3 0: PPN-0x1b PPN-0x14 PPN-0xof PPN-0x13 0x07 0x18 YOx1c 0x080x12 Y Ox1dOx0d Y V-Y:Tag=0x7|V-Y:Tag=0x8 PPN-0xOd PPN-0x1a V-Y:Tag=0x2|V-Y:Tag=0x7 PPN-0xOa PPN-0x1e Ox0cl0x1bl Y Ox20l0x13Y 0x10 0x140x14 Y Ox23 0x04Y 0x18 0xofY 2: 0x21 Ox1aY 3 PPN=0x18 | PPN=0x08 | PPN=0x04
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
