Screenshot of the data produced by the cache simulator on a line graph.
Back to Projects

Cache Simulator

November 2022

Tags

    PythonMatplotlibConsole

About

A cache simulator that allows users to simulate a cache with a given cache size, block size, and associativity. It was created as part of a project to investigate how cache size affects the hit rate. Based on the input parameters, the simulator will determine the cache's hit rate and output the results to a CSV file. The results can then be viewed in a graph using matplotlib.

Images

Screenshot of the data produced by the cache simulator on a line graph.