| summaryrefslogtreecommitdiff |
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2018-05-31 16:52:12 +0200 |
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2018-05-31 16:52:12 +0200 |
| commit | 9f784e5c285cdd2631b52a4299eeb193593e6c21 (patch) | |
| tree | c87e912bf03d2c4eb907cd91bca11c0297d865a7 /property/CNE_00100.pro | |
| parent | e520f8b10fbb7b39c563bf626c8d7945a0b424c0 (diff) | |
Adds Tabellion's old properties.
Diffstat (limited to 'property/CNE_00100.pro')
| -rw-r--r-- | property/CNE_00100.pro | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/property/CNE_00100.pro b/property/CNE_00100.pro new file mode 100644 index 0000000..1078938 --- /dev/null +++ b/property/CNE_00100.pro @@ -0,0 +1,59 @@ +(seek + ( + (wfm waveform) + ) + (and + ;; If the name of the waveform does not end in "_n", + (not (string_matches [identifier [is_waveform_of wfm]] ".*_n")) + ;; and there is a process + (exists p1 process + ;; that. + (CTL_verifies p1 + ;; at some point, + (EF + (and + ;; has a condition which tests the the signal against '0'. + (kind "if") + (is_read_structure "(???)") + (is_read_element "0" "=") + (or + (and + (is_read_element "1" "'0'") + (is_read_element "2" wfm) + ) + (and + (is_read_element "1" wfm) + (is_read_element "2" "'0'") + ) + ) + ) + ) + ) + ) + ;; and that signal is never tested against '1'. + (not + (exists p2 process + (CTL_verifies p2 + (EF + (and + (kind "if") + (is_read_structure "(???)") + (is_read_element "0" "=") + (or + (and + (is_read_element "1" "'1'") + (is_read_element "2" wfm) + ) + (and + (is_read_element "1" wfm) + (is_read_element "2" "'1'") + ) + ) + ) + ) + ) + ) + ) + ) + ;; Then it is misnamed. +) |


