We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 371bb9a commit 0d01da4Copy full SHA for 0d01da4
regression/smv/modules/self1.desc
@@ -0,0 +1,8 @@
1
+KNOWNBUG
2
+self1.smv
3
+^EXIT=0$
4
+^SIGNAL=0$
5
+--
6
+^warning: ignoring
7
8
+This does not parse.
regression/smv/modules/self1.smv
@@ -0,0 +1,18 @@
+-- from the NuSMV 2.7 manual
+
+MODULE container(init_value1, init_value2)
+ VAR c1 : counter(init_value1, self);
+ VAR c2 : counter(init_value2, self);
+MODULE counter(init_value, my_container)
+ VAR v: 1..100;
9
+ ASSIGN
10
+ init(v) := init_value;
11
+ DEFINE
12
+ greatestCounterInContainer := v >= my_container.c1.v &
13
+ v >= my_container.c2.v;
14
15
+MODULE main
16
+ VAR c : container(14, 7);
17
+ SPEC
18
+ c.c1.greatestCounterInContainer;
0 commit comments