summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-20 17:19:42 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-20 17:19:42 +0200
commitbc3e8933e1005e93e4a97b9a207cb40db454a2a8 (patch)
treec6b6431a7ab6e1188faab80efb2d89712d4b48a6 /data/property/CNE_01100.pro
parent71e7acf1ac104258a295a2662d6dc71f49ac77aa (diff)
Solves the missing solutions bug. Starts PropDeps.
Diffstat (limited to 'data/property/CNE_01100.pro')
-rw-r--r--data/property/CNE_01100.pro35
1 files changed, 22 insertions, 13 deletions
diff --git a/data/property/CNE_01100.pro b/data/property/CNE_01100.pro
index ad94747..6ed2cff 100644
--- a/data/property/CNE_01100.pro
+++ b/data/property/CNE_01100.pro
@@ -2,19 +2,28 @@
(
(pt port CNE_01100_BAD_NAME)
)
- (not
- (or
- (and
- (string_matches [identifier pt] "^i_.*")
- (has_mode pt "in")
- )
- (and
- (string_matches [identifier pt] "^o_.*")
- (has_mode pt "out")
- )
- (and
- (string_matches [identifier pt] "^b_.*")
- (has_mode pt "inout")
+ (exists pt2 port
+ (and
+;; Goes into infinity:
+;; (has_mode pt2 _)
+;; (has_mode pt2 "in")
+;; Fixes all:
+ (eq pt2 pt)
+ (not
+ (or
+ (and
+ (string_matches [identifier pt] "^i_.*")
+ (has_mode pt "in")
+ )
+ (and
+ (string_matches [identifier pt] "^o_.*")
+ (has_mode pt "out")
+ )
+ (and
+ (string_matches [identifier pt] "^b_.*")
+ (has_mode pt "inout")
+ )
+ )
)
)
)