This simulator is designed for the final project of Win2021 University of Michigan EECS570 course. It is an interactive web-based simulator that supports snoop-based MSI, snoop-based MESI and directory-based MSI cache coherence protocols.
Please make sure you use Ubuntu 18.04 LTS for setting up the server. And please make sure you have Python3 installed.
Clone the repository. In the repo directory:
cd ./www
sudo apt-get install nodejs npm
npm install .
In the repo directory:
cd ./www
npm start
On the same computer as the server, open a browser window and visit http://localhost:3000. Now you can play with the simulator!