summaryrefslogtreecommitdiff
blob: ea67575e1ef1eadde259c0cac5f79bf0f0c2f15b (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
(tag_existing
   (
      (reg waveform STRUCT_SIMPLE_FLIP_FLOP_OUTPUT)
      (clk waveform STRUCT_SIMPLE_FLIP_FLOP_CLOCK)
      (ps process STRUCT_SIMPLE_FLIP_FLOP_PROCESS)
   )
   (and
      (is_explicit_process ps)
      (is_in_sensitivity_list clk ps)
      (CTL_verifies ps
         (AF
            (and
               (kind "if")
               (is_read_structure "(??)")
               (or
                  (is_read_element "0" "falling_edge")
                  (is_read_element "0" "rising_edge")
               )
               (is_read_element "1" clk)
               (EX
                  (and
                     (has_option "COND_WAS_TRUE")
                     (does_not_reach_parent_before
                        (and
                           (expr_writes reg)
                           (AX
                              (not
                                 (EF
                                    (expr_writes reg)
                                 )
                              )
                           )
                        )
                     )
                  )
               )
            )
         )
      )
   )
)