Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Virtual Memory Examples Problem 1: This problem concerns the way virtual addresses are translated into physical addresses. Imagine a system has the following parameters: -
Virtual Memory Examples Problem 1: This problem concerns the way virtual addresses are translated into physical addresses. Imagine a system has the following parameters: - Virtual addresses are 20 bits wide. - Physical addresses are 18 bits wide. - The page size is 1024 bytes. - The TLB is 2-way set associative with 16 total entries. The contents of the TLB and the first 32 entries of the page table are shown as follows. All numbers are given in hexadecimal. Page 1 of 6 1. The diagram below shows the format of a virtual address. Please indicate the following fields by labeling the diagram: (If a field does not exist, do not draw it on the diagram.) VPO The virtual page offset VPN The virtual page number TLBI The TLB index TLBT The TLB tag 2. The diagram below shows the format of a physical address. Please indicate the following fields by labeling the diagram: (If a field does not exist, do not draw it on the diagram.) PPO The physical page offset PPN The physical page number Part 2 For the given virtual addresses, please indicate the TLB entry accessed and the physical address. Indicate whether the TLB misses and whether a page fault occurs. If there is a page fault, enter "-" for "PPN" and leave the physical address blank. Virtual address: 078E6 1. Virtual address (one bit per box) 19181716151413121110987654 2. Address translation 3. Physical address(one bit per box) Virtual address: 04AA4 1. Virtual address (one bit per box) 2. Address translation Page 3 of 6 3. Physical address(one bit per box)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started