1.

A system has 64-bit virtual addresses and 43-bit physical addresses. If the pages are 8 kB in size, the number of bits required for VPN and PPN will be respectively1. 51 bits and 30 bits2. 30 bits and 51 bits3. 51 bits and 13 bits4. 30 bits and 13 bits

Answer» Correct Answer - Option 1 : 51 bits and 30 bits

Concept:

Page offset length = log2 (Page size)

Physical Page length = Physical Address length – Page offset length.

Virtual page length = virtual address length – page offset length

Calculation:

Page offset length = log2 (8 kB)

= log2 (23 × 210) = log2 213

= 13 bits

Virtual page length (VPN) = 64 – 13 = 51 bits

Physical page length (PPN) = 43 – 13 = 30 bits



Discussion

No Comment Found

Related InterviewSolutions