summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-19 14:05:52 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-19 14:05:52 +0200
commitf2b7e406b8e77df22ef379a5e880f64d1e5043b9 (patch)
tree269602e9d62971c9c81ba3e2f72c9f8f8cd07017 /data/property/CNE_01900.pro
parent706f4260ef5175a1134be7764aa9640b28fa2335 (diff)
Fixes case/when models, regroups properties.
Diffstat (limited to 'data/property/CNE_01900.pro')
-rw-r--r--data/property/CNE_01900.pro162
1 files changed, 162 insertions, 0 deletions
diff --git a/data/property/CNE_01900.pro b/data/property/CNE_01900.pro
new file mode 100644
index 0000000..51c373f
--- /dev/null
+++ b/data/property/CNE_01900.pro
@@ -0,0 +1,162 @@
+(tag_existing
+ (
+ (x_r waveform CNE_01900_HAS_BAD_NAME)
+ )
+ (and
+ (not (string_matches [identifier [is_waveform_of x_r]] ".*_r[0-9]*"))
+ (exists x waveform
+ (and
+ (not (eq x x_r))
+ (exists ps1 process
+ (and
+ (is_accessed_by x_r ps1)
+ (is_accessed_by x ps1)
+ (is_explicit_process ps1)
+ (exists clk1 waveform
+ (and
+ (is_in_sensitivity_list clk1 ps1)
+ (not (eq clk1 x_r))
+ (not (eq clk1 x))
+ (or
+ (CTL_verifies ps1
+ (AF
+ (and
+ (kind "if")
+ (or
+ (and
+ (is_read_structure "(??)")
+ (or
+ (is_read_element "0" "falling_edge")
+ (is_read_element "0" "rising_edge")
+ )
+ (is_read_element "1" clk1)
+ )
+ (and
+ (is_read_structure "(?(??)(???))")
+ (is_read_element "0" "and")
+ (is_read_element "1" "event")
+ (is_read_element "2" clk1)
+ (is_read_element "3" "=")
+ (or
+ (is_read_element "4" clk1)
+ (is_read_element "5" clk1)
+ )
+ )
+ (and
+ (is_read_structure "(?(???)(??))")
+ (is_read_element "0" "and")
+ (is_read_element "1" "=")
+ (or
+ (is_read_element "2" clk1)
+ (is_read_element "3" clk1)
+ )
+ (is_read_element "4" "event")
+ (is_read_element "5" clk1)
+ )
+ )
+ (EX
+ (and
+ (has_option "cond_was_true")
+ (does_not_reach_parent_before
+ (and
+ (expr_writes x_r)
+ (is_read_structure "?")
+ (is_read_element "0" x)
+ (AX
+ (not
+ (EF
+ (expr_writes x_r)
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ (exists rst1 waveform
+ (and
+ (is_in_sensitivity_list rst1 ps1)
+ (not (eq rst1 x_r))
+ (not (eq rst1 x))
+ (not (eq rst1 clk1))
+ (CTL_verifies ps1
+ (AF
+ (and
+ (kind "if")
+ (is_read_structure "(???)")
+ (is_read_element "0" "=")
+ (is_read_element _ rst1)
+ (EX
+ (and
+ (not (has_option "cond_was_true"))
+ (kind "if")
+ (or
+ (and
+ (is_read_structure "(??)")
+ (or
+ (is_read_element "0" "falling_edge")
+ (is_read_element "0" "rising_edge")
+ )
+ (is_read_element "1" clk1)
+ )
+ (and
+ (is_read_structure "(?(??)(???))")
+ (is_read_element "0" "and")
+ (is_read_element "1" "event")
+ (is_read_element "2" clk1)
+ (is_read_element "3" "=")
+ (or
+ (is_read_element "4" clk1)
+ (is_read_element "5" clk1)
+ )
+ )
+ (and
+ (is_read_structure "(?(???)(??))")
+ (is_read_element "0" "and")
+ (is_read_element "1" "=")
+ (or
+ (is_read_element "2" clk1)
+ (is_read_element "3" clk1)
+ )
+ (is_read_element "4" "event")
+ (is_read_element "5" clk1)
+ )
+ )
+ (EX
+ (and
+ (has_option "cond_was_true")
+ (does_not_reach_parent_before
+ (and
+ (expr_writes x_r)
+ (is_read_structure "?")
+ (is_read_element "0" x)
+ (AX
+ (not
+ (EF
+ (expr_writes x_r)
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+)