Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET


Best NIMCET Coaching
Aspire Study
Online Classes, Classroom Classes
and More.

Aspire Study Library


Question Id : 11913 | Context :NIMCET 2024

Question

 A CPU generates 32 bits virtual addresses. The page size is 4 KB. The processor has a translation look-aside buffer (TLB) which can hold a total of 128-page table entries and is 4- way set associate. The minimum size of the TLB tag is
🎥 Video solution / Text Solution of this question is given below:

TLB Tag Size Calculation

Given:

  • Virtual Address = 32 bits
  • Page Size = 4 KB = 212 → Offset = 12 bits
  • VPN = 32 − 12 = 20 bits
  • TLB entries = 128, 4-way set associative → 32 sets

Set index bits: log2(32)=5 bits

TLB Tag = VPN − Set Index = 20 − 5 = 15 bits

✅ Final Answer: 15 bits

📲 Install Aspire Study App

Get MCA exam-wise questions, solutions, test series & updates instantly on your phone.

🚀 Install Now


Aspire Study Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Aspire Study Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.