Skip to content

Commit

Permalink
fixed readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ianno committed Nov 5, 2014
1 parent 6478511 commit cfc7d01
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,21 @@ The model sets a simple state machine, a non-deterministic environment and
a set of 4 LTL properties are verified.

The LTL properties are:
1. (x == ENABLE) -> <> (state == OFF)
2. []((x == DISABLE) -> <>(state == OFF))
3. [](count == 0) -> <>(state == OFF)
4. []( (state == HOLD) -> ((x != DISABLE) && (x != RESUME) )) -> <>(state == STANDBY)
1. `(x == ENABLE) -> <> (state == OFF) `
2. `[]((x == DISABLE) -> <>(state == OFF)) `
3. `[](count == 0) -> <>(state == OFF)`
4. `[]( (state == HOLD) -> ((x != DISABLE) && (x != RESUME) )) -> <>(state == STANDBY) `

To compile and verify the model you can use 'ispin' (SPIN graphical environment),
or, using the command line, with:

- spin -a cruise.pml
- gcc -o pan pan.c
- ./pan -N p1 (for property p1)
- ./pan -N p2 (for property p2)
- `spin -a cruise.pml`
- `gcc -o pan pan.c`
- `./pan -N p1 (for property p1)`
- `./pan -N p2 (for property p2)`
- ...

Author: Antonio Iannopollo

Email: [email protected]

0 comments on commit cfc7d01

Please sign in to comment.