This cache simulator project allows you to simulate cache behavior using different mapping techniques: direct mapping, associative memory, and n-way set associative memory.
- 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
-
Clone the repository:
git clone https://github.com/IshanMehta115/Cache-Simulator.git
-
Build and run the cache simulator program.
-
Follow the on-screen instructions to specify the cache mapping technique and associativity level (n).
-
Load data into the cache using the on-screen instructions.
-
Search for data in the cache using the on-screen instructions.
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 to this cache simulator project are welcome! If you have any improvements or bug fixes, feel free to submit a pull request.
This project is licensed under the MIT License.