LRU Cache Visualization

Cache Model

This visualization demonstrates a simplified Cache with the following characteristics:

This model is intentionally simplified to focus on the fundamental behavior of set-associative caches. Advanced features such as write-back/write-through, valid bits, and dirty bits are not included.

Current Seed: 42

Memory Access:

Entry:
--------
Tag:
----
Index:
--
Set to replace (oldest):
-
Word offset:
--
Press "Next" to start

Next Memory Access:

Entry:
--------

Cache State:

Index / Set Set 0 Set 1 Set 2 Set 3
Tag Data Tag Data Tag Data Tag Data
Index 0
Index 1

Explanation:

Welcome to the Cache Visualization tool. Press "Next" to start the simulation.

Statistics:

Hits: 0
Misses: 0
Hit Rate: 0%