Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec / test / src / kind_fmcad08 / large / microwave33.lus @ 22fe1c93

History | View | Annotate | Download (43.3 KB)

1
node top(KP_START: bool; 
2
      KP_CLEAR: bool; 
3
      KP_0: bool; 
4
      KP_1: bool; 
5
      KP_2: bool; 
6
      KP_3: bool; 
7
      KP_4: bool; 
8
      KP_5: bool; 
9
      KP_6: bool; 
10
      KP_7: bool; 
11
      KP_8: bool; 
12
      KP_9: bool; 
13
      DOOR_CLOSED: bool
14
) returns (OK:bool);
15

    
16
   
17
var
18
   LEFT_DIGIT: int; 
19
      SETUP: bool; 
20
      COOKING: bool; 
21
      SUSPENDED: bool; 
22
      START_PRESSED: bool; 
23
      CLEAR_PRESSED: bool; 
24
      MIDDLE_DIGIT: int; 
25
      RIGHT_DIGIT: int; 
26
      enable: bool; 
27
      STEPS_TO_COOK: int;
28
      
29
   rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock: bool; 
30
   KP_01: bool; 
31
   KP_11: bool; 
32
   KP_21: bool; 
33
   KP_31: bool; 
34
   KP_41: bool; 
35
   KP_51: bool; 
36
   KP_61: bool; 
37
   KP_71: bool; 
38
   KP_81: bool; 
39
   KP_91: bool; 
40
   rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step: bool; 
41
   microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY: int; 
42
   microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY: int; 
43
   microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY: int; 
44
   rlt__Arrow5: int; 
45
   rlt__Arrow4: int; 
46
   rlt__Arrow3: int; 
47
   rlt__Arrow2: int; 
48
   rlt__Arrow1: int; 
49
   rlt__Arrow: int; 
50
   chart_microwave_mode_logic_start: int; 
51
   chart_microwave_mode_logic_clear_off: int; 
52
   chart_microwave_mode_logic_door_closed: int; 
53
   chart_microwave_mode_logic____wakeup___: bool; 
54
   rlt_eval_microwave_mode_logic_ON_rlt_fired_1: bool; 
55
   rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root: int; 
56
   rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root: int; 
57
   rlt_eval_microwave_mode_logic_ON_rlt_fired_2: bool; 
58
   rlt_eval_microwave_mode_logic_ON_rlt_complete_1: bool; 
59
   rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root: int; 
60
   rlt_eval_microwave_mode_logic_ON_rlt_state_3_outports_mode: int; 
61
   rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root: int; 
62
   rlt_eval_microwave_mode_logic_ON_rlt_state_4_outports_mode: int; 
63
   rlt_eval_microwave_mode_logic_ON_rlt_fired_4: bool; 
64
   rlt_eval_microwave_mode_logic_ON_rlt_complete_2: bool; 
65
   rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root: int; 
66
   rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining: int; 
67
   rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root: int; 
68
   rlt_eval_microwave_mode_logic_ON_rlt_fired_5: bool; 
69
   rlt_eval_microwave_mode_logic_ON_rlt_state_8_outports_mode: int; 
70
   rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root: int; 
71
   rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root: int; 
72
   rlt_eval_microwave_mode_logic_ON_rlt_fired_6: bool; 
73
   rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root: int; 
74
   rlt_eval_microwave_mode_logic_ON_rlt_state_11_outports_mode: int; 
75
   rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root: int; 
76
   rlt_enter_microwave_mode_logic_ON_rlt_fired_0: bool; 
77
   rlt_enter_microwave_mode_logic_ON_rlt_fired_1: bool; 
78
   rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root: int; 
79
   rlt_enter_microwave_mode_logic_ON_rlt_state_2_outports_mode: int; 
80
   rlt_enter_microwave_mode_logic_ON_rlt_fired_2: bool; 
81
   rlt_enter_microwave_mode_logic_ON_rlt_state_4_states___root: int; 
82
   rlt_eval_microwave_mode_logic_rlt_fired_0: bool; 
83
   rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining: int; 
84
   rlt_eval_microwave_mode_logic_rlt_fired_1: bool; 
85
   rlt_eval_microwave_mode_logic_rlt_state_2_states___root: int; 
86
   rlt_eval_microwave_mode_logic_rlt_state_3_states___root: int; 
87
   rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode: int; 
88
   rlt_enter_microwave_mode_logic_rlt_state_2_states___root: int; 
89
   chart_microwave_mode_logic_rlt_evtInitStep: bool; 
90
   chart_microwave_mode_logic_begin_state_states___root: int; 
91
   chart_microwave_mode_logic_begin_state_outports_mode: int; 
92
   chart_microwave_mode_logic_begin_state_outports_steps_remaining: int; 
93
   chart_microwave_mode_logic_final_state_states___root: int; 
94
   chart_microwave_mode_logic_mode: int; 
95
   chart_microwave_mode_logic_steps_remaining: int; 
96
   microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_MINUTES__QUOTIENT: int; 
97
   microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_TENS__QUOTIENT: int; 
98
   microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_TENS__REMAINDER: int; 
99
   microwave_microwave_mode_logic_mode: int; 
100
   MWI_FcnMaxI_In16: int; 
101
   MWI_FcnMaxI_In15: int; 
102
   MWI_FcnMaxI_In13: int; 
103
   MWI_FcnMaxI_In12: int; 
104
   MWI_FcnMaxI_In11: int; 
105
   MWI_FcnMaxI_In1: int; 
106
   p31: bool; 
107
   p32: bool; 
108
   p33: bool; 
109
   p34: bool; 
110
   p35: bool; 
111
   p36: bool; 
112
   p37: bool; 
113
let 
114
   rlt__Arrow5 = (639 -> 
115
      (if (not (not SETUP))
116
         then 
117
               (if (MWI_FcnMaxI_In13 > 0)
118
                  then MWI_FcnMaxI_In13
119
                  else 0)
120
         else 639));
121

    
122
   rlt__Arrow4 = (639 -> 
123
      (if (not SUSPENDED)
124
         then 
125
               (if (MWI_FcnMaxI_In12 > 0)
126
                  then MWI_FcnMaxI_In12
127
                  else 0)
128
         else 639));
129

    
130
   rlt__Arrow3 = (639 -> 
131
      (if (not (not COOKING))
132
         then 
133
               (if (MWI_FcnMaxI_In16 > 0)
134
                  then MWI_FcnMaxI_In16
135
                  else 0)
136
         else 639));
137

    
138
   rlt__Arrow2 = (639 -> 
139
      (if (not (not SUSPENDED))
140
         then 
141
               (if (MWI_FcnMaxI_In15 > 0)
142
                  then MWI_FcnMaxI_In15
143
                  else 0)
144
         else 639));
145

    
146
   rlt__Arrow1 = (639 -> 
147
      (if (not COOKING)
148
         then 
149
               (if (MWI_FcnMaxI_In11 > 0)
150
                  then MWI_FcnMaxI_In11
151
                  else 0)
152
         else 639));
153

    
154
   rlt__Arrow = (639 -> 
155
      (if (not SETUP)
156
         then 
157
               (if (MWI_FcnMaxI_In1 > 0)
158
                  then MWI_FcnMaxI_In1
159
                  else 0)
160
         else 639));
161

    
162

    
163

    
164
   p35 = (true -> ((not (enable and 
165
      (not KP_CLEAR))) or 
166
      ((not ((KP_8 and 
167
      (not (pre KP_8))) and 
168
      ((not (KP_7 and 
169
      (not (pre KP_7)))) and 
170
      ((not (KP_6 and 
171
      (not (pre KP_6)))) and 
172
      ((not (KP_5 and 
173
      (not (pre KP_5)))) and 
174
      ((not (KP_4 and 
175
      (not (pre KP_4)))) and 
176
      ((not (KP_3 and 
177
      (not (pre KP_3)))) and 
178
      ((not (KP_2 and 
179
      (not (pre KP_2)))) and 
180
      ((not (KP_1 and 
181
      (not (pre KP_1)))) and 
182
      (not (KP_0 and 
183
      (not (pre KP_0))))))))))))) or 
184
      (RIGHT_DIGIT = 8))));
185

    
186
   p33 = (true -> ((not (enable and 
187
      (not KP_CLEAR))) or 
188
      ((not ((KP_6 and 
189
      (not (pre KP_6))) and 
190
      ((not (KP_5 and 
191
      (not (pre KP_5)))) and 
192
      ((not (KP_4 and 
193
      (not (pre KP_4)))) and 
194
      ((not (KP_3 and 
195
      (not (pre KP_3)))) and 
196
      ((not (KP_2 and 
197
      (not (pre KP_2)))) and 
198
      ((not (KP_1 and 
199
      (not (pre KP_1)))) and 
200
      (not (KP_0 and 
201
      (not (pre KP_0))))))))))) or 
202
      (RIGHT_DIGIT = 6))));
203

    
204
   MIDDLE_DIGIT = microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_TENS__QUOTIENT;
205

    
206
   RIGHT_DIGIT = microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_TENS__REMAINDER;
207

    
208

    
209

    
210
   p36 = (true -> ((not (enable and 
211
      (not KP_CLEAR))) or 
212
      ((not ((KP_9 and 
213
      (not (pre KP_9))) and 
214
      ((not (KP_8 and 
215
      (not (pre KP_8)))) and 
216
      ((not (KP_7 and 
217
      (not (pre KP_7)))) and 
218
      ((not (KP_6 and 
219
      (not (pre KP_6)))) and 
220
      ((not (KP_5 and 
221
      (not (pre KP_5)))) and 
222
      ((not (KP_4 and 
223
      (not (pre KP_4)))) and 
224
      ((not (KP_3 and 
225
      (not (pre KP_3)))) and 
226
      ((not (KP_2 and 
227
      (not (pre KP_2)))) and 
228
      ((not (KP_1 and 
229
      (not (pre KP_1)))) and 
230
      (not (KP_0 and 
231
      (not (pre KP_0)))))))))))))) or 
232
      (RIGHT_DIGIT = 9))));
233

    
234
   MWI_FcnMaxI_In1 = ((pre rlt__Arrow) - 1);
235

    
236
   CLEAR_PRESSED = (KP_CLEAR -> (KP_CLEAR and 
237
      (not (pre KP_CLEAR))));
238

    
239
   microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_MINUTES__QUOTIENT = ((chart_microwave_mode_logic_steps_remaining div 1) div 60);
240

    
241
   microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_TENS__REMAINDER = (((chart_microwave_mode_logic_steps_remaining div 1) - (((chart_microwave_mode_logic_steps_remaining div 1) div 60) * 60)) - ((((chart_microwave_mode_logic_steps_remaining div 1) - (((chart_microwave_mode_logic_steps_remaining div 1) div 60) * 60)) div 10) * 10));
242

    
243
   SUSPENDED = 
244
      (if (3 = microwave_microwave_mode_logic_mode)
245
         then true
246
         else false);
247

    
248
   p31 = (true -> ((not (enable and 
249
      (not KP_CLEAR))) or 
250
      ((not ((KP_4 and 
251
      (not (pre KP_4))) and 
252
      ((not (KP_3 and 
253
      (not (pre KP_3)))) and 
254
      ((not (KP_2 and 
255
      (not (pre KP_2)))) and 
256
      ((not (KP_1 and 
257
      (not (pre KP_1)))) and 
258
      (not (KP_0 and 
259
      (not (pre KP_0))))))))) or 
260
      (RIGHT_DIGIT = 4))));
261

    
262
   p37 = (true -> ((not (enable and 
263
      (not KP_CLEAR))) or 
264
      (((((((((((KP_1 and 
265
      (not (pre KP_1))) or 
266
      (KP_2 and 
267
      (not (pre KP_2)))) or 
268
      (KP_3 and 
269
      (not (pre KP_3)))) or 
270
      (KP_4 and 
271
      (not (pre KP_4)))) or 
272
      (KP_5 and 
273
      (not (pre KP_5)))) or 
274
      (KP_6 and 
275
      (not (pre KP_6)))) or 
276
      (KP_7 and 
277
      (not (pre KP_7)))) or 
278
      (KP_8 and 
279
      (not (pre KP_8)))) or 
280
      (KP_9 and 
281
      (not (pre KP_9)))) or 
282
      (KP_0 and 
283
      (not (pre KP_0)))) or 
284
      (RIGHT_DIGIT = (pre RIGHT_DIGIT)))));
285

    
286
   MWI_FcnMaxI_In11 = ((pre rlt__Arrow1) - 1);
287

    
288
   MWI_FcnMaxI_In15 = ((pre rlt__Arrow2) - 1);
289

    
290

    
291

    
292

    
293
   microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_TENS__QUOTIENT = (((chart_microwave_mode_logic_steps_remaining div 1) - (((chart_microwave_mode_logic_steps_remaining div 1) div 60) * 60)) div 10);
294

    
295
   MWI_FcnMaxI_In16 = ((pre rlt__Arrow3) - 1);
296

    
297

    
298
   MWI_FcnMaxI_In12 = ((pre rlt__Arrow4) - 1);
299

    
300

    
301
   OK = (true -> ((not (enable and 
302
      (not KP_CLEAR))) or 
303
      ((not ((KP_3 and 
304
      (not (pre KP_3))) and 
305
      ((not (KP_2 and 
306
      (not (pre KP_2)))) and 
307
      ((not (KP_1 and 
308
      (not (pre KP_1)))) and 
309
      (not (KP_0 and 
310
      (not (pre KP_0)))))))) or 
311
      (RIGHT_DIGIT = 3))));
312

    
313
   COOKING = 
314
      (if (2 = microwave_microwave_mode_logic_mode)
315
         then true
316
         else false);
317

    
318
   LEFT_DIGIT = microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_MINUTES__QUOTIENT;
319

    
320
   START_PRESSED = (KP_START -> (KP_START and 
321
      (not (pre KP_START))));
322

    
323
   chart_microwave_mode_logic_start = 
324
      (if (START_PRESSED = false)
325
         then 0
326
         else 1);
327

    
328
   chart_microwave_mode_logic_clear_off = 
329
      (if (CLEAR_PRESSED = false)
330
         then 0
331
         else 1);
332

    
333
   chart_microwave_mode_logic_door_closed = 
334
      (if (DOOR_CLOSED = false)
335
         then 0
336
         else 1);
337

    
338
   chart_microwave_mode_logic____wakeup___ = true;
339

    
340
   chart_microwave_mode_logic_rlt_evtInitStep = (true -> 
341
      (if (pre chart_microwave_mode_logic____wakeup___)
342
         then false
343
         else (pre chart_microwave_mode_logic_rlt_evtInitStep)));
344

    
345
   chart_microwave_mode_logic_begin_state_states___root = (0 -> (pre chart_microwave_mode_logic_final_state_states___root));
346

    
347
   chart_microwave_mode_logic_begin_state_outports_mode = (0 -> (pre chart_microwave_mode_logic_mode));
348

    
349
   chart_microwave_mode_logic_begin_state_outports_steps_remaining = (0 -> (pre chart_microwave_mode_logic_steps_remaining));
350

    
351
   chart_microwave_mode_logic_final_state_states___root = 
352
      (if chart_microwave_mode_logic____wakeup___
353
         then 
354
               (if chart_microwave_mode_logic_rlt_evtInitStep
355
                  then rlt_enter_microwave_mode_logic_rlt_state_2_states___root
356
                  else 
357
               (if ((not rlt_eval_microwave_mode_logic_rlt_fired_1) and 
358
                  
359
                  
360
                  ((rlt_eval_microwave_mode_logic_rlt_state_3_states___root >= 1) and 
361
                  (rlt_eval_microwave_mode_logic_rlt_state_3_states___root <= 3)))
362
                  then 
363
                        (if rlt_eval_microwave_mode_logic_ON_rlt_fired_6
364
                           then 
365
                                 (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root = 3))
366
                                    then 
367
                                          
368
                                          3
369
                                    else rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root)
370
                           else rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root)
371
                  else rlt_eval_microwave_mode_logic_rlt_state_3_states___root))
372
         else chart_microwave_mode_logic_begin_state_states___root);
373

    
374
   chart_microwave_mode_logic_mode = 
375
      (if chart_microwave_mode_logic____wakeup___
376
         then 
377
               (if chart_microwave_mode_logic_rlt_evtInitStep
378
                  then 
379
                        (if (not (chart_microwave_mode_logic_begin_state_states___root = 4))
380
                           then 1
381
                           else chart_microwave_mode_logic_begin_state_outports_mode)
382
                  else 
383
               (if ((not rlt_eval_microwave_mode_logic_rlt_fired_1) and 
384
                  
385
                  
386
                  ((rlt_eval_microwave_mode_logic_rlt_state_3_states___root >= 1) and 
387
                  (rlt_eval_microwave_mode_logic_rlt_state_3_states___root <= 3)))
388
                  then 
389
                        (if rlt_eval_microwave_mode_logic_ON_rlt_fired_6
390
                           then 
391
                                 (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root = 3))
392
                                    then 3
393
                                    else rlt_eval_microwave_mode_logic_ON_rlt_state_11_outports_mode)
394
                           else rlt_eval_microwave_mode_logic_ON_rlt_state_11_outports_mode)
395
                  else rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode))
396
         else chart_microwave_mode_logic_begin_state_outports_mode);
397

    
398
   chart_microwave_mode_logic_steps_remaining = 
399
      (if chart_microwave_mode_logic____wakeup___
400
         then 
401
               (if chart_microwave_mode_logic_rlt_evtInitStep
402
                  then chart_microwave_mode_logic_begin_state_outports_steps_remaining
403
                  else 
404
               (if ((not rlt_eval_microwave_mode_logic_rlt_fired_1) and 
405
                  
406
                  
407
                  ((rlt_eval_microwave_mode_logic_rlt_state_3_states___root >= 1) and 
408
                  (rlt_eval_microwave_mode_logic_rlt_state_3_states___root <= 3)))
409
                  then 
410
                        (if rlt_eval_microwave_mode_logic_ON_rlt_fired_5
411
                           then (rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining - 1)
412
                           else rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining)
413
                  else rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining))
414
         else chart_microwave_mode_logic_begin_state_outports_steps_remaining);
415

    
416
   
417
   
418
   rlt_eval_microwave_mode_logic_rlt_fired_0 = (chart_microwave_mode_logic_begin_state_states___root = 4);
419

    
420
   
421
   
422
   rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining = 
423
      (if rlt_eval_microwave_mode_logic_rlt_fired_0
424
         then STEPS_TO_COOK
425
         else chart_microwave_mode_logic_begin_state_outports_steps_remaining);
426

    
427
   
428
   
429
   rlt_eval_microwave_mode_logic_rlt_fired_1 = (rlt_eval_microwave_mode_logic_rlt_fired_0 and 
430
      ((chart_microwave_mode_logic_begin_state_states___root = 4) and 
431
      (
432
      (if (chart_microwave_mode_logic_start <> 0)
433
         then true
434
         else false) and 
435
      
436
      (if (
437
         (if ((STEPS_TO_COOK > 0) = false)
438
            then 0
439
            else 1) <> 0)
440
         then true
441
         else false))));
442

    
443
   
444
   
445
   rlt_eval_microwave_mode_logic_rlt_state_2_states___root = 
446
      (if rlt_eval_microwave_mode_logic_rlt_fired_1
447
         then 
448
               (if (chart_microwave_mode_logic_begin_state_states___root = 4)
449
                  then 
450
                        
451
                        0
452
                  else chart_microwave_mode_logic_begin_state_states___root)
453
         else chart_microwave_mode_logic_begin_state_states___root);
454

    
455
   
456
   
457
   rlt_eval_microwave_mode_logic_rlt_state_3_states___root = 
458
      (if rlt_eval_microwave_mode_logic_rlt_fired_1
459
         then rlt_enter_microwave_mode_logic_ON_rlt_state_4_states___root
460
         else rlt_eval_microwave_mode_logic_rlt_state_2_states___root);
461
   
462
   
463

    
464
   
465
   
466
   rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode = 
467
      (if rlt_eval_microwave_mode_logic_rlt_fired_1
468
         then 
469
               (if rlt_enter_microwave_mode_logic_ON_rlt_fired_2
470
                  then 
471
                        (if (not (rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root = 3))
472
                           then 3
473
                           else rlt_enter_microwave_mode_logic_ON_rlt_state_2_outports_mode)
474
                  else rlt_enter_microwave_mode_logic_ON_rlt_state_2_outports_mode)
475
         else chart_microwave_mode_logic_begin_state_outports_mode);
476
   
477
   
478

    
479
   
480
   
481
   rlt_eval_microwave_mode_logic_ON_rlt_fired_1 = (((rlt_eval_microwave_mode_logic_rlt_state_3_states___root = 2) and 
482
      (rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining <= 0)) and 
483
      (rlt_eval_microwave_mode_logic_rlt_state_3_states___root = 2));
484

    
485
   
486
   
487
   rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root = 
488
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_1
489
         then 
490
               (if 
491
                  
492
                  ((rlt_eval_microwave_mode_logic_rlt_state_3_states___root >= 1) and 
493
                  (rlt_eval_microwave_mode_logic_rlt_state_3_states___root <= 3))
494
                  then 
495
                        
496
                        0
497
                  else rlt_eval_microwave_mode_logic_rlt_state_3_states___root)
498
         else rlt_eval_microwave_mode_logic_rlt_state_3_states___root);
499

    
500
   
501
   
502
   rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root = 
503
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_1
504
         then 
505
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root = 4))
506
                  then 
507
                        
508
                        4
509
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root)
510
         else rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root);
511
   
512
   
513

    
514
   
515
   
516
   rlt_eval_microwave_mode_logic_ON_rlt_fired_2 = ((rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root = 3) and 
517
      ((
518
      (if (chart_microwave_mode_logic_start <> 0)
519
         then true
520
         else false) and 
521
      
522
      (if (chart_microwave_mode_logic_door_closed <> 0)
523
         then true
524
         else false)) and 
525
      (not rlt_eval_microwave_mode_logic_ON_rlt_fired_1)));
526

    
527
   
528
   
529
   rlt_eval_microwave_mode_logic_ON_rlt_complete_1 = (rlt_eval_microwave_mode_logic_ON_rlt_fired_2 or 
530
      rlt_eval_microwave_mode_logic_ON_rlt_fired_1);
531

    
532
   
533
   
534
   rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root = 
535
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_2
536
         then 
537
               (if (rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root = 3)
538
                  then 
539
                        
540
                        1
541
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root)
542
         else rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root);
543

    
544
   
545
   
546
   rlt_eval_microwave_mode_logic_ON_rlt_state_3_outports_mode = 
547
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_1
548
         then 
549
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root = 4))
550
                  then 1
551
                  else rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode)
552
         else rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode);
553

    
554
   
555
   
556
   rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root = 
557
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_2
558
         then 
559
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root = 2))
560
                  then 
561
                        
562
                        2
563
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root)
564
         else rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root);
565
   
566
   
567

    
568
   
569
   
570
   rlt_eval_microwave_mode_logic_ON_rlt_state_4_outports_mode = 
571
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_2
572
         then 
573
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root = 2))
574
                  then 2
575
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_3_outports_mode)
576
         else rlt_eval_microwave_mode_logic_ON_rlt_state_3_outports_mode);
577
   
578
   
579

    
580
   
581
   
582
   rlt_eval_microwave_mode_logic_ON_rlt_fired_4 = (((rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root = 3) and 
583
      (
584
      (if (chart_microwave_mode_logic_clear_off <> 0)
585
         then true
586
         else false) and 
587
      (not rlt_eval_microwave_mode_logic_ON_rlt_complete_1))) and 
588
      ((rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root = 3) and 
589
      (not rlt_eval_microwave_mode_logic_ON_rlt_complete_1)));
590

    
591
   
592
   
593
   rlt_eval_microwave_mode_logic_ON_rlt_complete_2 = (rlt_eval_microwave_mode_logic_ON_rlt_fired_4 or 
594
      rlt_eval_microwave_mode_logic_ON_rlt_complete_1);
595

    
596
   
597
   
598
   rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root = 
599
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_4
600
         then 
601
               (if 
602
                  
603
                  ((rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root >= 1) and 
604
                  (rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root <= 3))
605
                  then 
606
                        
607
                        0
608
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root)
609
         else rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root);
610

    
611
   
612
   
613
   rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining = 
614
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_4
615
         then 0
616
         else rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining);
617

    
618
   
619
   
620
   rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root = 
621
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_4
622
         then 
623
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root = 4))
624
                  then 
625
                        
626
                        4
627
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root)
628
         else rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root);
629
   
630
   
631

    
632
   
633
   
634
   rlt_eval_microwave_mode_logic_ON_rlt_fired_5 = ((rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root = 2) and 
635
      ((rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining > 0) and 
636
      (not rlt_eval_microwave_mode_logic_ON_rlt_complete_2)));
637

    
638
   
639
   
640
   rlt_eval_microwave_mode_logic_ON_rlt_state_8_outports_mode = 
641
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_4
642
         then 
643
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root = 4))
644
                  then 1
645
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_4_outports_mode)
646
         else rlt_eval_microwave_mode_logic_ON_rlt_state_4_outports_mode);
647

    
648
   
649
   
650
   rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root = 
651
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_5
652
         then 
653
               (if (rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root = 2)
654
                  then 
655
                        
656
                        1
657
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root)
658
         else rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root);
659

    
660
   
661
   
662
   rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root = 
663
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_5
664
         then 
665
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root = 2))
666
                  then 
667
                        
668
                        2
669
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root)
670
         else rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root);
671
   
672
   
673

    
674
   
675
   
676
   rlt_eval_microwave_mode_logic_ON_rlt_fired_6 = ((rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root = 2) and 
677
      ((
678
      (if (chart_microwave_mode_logic_clear_off <> 0)
679
         then true
680
         else false) or 
681
      (not 
682
      (if (chart_microwave_mode_logic_door_closed <> 0)
683
         then true
684
         else false))) and 
685
      (not (rlt_eval_microwave_mode_logic_ON_rlt_fired_5 or 
686
      rlt_eval_microwave_mode_logic_ON_rlt_complete_2))));
687

    
688
   
689
   
690
   rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root = 
691
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_6
692
         then 
693
               (if (rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root = 2)
694
                  then 
695
                        
696
                        1
697
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root)
698
         else rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root);
699

    
700
   
701
   
702
   rlt_eval_microwave_mode_logic_ON_rlt_state_11_outports_mode = 
703
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_5
704
         then 
705
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root = 2))
706
                  then 2
707
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_8_outports_mode)
708
         else rlt_eval_microwave_mode_logic_ON_rlt_state_8_outports_mode);
709

    
710
   rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root = 
711
      (if (not 
712
         
713
         ((rlt_eval_microwave_mode_logic_rlt_state_2_states___root >= 1) and 
714
         (rlt_eval_microwave_mode_logic_rlt_state_2_states___root <= 3)))
715
         then 
716
               
717
               1
718
         else rlt_eval_microwave_mode_logic_rlt_state_2_states___root);
719

    
720
   
721
   
722
   rlt_enter_microwave_mode_logic_ON_rlt_fired_0 = ((not 
723
      
724
      ((rlt_eval_microwave_mode_logic_rlt_state_2_states___root >= 1) and 
725
      (rlt_eval_microwave_mode_logic_rlt_state_2_states___root <= 3))) and 
726
      
727
      
728
      ((rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root >= 1) and 
729
      (rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root <= 3)));
730

    
731
   
732
   
733
   rlt_enter_microwave_mode_logic_ON_rlt_fired_1 = (rlt_enter_microwave_mode_logic_ON_rlt_fired_0 and 
734
      (
735
      
736
      ((rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root >= 1) and 
737
      (rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root <= 3)) and 
738
      
739
      (if (chart_microwave_mode_logic_door_closed <> 0)
740
         then true
741
         else false)));
742

    
743
   
744
   
745
   rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root = 
746
      (if rlt_enter_microwave_mode_logic_ON_rlt_fired_1
747
         then 
748
               (if (not (rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root = 2))
749
                  then 
750
                        
751
                        2
752
                  else rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root)
753
         else rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root);
754
   
755
   
756

    
757
   
758
   
759
   rlt_enter_microwave_mode_logic_ON_rlt_state_2_outports_mode = 
760
      (if rlt_enter_microwave_mode_logic_ON_rlt_fired_1
761
         then 
762
               (if (not (rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root = 2))
763
                  then 2
764
                  else chart_microwave_mode_logic_begin_state_outports_mode)
765
         else chart_microwave_mode_logic_begin_state_outports_mode);
766
   
767
   
768

    
769
   
770
   
771
   rlt_enter_microwave_mode_logic_ON_rlt_fired_2 = (rlt_enter_microwave_mode_logic_ON_rlt_fired_0 and 
772
      (
773
      
774
      ((rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root >= 1) and 
775
      (rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root <= 3)) and 
776
      (not rlt_enter_microwave_mode_logic_ON_rlt_fired_1)));
777

    
778
   
779
   
780
   rlt_enter_microwave_mode_logic_ON_rlt_state_4_states___root = 
781
      (if rlt_enter_microwave_mode_logic_ON_rlt_fired_2
782
         then 
783
               (if (not (rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root = 3))
784
                  then 
785
                        
786
                        3
787
                  else rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root)
788
         else rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root);
789
   
790
   
791

    
792
   
793
   
794
   rlt_enter_microwave_mode_logic_rlt_state_2_states___root = 
795
      (if (not (chart_microwave_mode_logic_begin_state_states___root = 4))
796
         then 
797
               
798
               4
799
         else chart_microwave_mode_logic_begin_state_states___root);
800
   
801
   
802

    
803
   microwave_microwave_mode_logic_mode = chart_microwave_mode_logic_mode;
804

    
805

    
806
   MWI_FcnMaxI_In13 = ((pre rlt__Arrow5) - 1);
807

    
808

    
809
   rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock = enable;
810

    
811
   KP_01 = KP_0;
812

    
813
   KP_11 = KP_1;
814

    
815
   KP_21 = KP_2;
816

    
817
   KP_31 = KP_3;
818

    
819
   KP_41 = KP_4;
820

    
821
   KP_51 = KP_5;
822

    
823
   KP_61 = KP_6;
824

    
825
   KP_71 = KP_7;
826

    
827
   KP_81 = KP_8;
828

    
829
   KP_91 = KP_9;
830

    
831
   microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY = (0 -> 
832
      (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock
833
         then 
834
               (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step
835
                  then 0
836
                  else 
837
               (if KP_CLEAR
838
                  then 0
839
                  else 
840
               (if 
841
                  (if (
842
                     (if (KP_01 and 
843
                        (not (pre KP_01)))
844
                        then 0
845
                        else 
846
                     (if (KP_11 and 
847
                        (not (pre KP_11)))
848
                        then 1
849
                        else 
850
                     (if (KP_21 and 
851
                        (not (pre KP_21)))
852
                        then 2
853
                        else 
854
                     (if (KP_31 and 
855
                        (not (pre KP_31)))
856
                        then 3
857
                        else 
858
                     (if (KP_41 and 
859
                        (not (pre KP_41)))
860
                        then 4
861
                        else 
862
                     (if (KP_51 and 
863
                        (not (pre KP_51)))
864
                        then 5
865
                        else 
866
                     (if (KP_61 and 
867
                        (not (pre KP_61)))
868
                        then 6
869
                        else 
870
                     (if (KP_71 and 
871
                        (not (pre KP_71)))
872
                        then 7
873
                        else 
874
                     (if (KP_81 and 
875
                        (not (pre KP_81)))
876
                        then 8
877
                        else 
878
                     (if (KP_91 and 
879
                        (not (pre KP_91)))
880
                        then 9
881
                        else 10)))))))))) <= 9)
882
                     then true
883
                     else false)
884
                  then (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY)
885
                  else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY))))
886
         else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY)));
887

    
888
   microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY = (0 -> 
889
      (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock
890
         then 
891
               (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step
892
                  then 0
893
                  else 
894
               (if KP_CLEAR
895
                  then 0
896
                  else 
897
               (if 
898
                  (if (
899
                     (if (KP_01 and 
900
                        (not (pre KP_01)))
901
                        then 0
902
                        else 
903
                     (if (KP_11 and 
904
                        (not (pre KP_11)))
905
                        then 1
906
                        else 
907
                     (if (KP_21 and 
908
                        (not (pre KP_21)))
909
                        then 2
910
                        else 
911
                     (if (KP_31 and 
912
                        (not (pre KP_31)))
913
                        then 3
914
                        else 
915
                     (if (KP_41 and 
916
                        (not (pre KP_41)))
917
                        then 4
918
                        else 
919
                     (if (KP_51 and 
920
                        (not (pre KP_51)))
921
                        then 5
922
                        else 
923
                     (if (KP_61 and 
924
                        (not (pre KP_61)))
925
                        then 6
926
                        else 
927
                     (if (KP_71 and 
928
                        (not (pre KP_71)))
929
                        then 7
930
                        else 
931
                     (if (KP_81 and 
932
                        (not (pre KP_81)))
933
                        then 8
934
                        else 
935
                     (if (KP_91 and 
936
                        (not (pre KP_91)))
937
                        then 9
938
                        else 10)))))))))) <= 9)
939
                     then true
940
                     else false)
941
                  then (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY)
942
                  else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY))))
943
         else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY)));
944

    
945
   microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY = (
946
      (if KP_CLEAR
947
         then 0
948
         else 
949
      (if 
950
         (if (
951
            (if KP_01
952
               then 0
953
               else 
954
            (if KP_11
955
               then 1
956
               else 
957
            (if KP_21
958
               then 2
959
               else 
960
            (if KP_31
961
               then 3
962
               else 
963
            (if KP_41
964
               then 4
965
               else 
966
            (if KP_51
967
               then 5
968
               else 
969
            (if KP_61
970
               then 6
971
               else 
972
            (if KP_71
973
               then 7
974
               else 
975
            (if KP_81
976
               then 8
977
               else 
978
            (if KP_91
979
               then 9
980
               else 10)))))))))) <= 9)
981
            then true
982
            else false)
983
         then 
984
               (if KP_01
985
                  then 0
986
                  else 
987
               (if KP_11
988
                  then 1
989
                  else 
990
               (if KP_21
991
                  then 2
992
                  else 
993
               (if KP_31
994
                  then 3
995
                  else 
996
               (if KP_41
997
                  then 4
998
                  else 
999
               (if KP_51
1000
                  then 5
1001
                  else 
1002
               (if KP_61
1003
                  then 6
1004
                  else 
1005
               (if KP_71
1006
                  then 7
1007
                  else 
1008
               (if KP_81
1009
                  then 8
1010
                  else 
1011
               (if KP_91
1012
                  then 9
1013
                  else 10))))))))))
1014
         else 0)) -> 
1015
      (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock
1016
         then 
1017
               (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step
1018
                  then 
1019
                        (if KP_CLEAR
1020
                           then 0
1021
                           else 
1022
                        (if 
1023
                           (if (
1024
                              (if KP_01
1025
                                 then 0
1026
                                 else 
1027
                              (if KP_11
1028
                                 then 1
1029
                                 else 
1030
                              (if KP_21
1031
                                 then 2
1032
                                 else 
1033
                              (if KP_31
1034
                                 then 3
1035
                                 else 
1036
                              (if KP_41
1037
                                 then 4
1038
                                 else 
1039
                              (if KP_51
1040
                                 then 5
1041
                                 else 
1042
                              (if KP_61
1043
                                 then 6
1044
                                 else 
1045
                              (if KP_71
1046
                                 then 7
1047
                                 else 
1048
                              (if KP_81
1049
                                 then 8
1050
                                 else 
1051
                              (if KP_91
1052
                                 then 9
1053
                                 else 10)))))))))) <= 9)
1054
                              then true
1055
                              else false)
1056
                           then 
1057
                                 (if KP_01
1058
                                    then 0
1059
                                    else 
1060
                                 (if KP_11
1061
                                    then 1
1062
                                    else 
1063
                                 (if KP_21
1064
                                    then 2
1065
                                    else 
1066
                                 (if KP_31
1067
                                    then 3
1068
                                    else 
1069
                                 (if KP_41
1070
                                    then 4
1071
                                    else 
1072
                                 (if KP_51
1073
                                    then 5
1074
                                    else 
1075
                                 (if KP_61
1076
                                    then 6
1077
                                    else 
1078
                                 (if KP_71
1079
                                    then 7
1080
                                    else 
1081
                                 (if KP_81
1082
                                    then 8
1083
                                    else 
1084
                                 (if KP_91
1085
                                    then 9
1086
                                    else 10))))))))))
1087
                           else 0))
1088
                  else 
1089
               (if KP_CLEAR
1090
                  then 0
1091
                  else 
1092
               (if 
1093
                  (if (
1094
                     (if (KP_01 and 
1095
                        (not (pre KP_01)))
1096
                        then 0
1097
                        else 
1098
                     (if (KP_11 and 
1099
                        (not (pre KP_11)))
1100
                        then 1
1101
                        else 
1102
                     (if (KP_21 and 
1103
                        (not (pre KP_21)))
1104
                        then 2
1105
                        else 
1106
                     (if (KP_31 and 
1107
                        (not (pre KP_31)))
1108
                        then 3
1109
                        else 
1110
                     (if (KP_41 and 
1111
                        (not (pre KP_41)))
1112
                        then 4
1113
                        else 
1114
                     (if (KP_51 and 
1115
                        (not (pre KP_51)))
1116
                        then 5
1117
                        else 
1118
                     (if (KP_61 and 
1119
                        (not (pre KP_61)))
1120
                        then 6
1121
                        else 
1122
                     (if (KP_71 and 
1123
                        (not (pre KP_71)))
1124
                        then 7
1125
                        else 
1126
                     (if (KP_81 and 
1127
                        (not (pre KP_81)))
1128
                        then 8
1129
                        else 
1130
                     (if (KP_91 and 
1131
                        (not (pre KP_91)))
1132
                        then 9
1133
                        else 10)))))))))) <= 9)
1134
                     then true
1135
                     else false)
1136
                  then 
1137
                        (if (KP_01 and 
1138
                           (not (pre KP_01)))
1139
                           then 0
1140
                           else 
1141
                        (if (KP_11 and 
1142
                           (not (pre KP_11)))
1143
                           then 1
1144
                           else 
1145
                        (if (KP_21 and 
1146
                           (not (pre KP_21)))
1147
                           then 2
1148
                           else 
1149
                        (if (KP_31 and 
1150
                           (not (pre KP_31)))
1151
                           then 3
1152
                           else 
1153
                        (if (KP_41 and 
1154
                           (not (pre KP_41)))
1155
                           then 4
1156
                           else 
1157
                        (if (KP_51 and 
1158
                           (not (pre KP_51)))
1159
                           then 5
1160
                           else 
1161
                        (if (KP_61 and 
1162
                           (not (pre KP_61)))
1163
                           then 6
1164
                           else 
1165
                        (if (KP_71 and 
1166
                           (not (pre KP_71)))
1167
                           then 7
1168
                           else 
1169
                        (if (KP_81 and 
1170
                           (not (pre KP_81)))
1171
                           then 8
1172
                           else 
1173
                        (if (KP_91 and 
1174
                           (not (pre KP_91)))
1175
                           then 9
1176
                           else 10))))))))))
1177
                  else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY))))
1178
         else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY)));
1179

    
1180
   STEPS_TO_COOK = (
1181
      (if (rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step and 
1182
         (not rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock))
1183
         then 0
1184
         else ((((microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY * 1) + (microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY * 10)) + (microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY * 60)) * 1)) -> 
1185
      (if (rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step and 
1186
         (not rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock))
1187
         then 0
1188
         else 
1189
      (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock
1190
         then ((((microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY * 1) + (microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY * 10)) + (microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY * 60)) * 1)
1191
         else (pre STEPS_TO_COOK))));
1192

    
1193
   rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step = (true -> 
1194
      (if (not rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock)
1195
         then true
1196
         else 
1197
      (if (pre rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock)
1198
         then false
1199
         else (pre rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step))));
1200

    
1201
   SETUP = 
1202
      (if (1 = microwave_microwave_mode_logic_mode)
1203
         then true
1204
         else false);
1205

    
1206
   p32 = (true -> ((not (enable and 
1207
      (not KP_CLEAR))) or 
1208
      ((not ((KP_5 and 
1209
      (not (pre KP_5))) and 
1210
      ((not (KP_4 and 
1211
      (not (pre KP_4)))) and 
1212
      ((not (KP_3 and 
1213
      (not (pre KP_3)))) and 
1214
      ((not (KP_2 and 
1215
      (not (pre KP_2)))) and 
1216
      ((not (KP_1 and 
1217
      (not (pre KP_1)))) and 
1218
      (not (KP_0 and 
1219
      (not (pre KP_0)))))))))) or 
1220
      (RIGHT_DIGIT = 5))));
1221

    
1222
   enable = (true -> 
1223
      (if (1 = (pre microwave_microwave_mode_logic_mode))
1224
         then true
1225
         else false));
1226

    
1227

    
1228

    
1229

    
1230
   p34 = (true -> ((not (enable and 
1231
      (not KP_CLEAR))) or 
1232
      ((not ((KP_7 and 
1233
      (not (pre KP_7))) and 
1234
      ((not (KP_6 and 
1235
      (not (pre KP_6)))) and 
1236
      ((not (KP_5 and 
1237
      (not (pre KP_5)))) and 
1238
      ((not (KP_4 and 
1239
      (not (pre KP_4)))) and 
1240
      ((not (KP_3 and 
1241
      (not (pre KP_3)))) and 
1242
      ((not (KP_2 and 
1243
      (not (pre KP_2)))) and 
1244
      ((not (KP_1 and 
1245
      (not (pre KP_1)))) and 
1246
      (not (KP_0 and 
1247
      (not (pre KP_0)))))))))))) or 
1248
      (RIGHT_DIGIT = 7))));
1249

    
1250

    
1251
  --%PROPERTY OK=true;
1252
  --%MAIN;
1253

    
1254
tel
1255