Monday:
- First download and install SPIN (including iSPIN)
- Windows (My solution)
- Start with the simple steps in GettingStarted
Tuesday:
- Continue with exercises 1a to 1h
- Model a system with three processes (A, B and C)
- Initialize all processes.
- They send message from A -> B -> C -> A ...
- They may communicate on different channels or on one channel, where the first data field is the intended receiver.
- Each process receives an integer and increments it by one before sending it to the next process.
SPIN hand-in:
Dekker's algorithm from page 204 of the slides
- Implement the algorithm with two processes
- Check relevant properties
- Extend the algorithm in some way to three processes
- Check relevant properties
- Describe your findings in a pdf document
- Send two models and a pdf file to kgl@cs.aau.dk and ulrik@cs.aau.dk by the 22nd of February
Basic_Spin_Manual.pdf
Online version: http://spinroot.com/spin/Man/Manual.html