From 9f784e5c285cdd2631b52a4299eeb193593e6c21 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Thu, 31 May 2018 16:52:12 +0200 Subject: Adds Tabellion's old properties. --- property/async_reset_flip_flop.pro | 81 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 property/async_reset_flip_flop.pro (limited to 'property/async_reset_flip_flop.pro') diff --git a/property/async_reset_flip_flop.pro b/property/async_reset_flip_flop.pro new file mode 100644 index 0000000..729a224 --- /dev/null +++ b/property/async_reset_flip_flop.pro @@ -0,0 +1,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) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) + ) +) -- cgit v1.2.3-70-g09d2