~tapaal-ltl/verifypn/rule-D-fix

« back to all changes in this revision

Viewing changes to test_models/other-test015/model.pnml

  • Committer: Peter G. Jensen
  • Date: 2020-07-03 09:19:50 UTC
  • mto: This revision was merged to the branch mainline in revision 225.
  • Revision ID: root@petergjoel.dk-20200703091950-0wdbe4bezt4obe0t
added simple test-script and test models

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 
2
<pnml xmlns="http://www.pnml.org/version-2009/grammar/pnml">
 
3
    <net id="ComposedModel" type="http://www.pnml.org/version-2009/grammar/ptnet">
 
4
        <page id="page0">
 
5
            <place id="A1">
 
6
                <graphics>
 
7
                    <position x="195" y="195"/>
 
8
                </graphics>
 
9
                <name>
 
10
                    <graphics>
 
11
                        <offset x="-5" y="35"/>
 
12
                    </graphics>
 
13
                    <text>A1</text>
 
14
                </name>
 
15
                <initialMarking>
 
16
                    <text>1</text>
 
17
                </initialMarking>
 
18
            </place>
 
19
            <place id="OP1">
 
20
                <graphics>
 
21
                    <position x="195" y="525"/>
 
22
                </graphics>
 
23
                <name>
 
24
                    <graphics>
 
25
                        <offset x="-5" y="35"/>
 
26
                    </graphics>
 
27
                    <text>OP1</text>
 
28
                </name>
 
29
                <initialMarking>
 
30
                    <text>0</text>
 
31
                </initialMarking>
 
32
            </place>
 
33
            <place id="A2">
 
34
                <graphics>
 
35
                    <position x="480" y="195"/>
 
36
                </graphics>
 
37
                <name>
 
38
                    <graphics>
 
39
                        <offset x="-5" y="35"/>
 
40
                    </graphics>
 
41
                    <text>A2</text>
 
42
                </name>
 
43
                <initialMarking>
 
44
                    <text>1</text>
 
45
                </initialMarking>
 
46
            </place>
 
47
            <place id="SIGNAL1">
 
48
                <graphics>
 
49
                    <position x="195" y="765"/>
 
50
                </graphics>
 
51
                <name>
 
52
                    <graphics>
 
53
                        <offset x="-5" y="35"/>
 
54
                    </graphics>
 
55
                    <text>SIGNAL1</text>
 
56
                </name>
 
57
                <initialMarking>
 
58
                    <text>0</text>
 
59
                </initialMarking>
 
60
            </place>
 
61
            <place id="SIGNAL2">
 
62
                <graphics>
 
63
                    <position x="480" y="765"/>
 
64
                </graphics>
 
65
                <name>
 
66
                    <graphics>
 
67
                        <offset x="-5" y="35"/>
 
68
                    </graphics>
 
69
                    <text>SIGNAL2</text>
 
70
                </name>
 
71
                <initialMarking>
 
72
                    <text>0</text>
 
73
                </initialMarking>
 
74
            </place>
 
75
            <place id="B">
 
76
                <graphics>
 
77
                    <position x="1005" y="510"/>
 
78
                </graphics>
 
79
                <name>
 
80
                    <graphics>
 
81
                        <offset x="-5" y="36"/>
 
82
                    </graphics>
 
83
                    <text>B</text>
 
84
                </name>
 
85
                <initialMarking>
 
86
                    <text>1</text>
 
87
                </initialMarking>
 
88
            </place>
 
89
            <place id="NULL">
 
90
                <graphics>
 
91
                    <position x="615" y="75"/>
 
92
                </graphics>
 
93
                <name>
 
94
                    <graphics>
 
95
                        <offset x="-5" y="35"/>
 
96
                    </graphics>
 
97
                    <text>NULL</text>
 
98
                </name>
 
99
                <initialMarking>
 
100
                    <text>0</text>
 
101
                </initialMarking>
 
102
            </place>
 
103
            <place id="BNOT">
 
104
                <graphics>
 
105
                    <position x="165" y="75"/>
 
106
                </graphics>
 
107
                <name>
 
108
                    <graphics>
 
109
                        <offset x="-5" y="35"/>
 
110
                    </graphics>
 
111
                    <text>BNOT</text>
 
112
                </name>
 
113
                <initialMarking>
 
114
                    <text>3</text>
 
115
                </initialMarking>
 
116
            </place>
 
117
            <place id="OP2">
 
118
                <graphics>
 
119
                    <position x="480" y="510"/>
 
120
                </graphics>
 
121
                <name>
 
122
                    <graphics>
 
123
                        <offset x="-5" y="35"/>
 
124
                    </graphics>
 
125
                    <text>OP2</text>
 
126
                </name>
 
127
                <initialMarking>
 
128
                    <text>0</text>
 
129
                </initialMarking>
 
130
            </place>
 
131
            <place id="A3">
 
132
                <graphics>
 
133
                    <position x="720" y="195"/>
 
134
                </graphics>
 
135
                <name>
 
136
                    <graphics>
 
137
                        <offset x="-5" y="35"/>
 
138
                    </graphics>
 
139
                    <text>A3</text>
 
140
                </name>
 
141
                <initialMarking>
 
142
                    <text>1</text>
 
143
                </initialMarking>
 
144
            </place>
 
145
            <place id="OP3">
 
146
                <graphics>
 
147
                    <position x="735" y="510"/>
 
148
                </graphics>
 
149
                <name>
 
150
                    <graphics>
 
151
                        <offset x="-5" y="35"/>
 
152
                    </graphics>
 
153
                    <text>OP3</text>
 
154
                </name>
 
155
                <initialMarking>
 
156
                    <text>0</text>
 
157
                </initialMarking>
 
158
            </place>
 
159
            <place id="SIGNAL3">
 
160
                <graphics>
 
161
                    <position x="750" y="765"/>
 
162
                </graphics>
 
163
                <name>
 
164
                    <graphics>
 
165
                        <offset x="-5" y="35"/>
 
166
                    </graphics>
 
167
                    <text>SIGNAL3</text>
 
168
                </name>
 
169
                <initialMarking>
 
170
                    <text>0</text>
 
171
                </initialMarking>
 
172
            </place>
 
173
            <transition id="T2">
 
174
                <name>
 
175
                    <graphics>
 
176
                        <offset x="-5" y="35"/>
 
177
                    </graphics>
 
178
                    <text>T2</text>
 
179
                </name>
 
180
                <graphics>
 
181
                    <position x="195" y="345"/>
 
182
                </graphics>
 
183
            </transition>
 
184
            <transition id="T7">
 
185
                <name>
 
186
                    <graphics>
 
187
                        <offset x="-5" y="35"/>
 
188
                    </graphics>
 
189
                    <text>T7</text>
 
190
                </name>
 
191
                <graphics>
 
192
                    <position x="480" y="345"/>
 
193
                </graphics>
 
194
            </transition>
 
195
            <transition id="T10">
 
196
                <name>
 
197
                    <graphics>
 
198
                        <offset x="-5" y="35"/>
 
199
                    </graphics>
 
200
                    <text>T10</text>
 
201
                </name>
 
202
                <graphics>
 
203
                    <position x="195" y="705"/>
 
204
                </graphics>
 
205
            </transition>
 
206
            <transition id="T13">
 
207
                <name>
 
208
                    <graphics>
 
209
                        <offset x="-5" y="35"/>
 
210
                    </graphics>
 
211
                    <text>T13</text>
 
212
                </name>
 
213
                <graphics>
 
214
                    <position x="480" y="705"/>
 
215
                </graphics>
 
216
            </transition>
 
217
            <transition id="T18">
 
218
                <name>
 
219
                    <graphics>
 
220
                        <offset x="-5" y="35"/>
 
221
                    </graphics>
 
222
                    <text>T18</text>
 
223
                </name>
 
224
                <graphics>
 
225
                    <position x="105" y="345"/>
 
226
                </graphics>
 
227
            </transition>
 
228
            <transition id="CARRY1">
 
229
                <name>
 
230
                    <graphics>
 
231
                        <offset x="-5" y="35"/>
 
232
                    </graphics>
 
233
                    <text>CARRY1</text>
 
234
                </name>
 
235
                <graphics>
 
236
                    <position x="390" y="345"/>
 
237
                </graphics>
 
238
            </transition>
 
239
            <transition id="CARRY2">
 
240
                <name>
 
241
                    <graphics>
 
242
                        <offset x="-5" y="35"/>
 
243
                    </graphics>
 
244
                    <text>CARRY2</text>
 
245
                </name>
 
246
                <graphics>
 
247
                    <position x="660" y="345"/>
 
248
                </graphics>
 
249
            </transition>
 
250
            <transition id="T21">
 
251
                <name>
 
252
                    <graphics>
 
253
                        <offset x="-5" y="35"/>
 
254
                    </graphics>
 
255
                    <text>T21</text>
 
256
                </name>
 
257
                <graphics>
 
258
                    <position x="735" y="345"/>
 
259
                </graphics>
 
260
            </transition>
 
261
            <transition id="T23">
 
262
                <name>
 
263
                    <graphics>
 
264
                        <offset x="-5" y="35"/>
 
265
                    </graphics>
 
266
                    <text>T23</text>
 
267
                </name>
 
268
                <graphics>
 
269
                    <position x="750" y="705"/>
 
270
                </graphics>
 
271
            </transition>
 
272
            <arc id="A1_to_T2" source="A1" target="T2" type="normal"/>
 
273
            <arc id="A2_to_T7" source="A2" target="T7" type="normal"/>
 
274
            <arc id="B_to_T10" source="B" target="T10" type="normal"/>
 
275
            <arc id="B_to_T13" source="B" target="T13" type="normal"/>
 
276
            <arc id="B_to_T2" source="B" target="T2" type="normal"/>
 
277
            <arc id="OP1_to_T10" source="OP1" target="T10" type="normal"/>
 
278
            <arc id="BNOT_to_T18" source="BNOT" target="T18" type="normal"/>
 
279
            <arc id="A1_to_T18" source="A1" target="T18" type="normal"/>
 
280
            <arc id="OP2_to_T13" source="OP2" target="T13" type="normal"/>
 
281
            <arc id="A2_to_CARRY1" source="A2" target="CARRY1" type="normal"/>
 
282
            <arc id="B_to_T7" source="B" target="T7" type="normal"/>
 
283
            <arc id="BNOT_to_CARRY1" source="BNOT" target="CARRY1" type="normal"/>
 
284
            <arc id="OP1_to_CARRY1" source="OP1" target="CARRY1" type="normal"/>
 
285
            <arc id="A3_to_CARRY2" source="A3" target="CARRY2" type="normal"/>
 
286
            <arc id="A3_to_T21" source="A3" target="T21" type="normal"/>
 
287
            <arc id="OP2_to_CARRY2" source="OP2" target="CARRY2" type="normal"/>
 
288
            <arc id="OP3_to_T23" source="OP3" target="T23" type="normal"/>
 
289
            <arc id="B_to_T21" source="B" target="T21" type="normal"/>
 
290
            <arc id="BNOT_to_CARRY2" source="BNOT" target="CARRY2" type="normal"/>
 
291
            <arc id="B_to_T23" source="B" target="T23" type="normal"/>
 
292
            <arc id="T2_to_OP1" source="T2" target="OP1" type="normal"/>
 
293
            <arc id="T10_to_SIGNAL1" source="T10" target="SIGNAL1" type="normal"/>
 
294
            <arc id="T13_to_SIGNAL2" source="T13" target="SIGNAL2" type="normal"/>
 
295
            <arc id="T2_to_NULL" source="T2" target="NULL" type="normal"/>
 
296
            <arc id="T7_to_NULL" source="T7" target="NULL" type="normal"/>
 
297
            <arc id="T18_to_OP1" source="T18" target="OP1" type="normal"/>
 
298
            <arc id="T7_to_OP2" source="T7" target="OP2" type="normal"/>
 
299
            <arc id="CARRY1_to_OP2" source="CARRY1" target="OP2" type="normal"/>
 
300
            <arc id="CARRY2_to_OP3" source="CARRY2" target="OP3" type="normal"/>
 
301
            <arc id="T21_to_OP3" source="T21" target="OP3" type="normal"/>
 
302
            <arc id="T21_to_NULL" source="T21" target="NULL" type="normal"/>
 
303
            <arc id="T23_to_SIGNAL3" source="T23" target="SIGNAL3" type="normal"/>
 
304
        </page>
 
305
        <name>
 
306
            <text>ComposedModel</text>
 
307
        </name>
 
308
    </net>
 
309
</pnml>