For direct mapped cache:
https://www.youtube.com/watch?v=iBWaV2Nkq9A
For set associative cache: https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-823-computer-system-architecture-fall-2005/assignments/handout6.pdf -
64.3k questions
77.9k answers
244k comments
80.0k users