summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-08-01 13:33:24 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-08-01 13:33:24 +0200
commit406ef632388808f75f9c0a3e18460a865eed4656 (patch)
tree9783b5661cf1e64767f59c9a616eb4fc6c15d0d9 /data/property/cnes/CNE_01900.pro
parentd175915ff0f1fbd7e07eb11029aad7376801a36f (diff)
Adds more rules and prettyprint messages for them.
Diffstat (limited to 'data/property/cnes/CNE_01900.pro')
-rw-r--r--data/property/cnes/CNE_01900.pro102
1 files changed, 102 insertions, 0 deletions
diff --git a/data/property/cnes/CNE_01900.pro b/data/property/cnes/CNE_01900.pro
new file mode 100644
index 0000000..0e11415
--- /dev/null
+++ b/data/property/cnes/CNE_01900.pro
@@ -0,0 +1,102 @@
+(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
+ (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)
+ (or
+ (CTL_verifies ps1
+ (AF
+ (and
+ (kind "if")
+ (is_read_structure "(??)")
+ (or
+ (is_read_element "0" "falling_edge")
+ (is_read_element "0" "rising_edge")
+ )
+ (is_read_element "1" 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)
+ (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")
+ (is_read_structure "(??)")
+ (or
+ (is_read_element "0" "falling_edge")
+ (is_read_element "0" "rising_edge")
+ )
+ (is_read_element "1" 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)
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+)