Skip to content

IshanMehta115/Cache-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Cache Simulator

This cache simulator project allows you to simulate cache behavior using different mapping techniques: direct mapping, associative memory, and n-way set associative memory.

Features

  • Supports loading data into the cache using various cache mapping techniques
  • Provides a search functionality to check if data exists in the cache
  • Allows the user to specify the cache mapping technique and associativity level (n) at runtime

Usage

  1. Clone the repository: git clone https://github.com/IshanMehta115/Cache-Simulator.git

  2. Build and run the cache simulator program.

  3. Follow the on-screen instructions to specify the cache mapping technique and associativity level (n).

  4. Load data into the cache using the on-screen instructions.

  5. Search for data in the cache using the on-screen instructions.

Configuration

The cache simulator supports different cache mapping techniques based on user input. You can choose the desired mapping technique and associativity level (n) at runtime.

Contributions

Contributions to this cache simulator project are welcome! If you have any improvements or bug fixes, feel free to submit a pull request.

License

This project is licensed under the MIT License.

About

A cache simulator made using python. It can work in 3 modes direct mapping, associative mapping and set associative.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages