summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'property/likely_a_clock.pro')
-rw-r--r--property/likely_a_clock.pro56
1 files changed, 56 insertions, 0 deletions
diff --git a/property/likely_a_clock.pro b/property/likely_a_clock.pro
new file mode 100644
index 0000000..d5acaed
--- /dev/null
+++ b/property/likely_a_clock.pro
@@ -0,0 +1,56 @@
+(seek
+ (
+ (clock port)
+ )
+ (exists wf waveform
+ (and
+ (is_waveform_of wf clock)
+ (exists ps process
+ (and
+ (is_accessed_by wf ps)
+ (is_in_sensitivity_list wf ps)
+ (CTL_verifies ps
+ (EF
+ (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" wf)
+ )
+ (and
+ (is_read_structure "(?(??)(???))")
+ (is_read_element "0" "and")
+ (is_read_element "1" "event")
+ (is_read_element "2" wf)
+ (is_read_element "3" "=")
+ (or
+ (is_read_element "4" wf)
+ (is_read_element "5" wf)
+ )
+ )
+ (and
+ (is_read_structure "(?(???)(??))")
+ (is_read_element "0" "and")
+ (is_read_element "1" "=")
+ (or
+ (is_read_element "2" wf)
+ (is_read_element "3" wf)
+ )
+ (is_read_element "4" "event")
+ (is_read_element "5" wf)
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+ )
+)