summaryrefslogtreecommitdiff
blob: 729a2245863f15677e2ff6abf69b4e0c4e8b9fd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
(seek
   (
      (reg waveform)
      (clk waveform)
      (rst waveform)
      (ps process)
   )
   (and
      (not (eq clk reg))
      (not (eq rst reg))
      (not (eq rst clk))
      (is_explicit_process ps)
      (is_in_sensitivity_list clk ps)
      (is_in_sensitivity_list rst ps)
      (CTL_verifies ps
         (AU
            (not (expr_writes reg))
            (and
               (kind "if")
               (is_read_structure "(???)")
               (is_read_element "0" "=")
               (is_read_element _ rst)
               (EX
                  (and
                     (not (has_option "cond_was_true"))
                     (or
                        (and
                           (is_read_structure "(??)")
                           (or
                              (is_read_element "0" "falling_edge")
                              (is_read_element "0" "rising_edge")
                           )
                           (is_read_element "1" clk)
                        )
                        (and
                           (is_read_structure "(?(??)(???))")
                           (is_read_element "0" "and")
                           (is_read_element "1" "event")
                           (is_read_element "2" clk)
                           (is_read_element "3" "=")
                           (or
                              (is_read_element "4" clk)
                              (is_read_element "5" clk)
                           )
                        )
                        (and
                           (is_read_structure "(?(???)(??))")
                           (is_read_element "0" "and")
                           (is_read_element "1" "=")
                           (or
                              (is_read_element "2" clk)
                              (is_read_element "3" clk)
                           )
                           (is_read_element "4" "event")
                           (is_read_element "5" clk)
                        )
                     )
                     (EX
                        (and
                           (has_option "COND_WAS_TRUE")
                           (does_not_reach_parent_before
                              (and
                                 (expr_writes reg)
                                 (AX
                                    (not
                                       (EF
                                          (expr_writes reg)
                                       )
                                    )
                                 )
                              )
                           )
                        )
                     )
                  )
               )
            )
         )
      )
   )
)