CacheSim Svelte Themes

Cachesim

Animated Cache Simulation using Svelte & FastAPI

CacheSim - Prototype Cache Simulator

Project Description

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.

Working/Bugs

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.

Run

Clone the repo.

To run the frontend, npm i and npm run dev.

To run the backend, cd backend and python main.py.

Tech Stack

  • Svelte
  • FastAPI (Python)

Team

Top categories

Loading Svelte Themes