Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Latest commit

 

History

History
21 lines (14 loc) · 1.25 KB

README.md

File metadata and controls

21 lines (14 loc) · 1.25 KB

Cache-Simulator

Open In Colab

A simulation tool inspired by instruction from the University of California, San Diego's CSE 142 course.

Overview

The Cache Simulator allows users to emulate how cache memory interacts with the main memory and how various cache configurations and policies affect performance. This is crucial for performance tuning and understanding hardware-software interactions.

Features

  • Simulate cache hits and misses.
  • Understand different types of cache misses: Compulsory, Capacity, and Conflict.
  • Configurable cache parameters: Block size, Cache size, and Associativity.
  • Timestamp-based Least Recently Used (LRU) cache replacement policy.
  • Export results to a CSV file for further analysis.

Usage

Visit the Cache Simulator on Google Colab: Cache Simulator Notebook

Simply run the cells in the notebook to initialize the simulator, set your desired configuration, and run simulations. You can then analyze the results in the generated CSV or directly within the notebook.