This is a Cache simulator developer as a Course project under ES215: Computer Organisation and Organisation. It demonstrates some of the different replacement, and mapping policies that the actual CPUs implement. The trace file used in the project is project has its reference here
CacheSize(in bytes) input the power of 2.BlockSize(in byter) in power of two.Associativityin multiple of two.PoliciescurrentlyLRUandFIFOis supported by this simulator. Future scope of the project can be to make it compatible with other policies as well.
CacheSize,BlockSize,Associativity,Replacement PolicyAccess Data:ReadandWriteAccessCompulsory misses,Conflict misses,Capacity missed,Read misses,Write misses.Dirty Blocks evicted
- To run this project in the local environment, you must have python and necessary libraries installed.
- Use:
python3 main.pyto run the file in local environment after cloning the github repository. - Output file named as
output.txtwill be created.
- The project is now also hosted using Flask.