- Make sure that java is installed
- Change directory to the source directory
cd src
- Compile the files
javac *.java
- Run the code using the template
java Main coherence <protocol> <input_file> <cache_size> <associativity> <block_size>
For example
java Main coherence MESI fluidanimate 4096 2 32