retagged by
3,573 views
9 votes
9 votes
can some one please clearly explain ,what is

1.    virtually indexed virtually tagged cache

2.    physically indexed physically tagged cache

3.    virtually indexed physicaly tagged cache

it is very confusing ,these concepts are used in finding effective memory access in questions of gate.
retagged by

1 Answer

Best answer
5 votes
5 votes
These things have been confusing me also from a long time.

Well I can tell u what i know about virtually indexed physically tagged cache VIPT. Virtual address is divided into Virtual page no and offset. Now we will determine the set index bits from this offset part and will start parallel search in the cache because we know the set/line no. And simultaneously the VPN is sent to TLB for translation into the physical page no PPN. Now we have the physical address as well as the tag bits ready. And we can compare them for hit or miss. Thats the idea of VIPT cache.
selected by

Related questions

2 votes
2 votes
2 answers
1
Veerendra V asked Nov 6, 2016
1,581 views
What is virtual indexed cache? How is it different from physical indexed cache? What is virtually indexed physical tagged cache? If possible point me to proper resources....