Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 1.23 KB

README.md

File metadata and controls

35 lines (18 loc) · 1.23 KB

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.