Professional Documents
Culture Documents
Architecture (μpCA)
UE19CS252
Session : 4.3
Microprocessor & Computer Architecture (μpCA)
6th Optimization: Reduce Miss Time
d dress P3
A
CPU Addre
ss P4
P4
P5
Address Translation P1
by MMU using TLB
Physical Address
CPU Virtual Address
P1
== Cache
Miss Main Memory
Microprocessor & Computer Architecture (μpCA)
Virtually Indexed and Physically Tagged
1: CPU generate VA
CPU
Virtual Address
2: TLB is referred to check if required Frame present or not &
Page Number Offset Offset is used to Index Cache
Indexing 3: PA is generated
TLB
Frame # 4: Cache is Tagged using PA
PA Tag Cache
Physical Address
Hit or
Frame# ---Index----- Offset ==
Miss
Tagging
Microprocessor & Computer Architecture (μpCA)
6th Optimization : Case Study
43 Bits TLB TAG, 8 Bits TLB index 7 bits Index, 6 Bits Word • 64 bit Virtual Address
19 Bits TAG, 16 Cache Index, 6 Bits Word • Block Size = 64 Bytes (2^6 words)
L2 Cache
19 Bits Tag, 512 Bits Data
• 4 MB Direct Mapped L2 Cache
• 2^22/2^6= 2^16
== To CPU
Microprocessor & Computer Architecture (μpCA)
6th Optimization : Optimized to Improve the Hit Time
43 Bits TLB TAG, 7 Bits TLB index 8 bits Index, 6 Bits Word • 64 bit Virtual Address
21 Bits TAG, 14 Cache Index, 6 Bits Word • Block Size = 64 Bytes (2^6 words)
L2 Cache
21 Bits Tag, 512 Bits Data
• 4 MB, 4 Way, L2 Cache
Team MPCA
Department of Computer Science and Engineering