UniTO/anno3/vpc/consegne/3/prova.smv
2024-10-29 09:11:05 +01:00

15 lines
No EOL
315 B
Text
Executable file

MODULE main
VAR
request: boolean;
status: {ready, busy};
ASSIGN
init(status) := ready;
next(status) := case
request: busy;
TRUE: {ready, busy};
esac;
LTLSPEC
G(request -> F status=busy)
LTLSPEC
G(request -> F status=ready)