Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec-tests / regression_tests / lustre_files / success / Simulink / src_nogen_blocks_test / nogen_blocks_test.smt2 @ 6c3ea955

History | View | Annotate | Download (1.65 KB)

1
; nogen_blocks_test
2
(declare-var nogen_blocks_test.In1_1_1 Real)
3
(declare-var nogen_blocks_test.In2_1_1 Real)
4
(declare-var nogen_blocks_test.Out1_1_1 Real)
5
(declare-var nogen_blocks_test.ni_0._arrow._first_c Bool)
6
(declare-var nogen_blocks_test.ni_0._arrow._first_m Bool)
7
(declare-var nogen_blocks_test.ni_0._arrow._first_x Bool)
8
(declare-var nogen_blocks_test.__nogen_blocks_test_1 Bool)
9
(declare-var nogen_blocks_test.i_virtual_local Real)
10
(declare-rel nogen_blocks_test_reset (Bool Bool))
11
(declare-rel nogen_blocks_test_step (Real Real Real Bool Bool))
12

    
13
(rule (=> 
14
  (and 
15
       
16
       (= nogen_blocks_test.ni_0._arrow._first_m true)
17
  )
18
  (nogen_blocks_test_reset nogen_blocks_test.ni_0._arrow._first_c
19
                           nogen_blocks_test.ni_0._arrow._first_m)
20
))
21

    
22
(rule (=> 
23
  (and (= nogen_blocks_test.ni_0._arrow._first_m nogen_blocks_test.ni_0._arrow._first_c)
24
       (and (= nogen_blocks_test.__nogen_blocks_test_1 (ite nogen_blocks_test.ni_0._arrow._first_m true false))
25
            (= nogen_blocks_test.ni_0._arrow._first_x false))
26
       (and (or (not (= nogen_blocks_test.__nogen_blocks_test_1 true))
27
               (= nogen_blocks_test.i_virtual_local 0.0))
28
            (or (not (= nogen_blocks_test.__nogen_blocks_test_1 false))
29
               (= nogen_blocks_test.i_virtual_local 1.0))
30
       )
31
       (= nogen_blocks_test.Out1_1_1 nogen_blocks_test.In1_1_1)
32
       )
33
  (nogen_blocks_test_step nogen_blocks_test.In1_1_1
34
                          nogen_blocks_test.In2_1_1
35
                          nogen_blocks_test.Out1_1_1
36
                          nogen_blocks_test.ni_0._arrow._first_c
37
                          nogen_blocks_test.ni_0._arrow._first_x)
38
))
39