Cache simulation project I made in university
Run "CacheSimulation.exe" preferably using visual studio 2019 or compile main.cpp in any compiler
Press "ctrl + f5" in visual studio 2019 to compile and run main.cpp
Enter number of sets in the cache
Enter number of blocks in a set
Enter number of bytes in a block
Enter "LRU" for LRU strategy or "FIFO" for FIFO strategy
Wait..
It will display the hit rates as decimals
Press 'y' to coninue or 'n' to exit