Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Exercise 6: (8 points) A system has a virtual page number of 24 bits, a physical

ID: 3705383 • Letter: E

Question

Exercise 6: (8 points) A system has a virtual page number of 24 bits, a physical page number of 12 bits, and a page size of 4 KB. A 4-entries TLB (shown below) is used by our system. The page numbers and offiet are given in hexadecimal. For each of the following virtual addresses, indicate whether a hit occurs, and if it does, give the physical address a. Virtual address: 3EF2B4E8A TLB hit or miss? b. Virtual address: 3DFAB154A TLB hit or miss? c. Virtual address: 231CIAAC2 TLB hit or miss? Physical address: Physical address: Valid bit Dirty bit Physical page frame nbr. Virtual page nbr. 9F4325 3DFABI 231CIA 3D7125 E&A; E03 2F8 FA2 0

Explanation / Answer

Q6:

a. 3EF2B4E8A

The page is not in memory so it is a TLB miss . It will not be mapped to physical address.

b. 3DFAB154A

Its valid bit is 1, so the page is invalid and is not in logical address space. So it will be a TLB miss. It will not be mapped to physical address.

c. 231CIAAC2

valid bit is 0, so the page is valid and is present in logical address space.

231CIA ---- coresponding Physical page frame number = 2F8

Physical Address = 2F8AC2 where AC2 is the offset.

Do ask if any doubt.Please upvote.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote