Simulating the cache coherance protocol MSI, MESI and MOESI.
Setting the Parameters for Cache Simulators:
- Set L2_SETS and L2_WAYS in L2.h
- Set L3_SETS and L3_WAYS in LLC.h
- Set queue_size and res_queue_size in L2.h
- Number of Cores can be given while running executable.
Steps to run the project:
1. To build the project run make command in the terminal. This will generate 3 executables msi, mesi and moesi.
2. Run the required executable like ./executable CORE_COUNT TRACE_FILE
for ex: > ./msi 8 trace_file