Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (42.2 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
   p34: bool; 
107
   p35: bool; 
108
   p36: bool; 
109
   p37: bool; 
110
let 
111
   rlt__Arrow5 = (639 -> 
112
      (if (not (not SETUP))
113
         then 
114
               (if (MWI_FcnMaxI_In13 > 0)
115
                  then MWI_FcnMaxI_In13
116
                  else 0)
117
         else 639));
118

    
119
   rlt__Arrow4 = (639 -> 
120
      (if (not SUSPENDED)
121
         then 
122
               (if (MWI_FcnMaxI_In12 > 0)
123
                  then MWI_FcnMaxI_In12
124
                  else 0)
125
         else 639));
126

    
127
   rlt__Arrow3 = (639 -> 
128
      (if (not (not COOKING))
129
         then 
130
               (if (MWI_FcnMaxI_In16 > 0)
131
                  then MWI_FcnMaxI_In16
132
                  else 0)
133
         else 639));
134

    
135
   rlt__Arrow2 = (639 -> 
136
      (if (not (not SUSPENDED))
137
         then 
138
               (if (MWI_FcnMaxI_In15 > 0)
139
                  then MWI_FcnMaxI_In15
140
                  else 0)
141
         else 639));
142

    
143
   rlt__Arrow1 = (639 -> 
144
      (if (not COOKING)
145
         then 
146
               (if (MWI_FcnMaxI_In11 > 0)
147
                  then MWI_FcnMaxI_In11
148
                  else 0)
149
         else 639));
150

    
151
   rlt__Arrow = (639 -> 
152
      (if (not SETUP)
153
         then 
154
               (if (MWI_FcnMaxI_In1 > 0)
155
                  then MWI_FcnMaxI_In1
156
                  else 0)
157
         else 639));
158

    
159

    
160

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

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

    
201
   MIDDLE_DIGIT = microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_TENS__QUOTIENT;
202

    
203
   RIGHT_DIGIT = microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_TENS__REMAINDER;
204

    
205

    
206

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

    
231
   MWI_FcnMaxI_In1 = ((pre rlt__Arrow) - 1);
232

    
233
   CLEAR_PRESSED = (KP_CLEAR -> (KP_CLEAR and 
234
      (not (pre KP_CLEAR))));
235

    
236
   microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_MINUTES__QUOTIENT = ((chart_microwave_mode_logic_steps_remaining div 1) div 60);
237

    
238
   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));
239

    
240
   SUSPENDED = 
241
      (if (3 = microwave_microwave_mode_logic_mode)
242
         then true
243
         else false);
244

    
245

    
246
   p37 = (true -> ((not (enable and 
247
      (not KP_CLEAR))) or 
248
      (((((((((((KP_1 and 
249
      (not (pre KP_1))) or 
250
      (KP_2 and 
251
      (not (pre KP_2)))) or 
252
      (KP_3 and 
253
      (not (pre KP_3)))) or 
254
      (KP_4 and 
255
      (not (pre KP_4)))) or 
256
      (KP_5 and 
257
      (not (pre KP_5)))) or 
258
      (KP_6 and 
259
      (not (pre KP_6)))) or 
260
      (KP_7 and 
261
      (not (pre KP_7)))) or 
262
      (KP_8 and 
263
      (not (pre KP_8)))) or 
264
      (KP_9 and 
265
      (not (pre KP_9)))) or 
266
      (KP_0 and 
267
      (not (pre KP_0)))) or 
268
      (RIGHT_DIGIT = (pre RIGHT_DIGIT)))));
269

    
270
   MWI_FcnMaxI_In11 = ((pre rlt__Arrow1) - 1);
271

    
272
   MWI_FcnMaxI_In15 = ((pre rlt__Arrow2) - 1);
273

    
274

    
275

    
276

    
277
   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);
278

    
279
   MWI_FcnMaxI_In16 = ((pre rlt__Arrow3) - 1);
280

    
281

    
282
   MWI_FcnMaxI_In12 = ((pre rlt__Arrow4) - 1);
283

    
284

    
285

    
286
   COOKING = 
287
      (if (2 = microwave_microwave_mode_logic_mode)
288
         then true
289
         else false);
290

    
291
   LEFT_DIGIT = microwave_microwave_TIME_ON_DISPLAY_SECONDS_TO_MINUTES__QUOTIENT;
292

    
293
   START_PRESSED = (KP_START -> (KP_START and 
294
      (not (pre KP_START))));
295

    
296
   chart_microwave_mode_logic_start = 
297
      (if (START_PRESSED = false)
298
         then 0
299
         else 1);
300

    
301
   chart_microwave_mode_logic_clear_off = 
302
      (if (CLEAR_PRESSED = false)
303
         then 0
304
         else 1);
305

    
306
   chart_microwave_mode_logic_door_closed = 
307
      (if (DOOR_CLOSED = false)
308
         then 0
309
         else 1);
310

    
311
   chart_microwave_mode_logic____wakeup___ = true;
312

    
313
   chart_microwave_mode_logic_rlt_evtInitStep = (true -> 
314
      (if (pre chart_microwave_mode_logic____wakeup___)
315
         then false
316
         else (pre chart_microwave_mode_logic_rlt_evtInitStep)));
317

    
318
   chart_microwave_mode_logic_begin_state_states___root = (0 -> (pre chart_microwave_mode_logic_final_state_states___root));
319

    
320
   chart_microwave_mode_logic_begin_state_outports_mode = (0 -> (pre chart_microwave_mode_logic_mode));
321

    
322
   chart_microwave_mode_logic_begin_state_outports_steps_remaining = (0 -> (pre chart_microwave_mode_logic_steps_remaining));
323

    
324
   chart_microwave_mode_logic_final_state_states___root = 
325
      (if chart_microwave_mode_logic____wakeup___
326
         then 
327
               (if chart_microwave_mode_logic_rlt_evtInitStep
328
                  then rlt_enter_microwave_mode_logic_rlt_state_2_states___root
329
                  else 
330
               (if ((not rlt_eval_microwave_mode_logic_rlt_fired_1) and 
331
                  
332
                  
333
                  ((rlt_eval_microwave_mode_logic_rlt_state_3_states___root >= 1) and 
334
                  (rlt_eval_microwave_mode_logic_rlt_state_3_states___root <= 3)))
335
                  then 
336
                        (if rlt_eval_microwave_mode_logic_ON_rlt_fired_6
337
                           then 
338
                                 (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root = 3))
339
                                    then 
340
                                          
341
                                          3
342
                                    else rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root)
343
                           else rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root)
344
                  else rlt_eval_microwave_mode_logic_rlt_state_3_states___root))
345
         else chart_microwave_mode_logic_begin_state_states___root);
346

    
347
   chart_microwave_mode_logic_mode = 
348
      (if chart_microwave_mode_logic____wakeup___
349
         then 
350
               (if chart_microwave_mode_logic_rlt_evtInitStep
351
                  then 
352
                        (if (not (chart_microwave_mode_logic_begin_state_states___root = 4))
353
                           then 1
354
                           else chart_microwave_mode_logic_begin_state_outports_mode)
355
                  else 
356
               (if ((not rlt_eval_microwave_mode_logic_rlt_fired_1) and 
357
                  
358
                  
359
                  ((rlt_eval_microwave_mode_logic_rlt_state_3_states___root >= 1) and 
360
                  (rlt_eval_microwave_mode_logic_rlt_state_3_states___root <= 3)))
361
                  then 
362
                        (if rlt_eval_microwave_mode_logic_ON_rlt_fired_6
363
                           then 
364
                                 (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root = 3))
365
                                    then 3
366
                                    else rlt_eval_microwave_mode_logic_ON_rlt_state_11_outports_mode)
367
                           else rlt_eval_microwave_mode_logic_ON_rlt_state_11_outports_mode)
368
                  else rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode))
369
         else chart_microwave_mode_logic_begin_state_outports_mode);
370

    
371
   chart_microwave_mode_logic_steps_remaining = 
372
      (if chart_microwave_mode_logic____wakeup___
373
         then 
374
               (if chart_microwave_mode_logic_rlt_evtInitStep
375
                  then chart_microwave_mode_logic_begin_state_outports_steps_remaining
376
                  else 
377
               (if ((not rlt_eval_microwave_mode_logic_rlt_fired_1) and 
378
                  
379
                  
380
                  ((rlt_eval_microwave_mode_logic_rlt_state_3_states___root >= 1) and 
381
                  (rlt_eval_microwave_mode_logic_rlt_state_3_states___root <= 3)))
382
                  then 
383
                        (if rlt_eval_microwave_mode_logic_ON_rlt_fired_5
384
                           then (rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining - 1)
385
                           else rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining)
386
                  else rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining))
387
         else chart_microwave_mode_logic_begin_state_outports_steps_remaining);
388

    
389
   
390
   
391
   rlt_eval_microwave_mode_logic_rlt_fired_0 = (chart_microwave_mode_logic_begin_state_states___root = 4);
392

    
393
   
394
   
395
   rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining = 
396
      (if rlt_eval_microwave_mode_logic_rlt_fired_0
397
         then STEPS_TO_COOK
398
         else chart_microwave_mode_logic_begin_state_outports_steps_remaining);
399

    
400
   
401
   
402
   rlt_eval_microwave_mode_logic_rlt_fired_1 = (rlt_eval_microwave_mode_logic_rlt_fired_0 and 
403
      ((chart_microwave_mode_logic_begin_state_states___root = 4) and 
404
      (
405
      (if (chart_microwave_mode_logic_start <> 0)
406
         then true
407
         else false) and 
408
      
409
      (if (
410
         (if ((STEPS_TO_COOK > 0) = false)
411
            then 0
412
            else 1) <> 0)
413
         then true
414
         else false))));
415

    
416
   
417
   
418
   rlt_eval_microwave_mode_logic_rlt_state_2_states___root = 
419
      (if rlt_eval_microwave_mode_logic_rlt_fired_1
420
         then 
421
               (if (chart_microwave_mode_logic_begin_state_states___root = 4)
422
                  then 
423
                        
424
                        0
425
                  else chart_microwave_mode_logic_begin_state_states___root)
426
         else chart_microwave_mode_logic_begin_state_states___root);
427

    
428
   
429
   
430
   rlt_eval_microwave_mode_logic_rlt_state_3_states___root = 
431
      (if rlt_eval_microwave_mode_logic_rlt_fired_1
432
         then rlt_enter_microwave_mode_logic_ON_rlt_state_4_states___root
433
         else rlt_eval_microwave_mode_logic_rlt_state_2_states___root);
434
   
435
   
436

    
437
   
438
   
439
   rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode = 
440
      (if rlt_eval_microwave_mode_logic_rlt_fired_1
441
         then 
442
               (if rlt_enter_microwave_mode_logic_ON_rlt_fired_2
443
                  then 
444
                        (if (not (rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root = 3))
445
                           then 3
446
                           else rlt_enter_microwave_mode_logic_ON_rlt_state_2_outports_mode)
447
                  else rlt_enter_microwave_mode_logic_ON_rlt_state_2_outports_mode)
448
         else chart_microwave_mode_logic_begin_state_outports_mode);
449
   
450
   
451

    
452
   
453
   
454
   rlt_eval_microwave_mode_logic_ON_rlt_fired_1 = (((rlt_eval_microwave_mode_logic_rlt_state_3_states___root = 2) and 
455
      (rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining <= 0)) and 
456
      (rlt_eval_microwave_mode_logic_rlt_state_3_states___root = 2));
457

    
458
   
459
   
460
   rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root = 
461
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_1
462
         then 
463
               (if 
464
                  
465
                  ((rlt_eval_microwave_mode_logic_rlt_state_3_states___root >= 1) and 
466
                  (rlt_eval_microwave_mode_logic_rlt_state_3_states___root <= 3))
467
                  then 
468
                        
469
                        0
470
                  else rlt_eval_microwave_mode_logic_rlt_state_3_states___root)
471
         else rlt_eval_microwave_mode_logic_rlt_state_3_states___root);
472

    
473
   
474
   
475
   rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root = 
476
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_1
477
         then 
478
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root = 4))
479
                  then 
480
                        
481
                        4
482
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root)
483
         else rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root);
484
   
485
   
486

    
487
   
488
   
489
   rlt_eval_microwave_mode_logic_ON_rlt_fired_2 = ((rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root = 3) and 
490
      ((
491
      (if (chart_microwave_mode_logic_start <> 0)
492
         then true
493
         else false) and 
494
      
495
      (if (chart_microwave_mode_logic_door_closed <> 0)
496
         then true
497
         else false)) and 
498
      (not rlt_eval_microwave_mode_logic_ON_rlt_fired_1)));
499

    
500
   
501
   
502
   rlt_eval_microwave_mode_logic_ON_rlt_complete_1 = (rlt_eval_microwave_mode_logic_ON_rlt_fired_2 or 
503
      rlt_eval_microwave_mode_logic_ON_rlt_fired_1);
504

    
505
   
506
   
507
   rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root = 
508
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_2
509
         then 
510
               (if (rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root = 3)
511
                  then 
512
                        
513
                        1
514
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root)
515
         else rlt_eval_microwave_mode_logic_ON_rlt_state_2_states___root);
516

    
517
   
518
   
519
   rlt_eval_microwave_mode_logic_ON_rlt_state_3_outports_mode = 
520
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_1
521
         then 
522
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_1_states___root = 4))
523
                  then 1
524
                  else rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode)
525
         else rlt_eval_microwave_mode_logic_rlt_state_3_outports_mode);
526

    
527
   
528
   
529
   rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root = 
530
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_2
531
         then 
532
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root = 2))
533
                  then 
534
                        
535
                        2
536
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root)
537
         else rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root);
538
   
539
   
540

    
541
   
542
   
543
   rlt_eval_microwave_mode_logic_ON_rlt_state_4_outports_mode = 
544
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_2
545
         then 
546
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_3_states___root = 2))
547
                  then 2
548
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_3_outports_mode)
549
         else rlt_eval_microwave_mode_logic_ON_rlt_state_3_outports_mode);
550
   
551
   
552

    
553
   
554
   
555
   rlt_eval_microwave_mode_logic_ON_rlt_fired_4 = (((rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root = 3) and 
556
      (
557
      (if (chart_microwave_mode_logic_clear_off <> 0)
558
         then true
559
         else false) and 
560
      (not rlt_eval_microwave_mode_logic_ON_rlt_complete_1))) and 
561
      ((rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root = 3) and 
562
      (not rlt_eval_microwave_mode_logic_ON_rlt_complete_1)));
563

    
564
   
565
   
566
   rlt_eval_microwave_mode_logic_ON_rlt_complete_2 = (rlt_eval_microwave_mode_logic_ON_rlt_fired_4 or 
567
      rlt_eval_microwave_mode_logic_ON_rlt_complete_1);
568

    
569
   
570
   
571
   rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root = 
572
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_4
573
         then 
574
               (if 
575
                  
576
                  ((rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root >= 1) and 
577
                  (rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root <= 3))
578
                  then 
579
                        
580
                        0
581
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root)
582
         else rlt_eval_microwave_mode_logic_ON_rlt_state_4_states___root);
583

    
584
   
585
   
586
   rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining = 
587
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_4
588
         then 0
589
         else rlt_eval_microwave_mode_logic_rlt_state_1_outports_steps_remaining);
590

    
591
   
592
   
593
   rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root = 
594
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_4
595
         then 
596
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root = 4))
597
                  then 
598
                        
599
                        4
600
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root)
601
         else rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root);
602
   
603
   
604

    
605
   
606
   
607
   rlt_eval_microwave_mode_logic_ON_rlt_fired_5 = ((rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root = 2) and 
608
      ((rlt_eval_microwave_mode_logic_ON_rlt_state_6_outports_steps_remaining > 0) and 
609
      (not rlt_eval_microwave_mode_logic_ON_rlt_complete_2)));
610

    
611
   
612
   
613
   rlt_eval_microwave_mode_logic_ON_rlt_state_8_outports_mode = 
614
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_4
615
         then 
616
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_6_states___root = 4))
617
                  then 1
618
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_4_outports_mode)
619
         else rlt_eval_microwave_mode_logic_ON_rlt_state_4_outports_mode);
620

    
621
   
622
   
623
   rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root = 
624
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_5
625
         then 
626
               (if (rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root = 2)
627
                  then 
628
                        
629
                        1
630
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root)
631
         else rlt_eval_microwave_mode_logic_ON_rlt_state_7_states___root);
632

    
633
   
634
   
635
   rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root = 
636
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_5
637
         then 
638
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root = 2))
639
                  then 
640
                        
641
                        2
642
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root)
643
         else rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root);
644
   
645
   
646

    
647
   
648
   
649
   rlt_eval_microwave_mode_logic_ON_rlt_fired_6 = ((rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root = 2) and 
650
      ((
651
      (if (chart_microwave_mode_logic_clear_off <> 0)
652
         then true
653
         else false) or 
654
      (not 
655
      (if (chart_microwave_mode_logic_door_closed <> 0)
656
         then true
657
         else false))) and 
658
      (not (rlt_eval_microwave_mode_logic_ON_rlt_fired_5 or 
659
      rlt_eval_microwave_mode_logic_ON_rlt_complete_2))));
660

    
661
   
662
   
663
   rlt_eval_microwave_mode_logic_ON_rlt_state_11_states___root = 
664
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_6
665
         then 
666
               (if (rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root = 2)
667
                  then 
668
                        
669
                        1
670
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root)
671
         else rlt_eval_microwave_mode_logic_ON_rlt_state_10_states___root);
672

    
673
   
674
   
675
   rlt_eval_microwave_mode_logic_ON_rlt_state_11_outports_mode = 
676
      (if rlt_eval_microwave_mode_logic_ON_rlt_fired_5
677
         then 
678
               (if (not (rlt_eval_microwave_mode_logic_ON_rlt_state_9_states___root = 2))
679
                  then 2
680
                  else rlt_eval_microwave_mode_logic_ON_rlt_state_8_outports_mode)
681
         else rlt_eval_microwave_mode_logic_ON_rlt_state_8_outports_mode);
682

    
683
   rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root = 
684
      (if (not 
685
         
686
         ((rlt_eval_microwave_mode_logic_rlt_state_2_states___root >= 1) and 
687
         (rlt_eval_microwave_mode_logic_rlt_state_2_states___root <= 3)))
688
         then 
689
               
690
               1
691
         else rlt_eval_microwave_mode_logic_rlt_state_2_states___root);
692

    
693
   
694
   
695
   rlt_enter_microwave_mode_logic_ON_rlt_fired_0 = ((not 
696
      
697
      ((rlt_eval_microwave_mode_logic_rlt_state_2_states___root >= 1) and 
698
      (rlt_eval_microwave_mode_logic_rlt_state_2_states___root <= 3))) and 
699
      
700
      
701
      ((rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root >= 1) and 
702
      (rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root <= 3)));
703

    
704
   
705
   
706
   rlt_enter_microwave_mode_logic_ON_rlt_fired_1 = (rlt_enter_microwave_mode_logic_ON_rlt_fired_0 and 
707
      (
708
      
709
      ((rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root >= 1) and 
710
      (rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root <= 3)) and 
711
      
712
      (if (chart_microwave_mode_logic_door_closed <> 0)
713
         then true
714
         else false)));
715

    
716
   
717
   
718
   rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root = 
719
      (if rlt_enter_microwave_mode_logic_ON_rlt_fired_1
720
         then 
721
               (if (not (rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root = 2))
722
                  then 
723
                        
724
                        2
725
                  else rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root)
726
         else rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root);
727
   
728
   
729

    
730
   
731
   
732
   rlt_enter_microwave_mode_logic_ON_rlt_state_2_outports_mode = 
733
      (if rlt_enter_microwave_mode_logic_ON_rlt_fired_1
734
         then 
735
               (if (not (rlt_enter_microwave_mode_logic_ON_rlt_state_1_states___root = 2))
736
                  then 2
737
                  else chart_microwave_mode_logic_begin_state_outports_mode)
738
         else chart_microwave_mode_logic_begin_state_outports_mode);
739
   
740
   
741

    
742
   
743
   
744
   rlt_enter_microwave_mode_logic_ON_rlt_fired_2 = (rlt_enter_microwave_mode_logic_ON_rlt_fired_0 and 
745
      (
746
      
747
      ((rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root >= 1) and 
748
      (rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root <= 3)) and 
749
      (not rlt_enter_microwave_mode_logic_ON_rlt_fired_1)));
750

    
751
   
752
   
753
   rlt_enter_microwave_mode_logic_ON_rlt_state_4_states___root = 
754
      (if rlt_enter_microwave_mode_logic_ON_rlt_fired_2
755
         then 
756
               (if (not (rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root = 3))
757
                  then 
758
                        
759
                        3
760
                  else rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root)
761
         else rlt_enter_microwave_mode_logic_ON_rlt_state_2_states___root);
762
   
763
   
764

    
765
   
766
   
767
   rlt_enter_microwave_mode_logic_rlt_state_2_states___root = 
768
      (if (not (chart_microwave_mode_logic_begin_state_states___root = 4))
769
         then 
770
               
771
               4
772
         else chart_microwave_mode_logic_begin_state_states___root);
773
   
774
   
775

    
776
   microwave_microwave_mode_logic_mode = chart_microwave_mode_logic_mode;
777

    
778

    
779
   MWI_FcnMaxI_In13 = ((pre rlt__Arrow5) - 1);
780

    
781

    
782
   rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock = enable;
783

    
784
   KP_01 = KP_0;
785

    
786
   KP_11 = KP_1;
787

    
788
   KP_21 = KP_2;
789

    
790
   KP_31 = KP_3;
791

    
792
   KP_41 = KP_4;
793

    
794
   KP_51 = KP_5;
795

    
796
   KP_61 = KP_6;
797

    
798
   KP_71 = KP_7;
799

    
800
   KP_81 = KP_8;
801

    
802
   KP_91 = KP_9;
803

    
804
   microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY = (0 -> 
805
      (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock
806
         then 
807
               (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step
808
                  then 0
809
                  else 
810
               (if KP_CLEAR
811
                  then 0
812
                  else 
813
               (if 
814
                  (if (
815
                     (if (KP_01 and 
816
                        (not (pre KP_01)))
817
                        then 0
818
                        else 
819
                     (if (KP_11 and 
820
                        (not (pre KP_11)))
821
                        then 1
822
                        else 
823
                     (if (KP_21 and 
824
                        (not (pre KP_21)))
825
                        then 2
826
                        else 
827
                     (if (KP_31 and 
828
                        (not (pre KP_31)))
829
                        then 3
830
                        else 
831
                     (if (KP_41 and 
832
                        (not (pre KP_41)))
833
                        then 4
834
                        else 
835
                     (if (KP_51 and 
836
                        (not (pre KP_51)))
837
                        then 5
838
                        else 
839
                     (if (KP_61 and 
840
                        (not (pre KP_61)))
841
                        then 6
842
                        else 
843
                     (if (KP_71 and 
844
                        (not (pre KP_71)))
845
                        then 7
846
                        else 
847
                     (if (KP_81 and 
848
                        (not (pre KP_81)))
849
                        then 8
850
                        else 
851
                     (if (KP_91 and 
852
                        (not (pre KP_91)))
853
                        then 9
854
                        else 10)))))))))) <= 9)
855
                     then true
856
                     else false)
857
                  then (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY)
858
                  else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY))))
859
         else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_LEFT_DIGIT_DIGIT_TO_DISPLAY)));
860

    
861
   microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY = (0 -> 
862
      (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock
863
         then 
864
               (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step
865
                  then 0
866
                  else 
867
               (if KP_CLEAR
868
                  then 0
869
                  else 
870
               (if 
871
                  (if (
872
                     (if (KP_01 and 
873
                        (not (pre KP_01)))
874
                        then 0
875
                        else 
876
                     (if (KP_11 and 
877
                        (not (pre KP_11)))
878
                        then 1
879
                        else 
880
                     (if (KP_21 and 
881
                        (not (pre KP_21)))
882
                        then 2
883
                        else 
884
                     (if (KP_31 and 
885
                        (not (pre KP_31)))
886
                        then 3
887
                        else 
888
                     (if (KP_41 and 
889
                        (not (pre KP_41)))
890
                        then 4
891
                        else 
892
                     (if (KP_51 and 
893
                        (not (pre KP_51)))
894
                        then 5
895
                        else 
896
                     (if (KP_61 and 
897
                        (not (pre KP_61)))
898
                        then 6
899
                        else 
900
                     (if (KP_71 and 
901
                        (not (pre KP_71)))
902
                        then 7
903
                        else 
904
                     (if (KP_81 and 
905
                        (not (pre KP_81)))
906
                        then 8
907
                        else 
908
                     (if (KP_91 and 
909
                        (not (pre KP_91)))
910
                        then 9
911
                        else 10)))))))))) <= 9)
912
                     then true
913
                     else false)
914
                  then (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_RIGHT_DIGIT_DIGIT_TO_DISPLAY)
915
                  else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY))))
916
         else (pre microwave_microwave_KEYPAD_PROCESSING_DISPLAY_MIDDLE_DIGIT_DIGIT_TO_DISPLAY)));
917

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

    
1153
   STEPS_TO_COOK = (
1154
      (if (rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step and 
1155
         (not rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock))
1156
         then 0
1157
         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)) -> 
1158
      (if (rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step and 
1159
         (not rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock))
1160
         then 0
1161
         else 
1162
      (if rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock
1163
         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)
1164
         else (pre STEPS_TO_COOK))));
1165

    
1166
   rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step = (true -> 
1167
      (if (not rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock)
1168
         then true
1169
         else 
1170
      (if (pre rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_clock)
1171
         then false
1172
         else (pre rlt_condact_resetmicrowave_microwave_KEYPAD_PROCESSING_rlt_init_step))));
1173

    
1174
   SETUP = 
1175
      (if (1 = microwave_microwave_mode_logic_mode)
1176
         then true
1177
         else false);
1178

    
1179
   enable = (true -> 
1180
      (if (1 = (pre microwave_microwave_mode_logic_mode))
1181
         then true
1182
         else false));
1183

    
1184

    
1185

    
1186

    
1187
   p34 = (true -> ((not (enable and 
1188
      (not KP_CLEAR))) or 
1189
      ((not ((KP_7 and 
1190
      (not (pre KP_7))) and 
1191
      ((not (KP_6 and 
1192
      (not (pre KP_6)))) and 
1193
      ((not (KP_5 and 
1194
      (not (pre KP_5)))) and 
1195
      ((not (KP_4 and 
1196
      (not (pre KP_4)))) and 
1197
      ((not (KP_3 and 
1198
      (not (pre KP_3)))) and 
1199
      ((not (KP_2 and 
1200
      (not (pre KP_2)))) and 
1201
      ((not (KP_1 and 
1202
      (not (pre KP_1)))) and 
1203
      (not (KP_0 and 
1204
      (not (pre KP_0)))))))))))) or 
1205
      (RIGHT_DIGIT = 7))));
1206

    
1207

    
1208
  --%PROPERTY OK=true;
1209
  --%MAIN;
1210

    
1211
tel
1212