Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (43 KB)

1 22fe1c93 ploc
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
   p32: bool; 
107
   p33: bool; 
108
   p34: bool; 
109
   p35: bool; 
110
   p36: bool; 
111
   p37: bool; 
112
let 
113
   rlt__Arrow5 = (639 -> 
114
      (if (not (not SETUP))
115
         then 
116
               (if (MWI_FcnMaxI_In13 > 0)
117
                  then MWI_FcnMaxI_In13
118
                  else 0)
119
         else 639));
120
121
   rlt__Arrow4 = (639 -> 
122
      (if (not SUSPENDED)
123
         then 
124
               (if (MWI_FcnMaxI_In12 > 0)
125
                  then MWI_FcnMaxI_In12
126
                  else 0)
127
         else 639));
128
129
   rlt__Arrow3 = (639 -> 
130
      (if (not (not COOKING))
131
         then 
132
               (if (MWI_FcnMaxI_In16 > 0)
133
                  then MWI_FcnMaxI_In16
134
                  else 0)
135
         else 639));
136
137
   rlt__Arrow2 = (639 -> 
138
      (if (not (not SUSPENDED))
139
         then 
140
               (if (MWI_FcnMaxI_In15 > 0)
141
                  then MWI_FcnMaxI_In15
142
                  else 0)
143
         else 639));
144
145
   rlt__Arrow1 = (639 -> 
146
      (if (not COOKING)
147
         then 
148
               (if (MWI_FcnMaxI_In11 > 0)
149
                  then MWI_FcnMaxI_In11
150
                  else 0)
151
         else 639));
152
153
   rlt__Arrow = (639 -> 
154
      (if (not SETUP)
155
         then 
156
               (if (MWI_FcnMaxI_In1 > 0)
157
                  then MWI_FcnMaxI_In1
158
                  else 0)
159
         else 639));
160
161
162
163
   p35 = (true -> ((not (enable and 
164
      (not KP_CLEAR))) or 
165
      ((not ((KP_8 and 
166
      (not (pre KP_8))) and 
167
      ((not (KP_7 and 
168
      (not (pre KP_7)))) and 
169
      ((not (KP_6 and 
170
      (not (pre KP_6)))) and 
171
      ((not (KP_5 and 
172
      (not (pre KP_5)))) and 
173
      ((not (KP_4 and 
174
      (not (pre KP_4)))) and 
175
      ((not (KP_3 and 
176
      (not (pre KP_3)))) and 
177
      ((not (KP_2 and 
178
      (not (pre KP_2)))) and 
179
      ((not (KP_1 and 
180
      (not (pre KP_1)))) and 
181
      (not (KP_0 and 
182
      (not (pre KP_0))))))))))))) or 
183
      (RIGHT_DIGIT = 8))));
184
185
   p33 = (true -> ((not (enable and 
186
      (not KP_CLEAR))) or 
187
      ((not ((KP_6 and 
188
      (not (pre KP_6))) and 
189
      ((not (KP_5 and 
190
      (not (pre KP_5)))) and 
191
      ((not (KP_4 and 
192
      (not (pre KP_4)))) and 
193
      ((not (KP_3 and 
194
      (not (pre KP_3)))) and 
195
      ((not (KP_2 and 
196
      (not (pre KP_2)))) and 
197
      ((not (KP_1 and 
198
      (not (pre KP_1)))) and 
199
      (not (KP_0 and 
200
      (not (pre KP_0))))))))))) or 
201
      (RIGHT_DIGIT = 6))));
202
203
   MIDDLE_DIGIT = microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_TENS__QUOTIENT;
204
205
   RIGHT_DIGIT = microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_TENS__REMAINDER;
206
207
208
209
   p36 = (true -> ((not (enable and 
210
      (not KP_CLEAR))) or 
211
      ((not ((KP_9 and 
212
      (not (pre KP_9))) and 
213
      ((not (KP_8 and 
214
      (not (pre KP_8)))) and 
215
      ((not (KP_7 and 
216
      (not (pre KP_7)))) and 
217
      ((not (KP_6 and 
218
      (not (pre KP_6)))) and 
219
      ((not (KP_5 and 
220
      (not (pre KP_5)))) and 
221
      ((not (KP_4 and 
222
      (not (pre KP_4)))) and 
223
      ((not (KP_3 and 
224
      (not (pre KP_3)))) and 
225
      ((not (KP_2 and 
226
      (not (pre KP_2)))) and 
227
      ((not (KP_1 and 
228
      (not (pre KP_1)))) and 
229
      (not (KP_0 and 
230
      (not (pre KP_0)))))))))))))) or 
231
      (RIGHT_DIGIT = 9))));
232
233
   MWI_FcnMaxI_In1 = ((pre rlt__Arrow) - 1);
234
235
   CLEAR_PRESSED = (KP_CLEAR -> (KP_CLEAR and 
236
      (not (pre KP_CLEAR))));
237
238
   microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_MINUTES__QUOTIENT = ((chart_microwave_mode_logic_steps_remaining div 1) div 60);
239
240
   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));
241
242
   SUSPENDED = 
243
      (if (3 = microwave_microwave_mode_logic_mode)
244
         then true
245
         else false);
246
247
   OK = (true -> ((not (enable and 
248
      (not KP_CLEAR))) or 
249
      ((not ((KP_4 and 
250
      (not (pre KP_4))) and 
251
      ((not (KP_3 and 
252
      (not (pre KP_3)))) and 
253
      ((not (KP_2 and 
254
      (not (pre KP_2)))) and 
255
      ((not (KP_1 and 
256
      (not (pre KP_1)))) and 
257
      (not (KP_0 and 
258
      (not (pre KP_0))))))))) or 
259
      (RIGHT_DIGIT = 4))));
260
261
   p37 = (true -> ((not (enable and 
262
      (not KP_CLEAR))) or 
263
      (((((((((((KP_1 and 
264
      (not (pre KP_1))) or 
265
      (KP_2 and 
266
      (not (pre KP_2)))) or 
267
      (KP_3 and 
268
      (not (pre KP_3)))) or 
269
      (KP_4 and 
270
      (not (pre KP_4)))) or 
271
      (KP_5 and 
272
      (not (pre KP_5)))) or 
273
      (KP_6 and 
274
      (not (pre KP_6)))) or 
275
      (KP_7 and 
276
      (not (pre KP_7)))) or 
277
      (KP_8 and 
278
      (not (pre KP_8)))) or 
279
      (KP_9 and 
280
      (not (pre KP_9)))) or 
281
      (KP_0 and 
282
      (not (pre KP_0)))) or 
283
      (RIGHT_DIGIT = (pre RIGHT_DIGIT)))));
284
285
   MWI_FcnMaxI_In11 = ((pre rlt__Arrow1) - 1);
286
287
   MWI_FcnMaxI_In15 = ((pre rlt__Arrow2) - 1);
288
289
290
291
292
   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);
293
294
   MWI_FcnMaxI_In16 = ((pre rlt__Arrow3) - 1);
295
296
297
   MWI_FcnMaxI_In12 = ((pre rlt__Arrow4) - 1);
298
299
300
301
   COOKING = 
302
      (if (2 = microwave_microwave_mode_logic_mode)
303
         then true
304
         else false);
305
306
   LEFT_DIGIT = microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_MINUTES__QUOTIENT;
307
308
   START_PRESSED = (KP_START -> (KP_START and 
309
      (not (pre KP_START))));
310
311
   chart_microwave_mode_logic_start = 
312
      (if (START_PRESSED = false)
313
         then 0
314
         else 1);
315
316
   chart_microwave_mode_logic_clear_off = 
317
      (if (CLEAR_PRESSED = false)
318
         then 0
319
         else 1);
320
321
   chart_microwave_mode_logic_door_closed = 
322
      (if (DOOR_CLOSED = false)
323
         then 0
324
         else 1);
325
326
   chart_microwave_mode_logic____wakeup___ = true;
327
328
   chart_microwave_mode_logic_rlt_evtInitStep = (true -> 
329
      (if (pre chart_microwave_mode_logic____wakeup___)
330
         then false
331
         else (pre chart_microwave_mode_logic_rlt_evtInitStep)));
332
333
   chart_microwave_mode_logic_begin_state_states___root = (0 -> (pre chart_microwave_mode_logic_final_state_states___root));
334
335
   chart_microwave_mode_logic_begin_state_outports_mode = (0 -> (pre chart_microwave_mode_logic_mode));
336
337
   chart_microwave_mode_logic_begin_state_outports_steps_remaining = (0 -> (pre chart_microwave_mode_logic_steps_remaining));
338
339
   chart_microwave_mode_logic_final_state_states___root = 
340
      (if chart_microwave_mode_logic____wakeup___
341
         then 
342
               (if chart_microwave_mode_logic_rlt_evtInitStep
343
                  then rlt_enter_microwave_mode_logic_rlt_state_2_states___root
344
                  else 
345
               (if ((not rlt_eval_microwave_mode_logic_rlt_fired_1) and 
346
                  
347
                  
348
                  ((rlt_eval_microwave_mode_logic_rlt_state_3_states___root >= 1) and 
349
                  (rlt_eval_microwave_mode_logic_rlt_state_3_states___root <= 3)))
350
                  then 
351
                        (if rlt_eval_microwave_mode_logic_ON_rlt_fired_6
352
                           then 
353
                                 (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root = 3))
354
                                    then 
355
                                          
356
                                          3
357
                                    else rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root)
358
                           else rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root)
359
                  else rlt_eval_microwave_mode_logic_rlt_state_3_states___root))
360
         else chart_microwave_mode_logic_begin_state_states___root);
361
362
   chart_microwave_mode_logic_mode = 
363
      (if chart_microwave_mode_logic____wakeup___
364
         then 
365
               (if chart_microwave_mode_logic_rlt_evtInitStep
366
                  then 
367
                        (if (not (chart_microwave_mode_logic_begin_state_states___root = 4))
368
                           then 1
369
                           else chart_microwave_mode_logic_begin_state_outports_mode)
370
                  else 
371
               (if ((not rlt_eval_microwave_mode_logic_rlt_fired_1) and 
372
                  
373
                  
374
                  ((rlt_eval_microwave_mode_logic_rlt_state_3_states___root >= 1) and 
375
                  (rlt_eval_microwave_mode_logic_rlt_state_3_states___root <= 3)))
376
                  then 
377
                        (if rlt_eval_microwave_mode_logic_ON_rlt_fired_6
378
                           then 
379
                                 (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root = 3))
380
                                    then 3
381
                                    else rlt_eval_microwave_mode_logic_ON_rlt_state_11_outports_mode)
382
                           else rlt_eval_microwave_mode_logic_ON_rlt_state_11_outports_mode)
383
                  else rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode))
384
         else chart_microwave_mode_logic_begin_state_outports_mode);
385
386
   chart_microwave_mode_logic_steps_remaining = 
387
      (if chart_microwave_mode_logic____wakeup___
388
         then 
389
               (if chart_microwave_mode_logic_rlt_evtInitStep
390
                  then chart_microwave_mode_logic_begin_state_outports_steps_remaining
391
                  else 
392
               (if ((not rlt_eval_microwave_mode_logic_rlt_fired_1) and 
393
                  
394
                  
395
                  ((rlt_eval_microwave_mode_logic_rlt_state_3_states___root >= 1) and 
396
                  (rlt_eval_microwave_mode_logic_rlt_state_3_states___root <= 3)))
397
                  then 
398
                        (if rlt_eval_microwave_mode_logic_ON_rlt_fired_5
399
                           then (rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining - 1)
400
                           else rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining)
401
                  else rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining))
402
         else chart_microwave_mode_logic_begin_state_outports_steps_remaining);
403
404
   
405
   
406
   rlt_eval_microwave_mode_logic_rlt_fired_0 = (chart_microwave_mode_logic_begin_state_states___root = 4);
407
408
   
409
   
410
   rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining = 
411
      (if rlt_eval_microwave_mode_logic_rlt_fired_0
412
         then STEPS_TO_COOK
413
         else chart_microwave_mode_logic_begin_state_outports_steps_remaining);
414
415
   
416
   
417
   rlt_eval_microwave_mode_logic_rlt_fired_1 = (rlt_eval_microwave_mode_logic_rlt_fired_0 and 
418
      ((chart_microwave_mode_logic_begin_state_states___root = 4) and 
419
      (
420
      (if (chart_microwave_mode_logic_start <> 0)
421
         then true
422
         else false) and 
423
      
424
      (if (
425
         (if ((STEPS_TO_COOK > 0) = false)
426
            then 0
427
            else 1) <> 0)
428
         then true
429
         else false))));
430
431
   
432
   
433
   rlt_eval_microwave_mode_logic_rlt_state_2_states___root = 
434
      (if rlt_eval_microwave_mode_logic_rlt_fired_1
435
         then 
436
               (if (chart_microwave_mode_logic_begin_state_states___root = 4)
437
                  then 
438
                        
439
                        0
440
                  else chart_microwave_mode_logic_begin_state_states___root)
441
         else chart_microwave_mode_logic_begin_state_states___root);
442
443
   
444
   
445
   rlt_eval_microwave_mode_logic_rlt_state_3_states___root = 
446
      (if rlt_eval_microwave_mode_logic_rlt_fired_1
447
         then rlt_enter_microwave_mode_logic_ON_rlt_state_4_states___root
448
         else rlt_eval_microwave_mode_logic_rlt_state_2_states___root);
449
   
450
   
451
452
   
453
   
454
   rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode = 
455
      (if rlt_eval_microwave_mode_logic_rlt_fired_1
456
         then 
457
               (if rlt_enter_microwave_mode_logic_ON_rlt_fired_2
458
                  then 
459
                        (if (not (rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root = 3))
460
                           then 3
461
                           else rlt_enter_microwave_mode_logic_ON_rlt_state_2_outports_mode)
462
                  else rlt_enter_microwave_mode_logic_ON_rlt_state_2_outports_mode)
463
         else chart_microwave_mode_logic_begin_state_outports_mode);
464
   
465
   
466
467
   
468
   
469
   rlt_eval_microwave_mode_logic_ON_rlt_fired_1 = (((rlt_eval_microwave_mode_logic_rlt_state_3_states___root = 2) and 
470
      (rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining <= 0)) and 
471
      (rlt_eval_microwave_mode_logic_rlt_state_3_states___root = 2));
472
473
   
474
   
475
   rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root = 
476
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_1
477
         then 
478
               (if 
479
                  
480
                  ((rlt_eval_microwave_mode_logic_rlt_state_3_states___root >= 1) and 
481
                  (rlt_eval_microwave_mode_logic_rlt_state_3_states___root <= 3))
482
                  then 
483
                        
484
                        0
485
                  else rlt_eval_microwave_mode_logic_rlt_state_3_states___root)
486
         else rlt_eval_microwave_mode_logic_rlt_state_3_states___root);
487
488
   
489
   
490
   rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root = 
491
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_1
492
         then 
493
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root = 4))
494
                  then 
495
                        
496
                        4
497
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root)
498
         else rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root);
499
   
500
   
501
502
   
503
   
504
   rlt_eval_microwave_mode_logic_ON_rlt_fired_2 = ((rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root = 3) and 
505
      ((
506
      (if (chart_microwave_mode_logic_start <> 0)
507
         then true
508
         else false) and 
509
      
510
      (if (chart_microwave_mode_logic_door_closed <> 0)
511
         then true
512
         else false)) and 
513
      (not rlt_eval_microwave_mode_logic_ON_rlt_fired_1)));
514
515
   
516
   
517
   rlt_eval_microwave_mode_logic_ON_rlt_complete_1 = (rlt_eval_microwave_mode_logic_ON_rlt_fired_2 or 
518
      rlt_eval_microwave_mode_logic_ON_rlt_fired_1);
519
520
   
521
   
522
   rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root = 
523
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_2
524
         then 
525
               (if (rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root = 3)
526
                  then 
527
                        
528
                        1
529
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root)
530
         else rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root);
531
532
   
533
   
534
   rlt_eval_microwave_mode_logic_ON_rlt_state_3_outports_mode = 
535
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_1
536
         then 
537
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root = 4))
538
                  then 1
539
                  else rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode)
540
         else rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode);
541
542
   
543
   
544
   rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root = 
545
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_2
546
         then 
547
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root = 2))
548
                  then 
549
                        
550
                        2
551
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root)
552
         else rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root);
553
   
554
   
555
556
   
557
   
558
   rlt_eval_microwave_mode_logic_ON_rlt_state_4_outports_mode = 
559
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_2
560
         then 
561
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root = 2))
562
                  then 2
563
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_3_outports_mode)
564
         else rlt_eval_microwave_mode_logic_ON_rlt_state_3_outports_mode);
565
   
566
   
567
568
   
569
   
570
   rlt_eval_microwave_mode_logic_ON_rlt_fired_4 = (((rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root = 3) and 
571
      (
572
      (if (chart_microwave_mode_logic_clear_off <> 0)
573
         then true
574
         else false) and 
575
      (not rlt_eval_microwave_mode_logic_ON_rlt_complete_1))) and 
576
      ((rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root = 3) and 
577
      (not rlt_eval_microwave_mode_logic_ON_rlt_complete_1)));
578
579
   
580
   
581
   rlt_eval_microwave_mode_logic_ON_rlt_complete_2 = (rlt_eval_microwave_mode_logic_ON_rlt_fired_4 or 
582
      rlt_eval_microwave_mode_logic_ON_rlt_complete_1);
583
584
   
585
   
586
   rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root = 
587
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_4
588
         then 
589
               (if 
590
                  
591
                  ((rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root >= 1) and 
592
                  (rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root <= 3))
593
                  then 
594
                        
595
                        0
596
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root)
597
         else rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root);
598
599
   
600
   
601
   rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining = 
602
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_4
603
         then 0
604
         else rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining);
605
606
   
607
   
608
   rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root = 
609
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_4
610
         then 
611
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root = 4))
612
                  then 
613
                        
614
                        4
615
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root)
616
         else rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root);
617
   
618
   
619
620
   
621
   
622
   rlt_eval_microwave_mode_logic_ON_rlt_fired_5 = ((rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root = 2) and 
623
      ((rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining > 0) and 
624
      (not rlt_eval_microwave_mode_logic_ON_rlt_complete_2)));
625
626
   
627
   
628
   rlt_eval_microwave_mode_logic_ON_rlt_state_8_outports_mode = 
629
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_4
630
         then 
631
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root = 4))
632
                  then 1
633
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_4_outports_mode)
634
         else rlt_eval_microwave_mode_logic_ON_rlt_state_4_outports_mode);
635
636
   
637
   
638
   rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root = 
639
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_5
640
         then 
641
               (if (rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root = 2)
642
                  then 
643
                        
644
                        1
645
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root)
646
         else rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root);
647
648
   
649
   
650
   rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root = 
651
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_5
652
         then 
653
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root = 2))
654
                  then 
655
                        
656
                        2
657
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root)
658
         else rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root);
659
   
660
   
661
662
   
663
   
664
   rlt_eval_microwave_mode_logic_ON_rlt_fired_6 = ((rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root = 2) and 
665
      ((
666
      (if (chart_microwave_mode_logic_clear_off <> 0)
667
         then true
668
         else false) or 
669
      (not 
670
      (if (chart_microwave_mode_logic_door_closed <> 0)
671
         then true
672
         else false))) and 
673
      (not (rlt_eval_microwave_mode_logic_ON_rlt_fired_5 or 
674
      rlt_eval_microwave_mode_logic_ON_rlt_complete_2))));
675
676
   
677
   
678
   rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root = 
679
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_6
680
         then 
681
               (if (rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root = 2)
682
                  then 
683
                        
684
                        1
685
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root)
686
         else rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root);
687
688
   
689
   
690
   rlt_eval_microwave_mode_logic_ON_rlt_state_11_outports_mode = 
691
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_5
692
         then 
693
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root = 2))
694
                  then 2
695
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_8_outports_mode)
696
         else rlt_eval_microwave_mode_logic_ON_rlt_state_8_outports_mode);
697
698
   rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root = 
699
      (if (not 
700
         
701
         ((rlt_eval_microwave_mode_logic_rlt_state_2_states___root >= 1) and 
702
         (rlt_eval_microwave_mode_logic_rlt_state_2_states___root <= 3)))
703
         then 
704
               
705
               1
706
         else rlt_eval_microwave_mode_logic_rlt_state_2_states___root);
707
708
   
709
   
710
   rlt_enter_microwave_mode_logic_ON_rlt_fired_0 = ((not 
711
      
712
      ((rlt_eval_microwave_mode_logic_rlt_state_2_states___root >= 1) and 
713
      (rlt_eval_microwave_mode_logic_rlt_state_2_states___root <= 3))) and 
714
      
715
      
716
      ((rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root >= 1) and 
717
      (rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root <= 3)));
718
719
   
720
   
721
   rlt_enter_microwave_mode_logic_ON_rlt_fired_1 = (rlt_enter_microwave_mode_logic_ON_rlt_fired_0 and 
722
      (
723
      
724
      ((rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root >= 1) and 
725
      (rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root <= 3)) and 
726
      
727
      (if (chart_microwave_mode_logic_door_closed <> 0)
728
         then true
729
         else false)));
730
731
   
732
   
733
   rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root = 
734
      (if rlt_enter_microwave_mode_logic_ON_rlt_fired_1
735
         then 
736
               (if (not (rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root = 2))
737
                  then 
738
                        
739
                        2
740
                  else rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root)
741
         else rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root);
742
   
743
   
744
745
   
746
   
747
   rlt_enter_microwave_mode_logic_ON_rlt_state_2_outports_mode = 
748
      (if rlt_enter_microwave_mode_logic_ON_rlt_fired_1
749
         then 
750
               (if (not (rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root = 2))
751
                  then 2
752
                  else chart_microwave_mode_logic_begin_state_outports_mode)
753
         else chart_microwave_mode_logic_begin_state_outports_mode);
754
   
755
   
756
757
   
758
   
759
   rlt_enter_microwave_mode_logic_ON_rlt_fired_2 = (rlt_enter_microwave_mode_logic_ON_rlt_fired_0 and 
760
      (
761
      
762
      ((rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root >= 1) and 
763
      (rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root <= 3)) and 
764
      (not rlt_enter_microwave_mode_logic_ON_rlt_fired_1)));
765
766
   
767
   
768
   rlt_enter_microwave_mode_logic_ON_rlt_state_4_states___root = 
769
      (if rlt_enter_microwave_mode_logic_ON_rlt_fired_2
770
         then 
771
               (if (not (rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root = 3))
772
                  then 
773
                        
774
                        3
775
                  else rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root)
776
         else rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root);
777
   
778
   
779
780
   
781
   
782
   rlt_enter_microwave_mode_logic_rlt_state_2_states___root = 
783
      (if (not (chart_microwave_mode_logic_begin_state_states___root = 4))
784
         then 
785
               
786
               4
787
         else chart_microwave_mode_logic_begin_state_states___root);
788
   
789
   
790
791
   microwave_microwave_mode_logic_mode = chart_microwave_mode_logic_mode;
792
793
794
   MWI_FcnMaxI_In13 = ((pre rlt__Arrow5) - 1);
795
796
797
   rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock = enable;
798
799
   KP_01 = KP_0;
800
801
   KP_11 = KP_1;
802
803
   KP_21 = KP_2;
804
805
   KP_31 = KP_3;
806
807
   KP_41 = KP_4;
808
809
   KP_51 = KP_5;
810
811
   KP_61 = KP_6;
812
813
   KP_71 = KP_7;
814
815
   KP_81 = KP_8;
816
817
   KP_91 = KP_9;
818
819
   microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY = (0 -> 
820
      (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock
821
         then 
822
               (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step
823
                  then 0
824
                  else 
825
               (if KP_CLEAR
826
                  then 0
827
                  else 
828
               (if 
829
                  (if (
830
                     (if (KP_01 and 
831
                        (not (pre KP_01)))
832
                        then 0
833
                        else 
834
                     (if (KP_11 and 
835
                        (not (pre KP_11)))
836
                        then 1
837
                        else 
838
                     (if (KP_21 and 
839
                        (not (pre KP_21)))
840
                        then 2
841
                        else 
842
                     (if (KP_31 and 
843
                        (not (pre KP_31)))
844
                        then 3
845
                        else 
846
                     (if (KP_41 and 
847
                        (not (pre KP_41)))
848
                        then 4
849
                        else 
850
                     (if (KP_51 and 
851
                        (not (pre KP_51)))
852
                        then 5
853
                        else 
854
                     (if (KP_61 and 
855
                        (not (pre KP_61)))
856
                        then 6
857
                        else 
858
                     (if (KP_71 and 
859
                        (not (pre KP_71)))
860
                        then 7
861
                        else 
862
                     (if (KP_81 and 
863
                        (not (pre KP_81)))
864
                        then 8
865
                        else 
866
                     (if (KP_91 and 
867
                        (not (pre KP_91)))
868
                        then 9
869
                        else 10)))))))))) <= 9)
870
                     then true
871
                     else false)
872
                  then (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY)
873
                  else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY))))
874
         else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY)));
875
876
   microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY = (0 -> 
877
      (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock
878
         then 
879
               (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step
880
                  then 0
881
                  else 
882
               (if KP_CLEAR
883
                  then 0
884
                  else 
885
               (if 
886
                  (if (
887
                     (if (KP_01 and 
888
                        (not (pre KP_01)))
889
                        then 0
890
                        else 
891
                     (if (KP_11 and 
892
                        (not (pre KP_11)))
893
                        then 1
894
                        else 
895
                     (if (KP_21 and 
896
                        (not (pre KP_21)))
897
                        then 2
898
                        else 
899
                     (if (KP_31 and 
900
                        (not (pre KP_31)))
901
                        then 3
902
                        else 
903
                     (if (KP_41 and 
904
                        (not (pre KP_41)))
905
                        then 4
906
                        else 
907
                     (if (KP_51 and 
908
                        (not (pre KP_51)))
909
                        then 5
910
                        else 
911
                     (if (KP_61 and 
912
                        (not (pre KP_61)))
913
                        then 6
914
                        else 
915
                     (if (KP_71 and 
916
                        (not (pre KP_71)))
917
                        then 7
918
                        else 
919
                     (if (KP_81 and 
920
                        (not (pre KP_81)))
921
                        then 8
922
                        else 
923
                     (if (KP_91 and 
924
                        (not (pre KP_91)))
925
                        then 9
926
                        else 10)))))))))) <= 9)
927
                     then true
928
                     else false)
929
                  then (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY)
930
                  else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY))))
931
         else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY)));
932
933
   microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY = (
934
      (if KP_CLEAR
935
         then 0
936
         else 
937
      (if 
938
         (if (
939
            (if KP_01
940
               then 0
941
               else 
942
            (if KP_11
943
               then 1
944
               else 
945
            (if KP_21
946
               then 2
947
               else 
948
            (if KP_31
949
               then 3
950
               else 
951
            (if KP_41
952
               then 4
953
               else 
954
            (if KP_51
955
               then 5
956
               else 
957
            (if KP_61
958
               then 6
959
               else 
960
            (if KP_71
961
               then 7
962
               else 
963
            (if KP_81
964
               then 8
965
               else 
966
            (if KP_91
967
               then 9
968
               else 10)))))))))) <= 9)
969
            then true
970
            else false)
971
         then 
972
               (if KP_01
973
                  then 0
974
                  else 
975
               (if KP_11
976
                  then 1
977
                  else 
978
               (if KP_21
979
                  then 2
980
                  else 
981
               (if KP_31
982
                  then 3
983
                  else 
984
               (if KP_41
985
                  then 4
986
                  else 
987
               (if KP_51
988
                  then 5
989
                  else 
990
               (if KP_61
991
                  then 6
992
                  else 
993
               (if KP_71
994
                  then 7
995
                  else 
996
               (if KP_81
997
                  then 8
998
                  else 
999
               (if KP_91
1000
                  then 9
1001
                  else 10))))))))))
1002
         else 0)) -> 
1003
      (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock
1004
         then 
1005
               (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step
1006
                  then 
1007
                        (if KP_CLEAR
1008
                           then 0
1009
                           else 
1010
                        (if 
1011
                           (if (
1012
                              (if KP_01
1013
                                 then 0
1014
                                 else 
1015
                              (if KP_11
1016
                                 then 1
1017
                                 else 
1018
                              (if KP_21
1019
                                 then 2
1020
                                 else 
1021
                              (if KP_31
1022
                                 then 3
1023
                                 else 
1024
                              (if KP_41
1025
                                 then 4
1026
                                 else 
1027
                              (if KP_51
1028
                                 then 5
1029
                                 else 
1030
                              (if KP_61
1031
                                 then 6
1032
                                 else 
1033
                              (if KP_71
1034
                                 then 7
1035
                                 else 
1036
                              (if KP_81
1037
                                 then 8
1038
                                 else 
1039
                              (if KP_91
1040
                                 then 9
1041
                                 else 10)))))))))) <= 9)
1042
                              then true
1043
                              else false)
1044
                           then 
1045
                                 (if KP_01
1046
                                    then 0
1047
                                    else 
1048
                                 (if KP_11
1049
                                    then 1
1050
                                    else 
1051
                                 (if KP_21
1052
                                    then 2
1053
                                    else 
1054
                                 (if KP_31
1055
                                    then 3
1056
                                    else 
1057
                                 (if KP_41
1058
                                    then 4
1059
                                    else 
1060
                                 (if KP_51
1061
                                    then 5
1062
                                    else 
1063
                                 (if KP_61
1064
                                    then 6
1065
                                    else 
1066
                                 (if KP_71
1067
                                    then 7
1068
                                    else 
1069
                                 (if KP_81
1070
                                    then 8
1071
                                    else 
1072
                                 (if KP_91
1073
                                    then 9
1074
                                    else 10))))))))))
1075
                           else 0))
1076
                  else 
1077
               (if KP_CLEAR
1078
                  then 0
1079
                  else 
1080
               (if 
1081
                  (if (
1082
                     (if (KP_01 and 
1083
                        (not (pre KP_01)))
1084
                        then 0
1085
                        else 
1086
                     (if (KP_11 and 
1087
                        (not (pre KP_11)))
1088
                        then 1
1089
                        else 
1090
                     (if (KP_21 and 
1091
                        (not (pre KP_21)))
1092
                        then 2
1093
                        else 
1094
                     (if (KP_31 and 
1095
                        (not (pre KP_31)))
1096
                        then 3
1097
                        else 
1098
                     (if (KP_41 and 
1099
                        (not (pre KP_41)))
1100
                        then 4
1101
                        else 
1102
                     (if (KP_51 and 
1103
                        (not (pre KP_51)))
1104
                        then 5
1105
                        else 
1106
                     (if (KP_61 and 
1107
                        (not (pre KP_61)))
1108
                        then 6
1109
                        else 
1110
                     (if (KP_71 and 
1111
                        (not (pre KP_71)))
1112
                        then 7
1113
                        else 
1114
                     (if (KP_81 and 
1115
                        (not (pre KP_81)))
1116
                        then 8
1117
                        else 
1118
                     (if (KP_91 and 
1119
                        (not (pre KP_91)))
1120
                        then 9
1121
                        else 10)))))))))) <= 9)
1122
                     then true
1123
                     else false)
1124
                  then 
1125
                        (if (KP_01 and 
1126
                           (not (pre KP_01)))
1127
                           then 0
1128
                           else 
1129
                        (if (KP_11 and 
1130
                           (not (pre KP_11)))
1131
                           then 1
1132
                           else 
1133
                        (if (KP_21 and 
1134
                           (not (pre KP_21)))
1135
                           then 2
1136
                           else 
1137
                        (if (KP_31 and 
1138
                           (not (pre KP_31)))
1139
                           then 3
1140
                           else 
1141
                        (if (KP_41 and 
1142
                           (not (pre KP_41)))
1143
                           then 4
1144
                           else 
1145
                        (if (KP_51 and 
1146
                           (not (pre KP_51)))
1147
                           then 5
1148
                           else 
1149
                        (if (KP_61 and 
1150
                           (not (pre KP_61)))
1151
                           then 6
1152
                           else 
1153
                        (if (KP_71 and 
1154
                           (not (pre KP_71)))
1155
                           then 7
1156
                           else 
1157
                        (if (KP_81 and 
1158
                           (not (pre KP_81)))
1159
                           then 8
1160
                           else 
1161
                        (if (KP_91 and 
1162
                           (not (pre KP_91)))
1163
                           then 9
1164
                           else 10))))))))))
1165
                  else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY))))
1166
         else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY)));
1167
1168
   STEPS_TO_COOK = (
1169
      (if (rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step and 
1170
         (not rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock))
1171
         then 0
1172
         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)) -> 
1173
      (if (rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step and 
1174
         (not rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock))
1175
         then 0
1176
         else 
1177
      (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock
1178
         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)
1179
         else (pre STEPS_TO_COOK))));
1180
1181
   rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step = (true -> 
1182
      (if (not rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock)
1183
         then true
1184
         else 
1185
      (if (pre rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock)
1186
         then false
1187
         else (pre rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step))));
1188
1189
   SETUP = 
1190
      (if (1 = microwave_microwave_mode_logic_mode)
1191
         then true
1192
         else false);
1193
1194
   p32 = (true -> ((not (enable and 
1195
      (not KP_CLEAR))) or 
1196
      ((not ((KP_5 and 
1197
      (not (pre KP_5))) and 
1198
      ((not (KP_4 and 
1199
      (not (pre KP_4)))) and 
1200
      ((not (KP_3 and 
1201
      (not (pre KP_3)))) and 
1202
      ((not (KP_2 and 
1203
      (not (pre KP_2)))) and 
1204
      ((not (KP_1 and 
1205
      (not (pre KP_1)))) and 
1206
      (not (KP_0 and 
1207
      (not (pre KP_0)))))))))) or 
1208
      (RIGHT_DIGIT = 5))));
1209
1210
   enable = (true -> 
1211
      (if (1 = (pre microwave_microwave_mode_logic_mode))
1212
         then true
1213
         else false));
1214
1215
1216
1217
1218
   p34 = (true -> ((not (enable and 
1219
      (not KP_CLEAR))) or 
1220
      ((not ((KP_7 and 
1221
      (not (pre KP_7))) and 
1222
      ((not (KP_6 and 
1223
      (not (pre KP_6)))) and 
1224
      ((not (KP_5 and 
1225
      (not (pre KP_5)))) and 
1226
      ((not (KP_4 and 
1227
      (not (pre KP_4)))) and 
1228
      ((not (KP_3 and 
1229
      (not (pre KP_3)))) and 
1230
      ((not (KP_2 and 
1231
      (not (pre KP_2)))) and 
1232
      ((not (KP_1 and 
1233
      (not (pre KP_1)))) and 
1234
      (not (KP_0 and 
1235
      (not (pre KP_0)))))))))))) or 
1236
      (RIGHT_DIGIT = 7))));
1237
1238
1239
  --%PROPERTY OK=true;
1240
  --%MAIN;
1241
1242
tel