File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 13
13
init(memory[2]) := 0sd32_0;
14
14
init(oldest) := 0;
15
15
init(state) := 0;
16
- init(sleep) := 0sd1_0 ;
16
+ init(sleep) := 0sd1_1 ;
17
17
init(cpu_temperature) := 0sd32_0;
18
18
init(sensor_temperature) := 0sd32_0;
19
19
@@ -72,10 +72,11 @@ SPEC AX(state = 5 -> sleep = 0sd1_1);
72
72
73
73
-- When the sensor is not sleeping, then the ISR is executed.
74
74
75
- LTLSPEC (sleep = 0sd1_1 | state != 0) U (sleep = 0sd1_1)
75
+ SPEC AG (sleep = 0sd1_0 -> state != 0) -- state != 0) U (sleep = 0sd1_1)
76
76
77
77
-- If the ISR is not executed, then the sensor is sleeping.
78
78
79
+ SPEC AG (state = 0 -> sleep = 0sd1_1);
79
80
LTLSPEC (state = 0 | sleep = 0sd1_1) U (state != 0)
80
81
81
82
-- When the ISR is not executed, then the value of memory at the previous value of oldest is equal to cpu.temperature.
You can’t perform that action at this time.
0 commit comments