Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

III. Consider a virtual address system with the following parameters .The memory is byte addressable Virtual addresses are 16 bits wide. Physical addresses are 15

image text in transcribedimage text in transcribed

III. Consider a virtual address system with the following parameters .The memory is byte addressable Virtual addresses are 16 bits wide. Physical addresses are 15 bits wide. . The page size is 512 bytes. The TLB is fully associative with 16 total entries. Recall that a fully associative cache has just one set of entries-The tag field is simply the VPN and we need to search the full TLB to check if the VPN we are seeking is in the TLB. In the following tables, all numbers are given in hexadecimal The contents of the TLB and the page table for the first 16 virtual pages are as follows. If a VPN is not listed in the page table, assume it generates a page fault. TLB Page Table Tag PPN Valid VPN PPN Valid 03 1B 06 06 28 23 01 18 31 01 00 271 01 OF 1 02 19 03 1B 04 06 0 05 03 06 06 07 3D 0 08 14 09 2A 1 0A 21 0B 11 0C 1C 1 OD 2D 0 12 00 07 3D 1 OB 11 2A 2C0 11 1C0 1F 03 08 14 09 2A1 3F 30 0 10 OD 0 32 110 OF 04 1 (a) Which bits of an address hold the VPO and which hold the VPN? (1 point) (b) For the virtual address 0x0422, indicate the physical address. Indicate whether or not there is a TLB miss. Ifthere is a page fault, enter "-" for the PPN and Physical Address. All answers should be given in hexadecimal. (1 points) (c) Repeat for address 0x02F1 (1 points) (d) Repeat for address 0x0c20 (1 points) III. Consider a virtual address system with the following parameters .The memory is byte addressable Virtual addresses are 16 bits wide. Physical addresses are 15 bits wide. . The page size is 512 bytes. The TLB is fully associative with 16 total entries. Recall that a fully associative cache has just one set of entries-The tag field is simply the VPN and we need to search the full TLB to check if the VPN we are seeking is in the TLB. In the following tables, all numbers are given in hexadecimal The contents of the TLB and the page table for the first 16 virtual pages are as follows. If a VPN is not listed in the page table, assume it generates a page fault. TLB Page Table Tag PPN Valid VPN PPN Valid 03 1B 06 06 28 23 01 18 31 01 00 271 01 OF 1 02 19 03 1B 04 06 0 05 03 06 06 07 3D 0 08 14 09 2A 1 0A 21 0B 11 0C 1C 1 OD 2D 0 12 00 07 3D 1 OB 11 2A 2C0 11 1C0 1F 03 08 14 09 2A1 3F 30 0 10 OD 0 32 110 OF 04 1 (a) Which bits of an address hold the VPO and which hold the VPN? (1 point) (b) For the virtual address 0x0422, indicate the physical address. Indicate whether or not there is a TLB miss. Ifthere is a page fault, enter "-" for the PPN and Physical Address. All answers should be given in hexadecimal. (1 points) (c) Repeat for address 0x02F1 (1 points) (d) Repeat for address 0x0c20 (1 points)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago

Question

4 How can you create a better online image for yourself?

Answered: 1 week ago