A cache simulation program to demonstrate the Hit/Miss actions in L1, Victim and L2 caches, and retrieval of data from the cache and RAM, animated for a better visualisation. Direct cache mapping and set associative mapping have been simulated in the backend for the respective processes.
This is a prototype for a planned updated Cache Simulator version.
It works enough to present 👍
Unless your display resolution is 1440p, it will look weird. 16:9 monitors can zoom-in/out to find a satisfiable look.
Clone the repo.
To run the frontend, npm i
and npm run dev
.
To run the backend, cd backend
and python main.py
.