CMSC 611: Advanced Computer Architecture
CMSC 611: Advanced Computer Architecture
CMSC 611: Advanced Computer Architecture
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Block # 0 1 2 3 4 5 6 7<br />
Data<br />
Tag<br />
Search<br />
Direct mapped<br />
1<br />
2<br />
Block Placement<br />
Set # 0 1 2 3<br />
Data<br />
Tag<br />
Search<br />
Set associative<br />
1<br />
2<br />
Data<br />
Tag<br />
Search<br />
Hardware Complexity<br />
Cache utilization<br />
Fully associative<br />
• Set number = (Block number) modulo (Number of sets in the cache)<br />
• Increased flexibility of block placement reduces probability of cache misses<br />
1<br />
2