- CMake
- C++ compiler with C++20 support
- Spin (for verification only)
Go to the project root directory and execute the following commands:
cmake -S . -B build/debug
cmake --build build/debug
- Concurrency
- Mutual Exclusion
Let's assume that the file with a model is named model.pml
.
- To generate source code for the verifier, execute the command
spin -a model.pml
. - Execute
cc -o pan pan.c
to build the verifier. - Run the verifier with the command
./pan
. - If the verification run reports an error, execute the following command to
get more information about it:
spin -t -p model.pml
.