From 406ef632388808f75f9c0a3e18460a865eed4656 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Tue, 1 Aug 2017 13:33:24 +0200 Subject: Adds more rules and prettyprint messages for them. --- data/property/cnes/CNE_01900.pro | 102 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 data/property/cnes/CNE_01900.pro (limited to 'data/property/cnes/CNE_01900.pro') 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) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) +) -- cgit v1.2.3-70-g09d2