-
Notifications
You must be signed in to change notification settings - Fork 0
/
result.xml
1551 lines (1545 loc) · 72.1 KB
/
result.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<nta><declaration>
const int NULL := -1;
const int BEGIN_REQ := 1;
const int END_REQ := 2;
const int BEGIN_RESP := 3;
const int END_RESP := 4;
const int TLM_OK_RESPONSE := 1;
const int TLM_BURST_ERROR_RESPONSE := 2;
const int TLM_GENERIC_ERROR_RESPONSE := 3;
const int TLM_INCOMPLETE_RESPONSE := 4;
const int TLM_BYTE_ENABLE_ERROR_RESPONSE := 5;
const int TLM_READ_COMMAND := 31;
const int TLM_WRITE_COMMAND := 32;
const int TLM_IGNORE_COMMAND := 33;
chan tran_acquire_ctrl, tran_release_ctrl;
clock global;
typedef struct {
int tlm_phase_type;
int command;
int address;
int data_ptr;
int data_length;
int streaming_width;
int byte_enable_ptr;
int dmi_allowed;
int response_status;
} payload;
payload payload_empty = {0,0,0,0,0,0,0,0,0};
const int INT_MEMSIZE := 31;
int intMem[INT_MEMSIZE] = {0, 0, 0, 2222, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
const int PAYLOAD_MEMSIZE := 5;
payload payloadMem[PAYLOAD_MEMSIZE] = {{0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0,0}};
const int TLM_ACCEPTED := 0;
const int TLM_COMPLETED := 2;
const int TLM_UPDATED := 1;
chan activate;
broadcast chan advancetime;
chan deactivate;
int deltacount := 0;
broadcast chan deltadelay;
broadcast chan dummybchannel;
chan dummychannel;
int dummyinteger;
broadcast chan initdone;
const int[-1, INT_MEMSIZE-1] initiator_Initiator_peq_cb_local_delay := 1;
const int[-1, INT_MEMSIZE-1] initiator_Initiator_peq_cb_local_fw_phase := 6;
chan initiator_allocate_ctrl;
int initiator_allocate_return := NULL;
chan initiator_check_transaction_ctrl;
int[-1, PAYLOAD_MEMSIZE-1] initiator_check_transaction_param_tran;
int initiator_count;
const int[-1, INT_MEMSIZE-1] initiator_data := 7;
chan initiator_end_request_event_notify;
chan initiator_end_request_event_notify_imm;
int initiator_end_request_event_notify_t;
broadcast chan initiator_end_request_event_wait;
int initiator_firstIndex;
chan initiator_free_ctrl;
int initiator_free_param_tran := NULL;
int initiator_freeIndex;
bool initiator_m_peq_peqInUse[4];
chan initiator_m_peq_peq_dispatcher_ctrl;
chan initiator_m_peq_peq_fetch_ctrl;
int[-1, INT_MEMSIZE-1] initiator_m_peq_peq_fetch_param_phase;
int[-1, PAYLOAD_MEMSIZE-1] initiator_m_peq_peq_fetch_param_tran;
chan initiator_m_peq_peq_notify_ctrl[4];
int initiator_m_peq_peq_notify_param_delay;
int[-1, INT_MEMSIZE-1] initiator_m_peq_peq_notify_param_phase;
int[-1, PAYLOAD_MEMSIZE-1] initiator_m_peq_peq_notify_param_trans;
const int[-1, INT_MEMSIZE-1] initiator_m_peq_peq_notify0_local_phase := 30;
const int[-1, INT_MEMSIZE-1] initiator_m_peq_peq_notify1_local_phase := 27;
const int[-1, INT_MEMSIZE-1] initiator_m_peq_peq_notify2_local_phase := 25;
const int[-1, INT_MEMSIZE-1] initiator_m_peq_peq_notify3_local_phase := 24;
const int[-1, PAYLOAD_MEMSIZE-1] initiator_mem := 0;
chan initiator_peq_cb_ctrl;
int[-1, INT_MEMSIZE-1] initiator_peq_cb_param_phase;
int[-1, PAYLOAD_MEMSIZE-1] initiator_peq_cb_param_tran;
int[-1, PAYLOAD_MEMSIZE-1] initiator_request_in_progress;
const int[-1, INT_MEMSIZE-1] initiator_thread0_Initiator_thread_process_local_delay := 5;
const int[-1, INT_MEMSIZE-1] initiator_thread0_Initiator_thread_process_local_phase := 4;
broadcast chan initiator_thread0_sensitivechan;
chan initiator_thread0_thread_process_ctrl;
chan initiator_thread0_timeoutevent_notify;
chan initiator_thread0_timeoutevent_notify_imm;
int initiator_thread0_timeoutevent_notify_t;
broadcast chan initiator_thread0_timeoutevent_wait;
const int null := -1;
int readyprocs := 1;
chan target_b_transport_ctrl;
int[-1, INT_MEMSIZE-1] target_b_transport_param_t;
int[-1, PAYLOAD_MEMSIZE-1] target_b_transport_param_tran;
int[-1, PAYLOAD_MEMSIZE-1] target_end_req_pending;
bool target_m_peq_peqInUse[4];
chan target_m_peq_peq_dispatcher_ctrl;
chan target_m_peq_peq_fetch_ctrl;
int[-1, INT_MEMSIZE-1] target_m_peq_peq_fetch_param_phase;
int[-1, PAYLOAD_MEMSIZE-1] target_m_peq_peq_fetch_param_tran;
chan target_m_peq_peq_notify_ctrl[4];
int target_m_peq_peq_notify_param_delay;
int[-1, INT_MEMSIZE-1] target_m_peq_peq_notify_param_phase;
int[-1, PAYLOAD_MEMSIZE-1] target_m_peq_peq_notify_param_trans;
const int[-1, INT_MEMSIZE-1] target_m_peq_peq_notify0_local_phase := 23;
const int[-1, INT_MEMSIZE-1] target_m_peq_peq_notify1_local_phase := 28;
const int[-1, INT_MEMSIZE-1] target_m_peq_peq_notify2_local_phase := 26;
const int[-1, INT_MEMSIZE-1] target_m_peq_peq_notify3_local_phase := 29;
int target_n_trans := 0;
chan target_nb_transport_fw_ctrl;
int[-1, INT_MEMSIZE-1] target_nb_transport_fw_param_phase;
int[-1, INT_MEMSIZE-1] target_nb_transport_fw_param_t;
int[-1, PAYLOAD_MEMSIZE-1] target_nb_transport_fw_param_tran;
int target_nb_transport_fw_return;
int[-1, PAYLOAD_MEMSIZE-1] target_next_response_pending;
chan target_peq_cb_ctrl;
int[-1, INT_MEMSIZE-1] target_peq_cb_param_phase;
int[-1, PAYLOAD_MEMSIZE-1] target_peq_cb_param_tran;
int target_response_in_progress := 0;
typedef int tlm_sync_enum;
chan updateend;
int updaterequests := 0;
chan updatestart;
int delaycheck[10] := {0,0,0,0,0,0,0,0,0,0};
int ntransaction := 0;
</declaration>
<template><name>InitializerTemplate</name>
<location id="id0" x="40" y="80">
<name x="30" y="46">Init_temp1</name>
<urgent />
</location>
<location id="id1" x="190" y="80">
<name x="180" y="46">Init_temp2</name>
<committed />
</location>
<init ref="id0" /><transition><source ref="id0" />
<target ref="id1" />
<label kind="synchronisation" x="68" y="85">deltadelay?</label>
</transition></template><template><name>Initiator_allocate</name>
<parameter>const int[-1, PAYLOAD_MEMSIZE-1] mem, int &freeIndex, int &count, chan &allocate_ctrl, int &allocate_return</parameter>
<declaration>int[-1, PAYLOAD_MEMSIZE-1] ptr := NULL;
</declaration>
<location id="id3" x="-128" y="-56">
<name x="-187" y="-93">init_location_allocate</name>
</location>
<location id="id4" x="464" y="-56">
<name x="454" y="-90">Init_allocate1</name>
<urgent />
</location>
<init ref="id3" /><transition><source ref="id3" />
<target ref="id4" />
<label kind="synchronisation" x="93" y="-34">allocate_ctrl?</label>
<label kind="assignment" x="93" y="-17" />
</transition><transition><source ref="id4" />
<target ref="id3" />
<label kind="synchronisation" x="102" y="-195">allocate_ctrl!</label>
<label kind="assignment" x="102" y="-178" />
<nail x="170" y="-144" />
</transition></template><template><name>Initiator_check_transaction</name>
<parameter>chan &free_ctrl, int &free_param_tran, chan &check_transaction_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &check_transaction_param_tran</parameter>
<declaration>int cmd;
int adr;
int[-1, INT_MEMSIZE-1] ptr := NULL;
</declaration>
<location id="id5" x="-8" y="80">
<name x="-187" y="68">init_location_check_tran</name>
</location>
<location id="id6" x="190" y="80">
<name x="212" y="76">init_check_tran1</name>
<urgent />
</location>
<location id="id7" x="190" y="230">
<name x="187" y="246">init_check_tran2</name>
</location>
<location id="id8" x="-8" y="232">
<name x="-68" y="246">init_check_tran3</name>
<urgent />
</location>
<init ref="id5" /><transition><source ref="id5" />
<target ref="id6" />
<label kind="synchronisation" x="-24" y="-7">check_transaction_ctrl?</label>
<label kind="assignment" x="-17" y="8" />
</transition><transition><source ref="id6" />
<target ref="id7" />
<label kind="synchronisation" x="128" y="128">free_ctrl!</label>
<label kind="assignment" x="104" y="144" />
</transition><transition><source ref="id7" />
<target ref="id8" />
<label kind="synchronisation" x="64" y="208">free_ctrl?</label>
</transition><transition><source ref="id8" />
<target ref="id5" />
<label kind="synchronisation" x="-128" y="137">check_transaction_ctrl!</label>
<label kind="assignment" x="-96" y="160" />
</transition></template><template><name>Initiator_free</name>
<parameter>int &firstIndex, int &count, chan &free_ctrl, int &free_param_tran</parameter>
<declaration>int[-1, PAYLOAD_MEMSIZE-1] tran := NULL;
</declaration>
<location id="id9" x="-119" y="84">
<name x="-221" y="51">init_location_free</name>
</location>
<location id="id10" x="190" y="80">
<name x="180" y="46">Init_free1</name>
<urgent />
</location>
<init ref="id9" /><transition><source ref="id9" />
<target ref="id10" />
<label kind="synchronisation" x="-25" y="85">free_ctrl?</label>
<label kind="assignment" x="-34" y="102" />
</transition><transition><source ref="id10" />
<target ref="id9" />
<label kind="synchronisation" x="12" y="-21">free_ctrl!</label>
<label kind="assignment" x="-8" y="-34" />
<nail x="38" y="4" />
</transition></template><template><name>Initiator_peq_cb</name>
<parameter>chan &socket_nb_transport_fw_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &socket_nb_transport_fw_param_tran, int[-1, INT_MEMSIZE-1] &socket_nb_transport_fw_param_phase, int[-1, INT_MEMSIZE-1] &socket_nb_transport_fw_param_t, int &socket_nb_transport_fw_return, int[-1, PAYLOAD_MEMSIZE-1] &request_in_progress, chan &end_request_event_notify_imm, chan &check_transaction_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &check_transaction_param_tran, chan &peq_cb_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &peq_cb_param_tran, int[-1, INT_MEMSIZE-1] &peq_cb_param_phase, const int delay, const int fw_phase</parameter>
<location id="id11" x="-232" y="90">
<name x="-348" y="51">init_location_peq_cb</name>
</location>
<location id="id12" x="-104" y="88">
<name x="-204" y="110">Init_peq_cb1</name>
<urgent />
</location>
<location id="id16" x="336" y="88">
<name x="326" y="54">Init_peq_cb5</name>
<urgent />
</location>
<location id="id17" x="336" y="264">
<name x="326" y="230">Init_peq_cb6</name>
<urgent />
</location>
<location id="id18" x="336" y="432">
<name x="326" y="398">Init_peq_cb7</name>
</location>
<location id="id19" x="496" y="432">
<name x="486" y="398">Init_peq_cb8</name>
<urgent />
</location>
<location id="id20" x="490" y="80">
<name x="480" y="46">Init_peq_cb9</name>
</location>
<location id="id21" x="56" y="-88">
<name>Initiator_peq_cbid21</name><urgent />
</location>
<init ref="id11" /><transition><source ref="id11" />
<target ref="id12" />
<label kind="synchronisation" x="-200" y="88">peq_cb_ctrl?</label>
</transition><transition><source ref="id12" />
<target ref="id16" />
<label kind="guard" x="-280" y="328" />
</transition><transition><source ref="id12" />
<target ref="id16" />
<label kind="guard" x="-76" y="8" />
</transition><transition><source ref="id16" />
<target ref="id17" />
<label kind="guard" x="240" y="176">(intMem[peq_cb_param_phase]) == (BEGIN_RESP)</label>
</transition><transition><source ref="id16" />
<target ref="id21" />
<label kind="guard" x="-51" y="-25">!((intMem[peq_cb_param_phase])==(BEGIN_RESP))</label>
</transition><transition><source ref="id17" />
<target ref="id18" />
<label kind="synchronisation" x="248" y="320">check_transaction_ctrl!</label>
<label kind="assignment" x="248" y="336" />
</transition><transition><source ref="id18" />
<target ref="id19" />
<label kind="synchronisation" x="336" y="440">check_transaction_ctrl?</label>
<label kind="assignment" x="336" y="456" />
</transition><transition><source ref="id19" />
<target ref="id20" />
<label kind="synchronisation" x="408" y="241">socket_nb_transport_fw_ctrl!</label>
<label kind="assignment" x="408" y="256" />
</transition><transition><source ref="id20" />
<target ref="id21" />
<label kind="synchronisation" x="248" y="-32">socket_nb_transport_fw_ctrl?</label>
<label kind="assignment" x="272" y="-119" />
</transition><transition><source ref="id21" />
<target ref="id11" />
<label kind="synchronisation" x="-128" y="-32">peq_cb_ctrl!</label>
</transition></template><template><name>Initiator_thread_process</name>
<parameter>broadcast chan &timeoutevent_wait, chan &timeoutevent_notify, int &timeoutevent_notify_t, chan &socket_nb_transport_fw_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &socket_nb_transport_fw_param_tran, int[-1, INT_MEMSIZE-1] &socket_nb_transport_fw_param_phase, int[-1, INT_MEMSIZE-1] &socket_nb_transport_fw_param_t, int &socket_nb_transport_fw_return, chan &socket_b_transport_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &socket_b_transport_param_tran, int[-1, INT_MEMSIZE-1] &socket_b_transport_param_t, chan &m_peq_peq_dispatcher_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &m_peq_peq_notify_param_trans, int[-1, INT_MEMSIZE-1] &m_peq_peq_notify_param_phase, int &m_peq_peq_notify_param_delay, const int[-1, INT_MEMSIZE-1] data, int[-1, PAYLOAD_MEMSIZE-1] &request_in_progress, broadcast chan &end_request_event_wait, chan &allocate_ctrl, int &allocate_return, chan &check_transaction_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &check_transaction_param_tran, chan &thread_process_ctrl, const int phase, const int delay</parameter>
<declaration>int[-1, PAYLOAD_MEMSIZE-1] tran := NULL;
int i := 0;
int adr;
int auto_rand_value0;
int cmd;
int auto_rand_value1;
int auto_rand_value2;
int status;
</declaration>
<location id="id24" x="-51" y="76">
<name x="-161" y="42">init_location_thread_process</name>
</location>
<location id="id25" x="-42" y="1504">
<name x="-153" y="1513">Init_thread_process12</name>
<urgent />
</location>
<location id="id27" x="986" y="1496">
<name x="1011" y="1479">Init_thread_process11</name>
<urgent />
</location>
<location id="id31" x="144" y="467">
<name x="127" y="476">Init_thread_process17</name>
<urgent />
</location>
<location id="id34" x="433" y="467">
<name x="425" y="484">Init_thread_process18</name>
<urgent />
</location>
<location id="id35" x="212" y="561">
<name x="238" y="552">Init_thread_process19</name>
</location>
<location id="id36" x="221" y="884">
<name x="178" y="841">Init_thread_process20</name>
<urgent />
</location>
<location id="id37" x="221" y="1181">
<name x="153" y="1139">Init_thread_process34</name>
<urgent />
</location>
<location id="id38" x="374" y="1173">
<name x="314" y="1139">Init_thread_process33</name>
</location>
<location id="id39" x="374" y="1028">
<name x="306" y="994">Init_thread_process32</name>
<urgent />
</location>
<location id="id41" x="569" y="705">
<name x="527" y="714">Init_thread_process22</name>
<urgent />
</location>
<location id="id42" x="850" y="705">
<name x="867" y="697">Init_thread_process23</name>
</location>
<location id="id43" x="850" y="867">
<name x="816" y="875">Init_thread_process24</name>
<urgent />
</location>
<location id="id46" x="527" y="867">
<name x="510" y="833">Init_thread_process31</name>
<urgent />
</location>
<location id="id48" x="527" y="1147">
<name x="459" y="1156">Init_thread_process29</name>
<urgent />
</location>
<location id="id49" x="527" y="1275">
<name x="450" y="1249">Init_thread_process28</name>
</location>
<location id="id50" x="850" y="1402">
<name x="816" y="1419">Init_thread_process27</name>
<urgent />
</location>
<location id="id52" x="144" y="1419">
<name x="134" y="1385">Init_thread_process35</name>
<urgent />
</location>
<location id="id53" x="374" y="1411">
<name x="364" y="1377">Init_thread_process36</name>
</location>
<location id="id55" x="986" y="739">
<name x="1028" y="722">Init_thread_process8</name>
<urgent />
</location>
<location id="id56" x="986" y="612">
<name x="1011" y="595">Init_thread_process7</name>
<urgent />
</location>
<location id="id57" x="986" y="850">
<name x="1020" y="841">Init_thread_process9</name>
</location>
<location id="id58" x="986" y="476">
<name x="824" y="467">Init_thread_process6</name>
</location>
<location id="id59" x="986" y="263">
<name x="824" y="255">Init_thread_process5</name>
<urgent />
</location>
<location id="id60" x="986" y="76">
<name x="1011" y="59">Init_thread_process4</name>
</location>
<location id="id61" x="731" y="76">
<name x="688" y="93">Init_thread_process3</name>
<urgent />
</location>
<location id="id62" x="442" y="76">
<name x="382" y="93">Init_thread_process2</name>
</location>
<location id="id63" x="204" y="76">
<name x="170" y="93">Init_thread_process1</name>
<urgent />
</location>
<init ref="id24" /><transition><source ref="id24" />
<target ref="id25" />
<label kind="synchronisation" x="-127" y="697">thread_process_ctrl?</label>
<label kind="assignment" x="-119" y="680">i=0</label>
</transition><transition><source ref="id25" />
<target ref="id31" />
<label kind="guard" x="-25" y="1419">(i) < (1000)</label>
</transition><transition><source ref="id25" />
<target ref="id27" />
<label kind="guard" x="416" y="1513">!((i) < (1000))</label>
</transition><transition><source ref="id27" />
<target ref="id57" />
<label kind="synchronisation" x="1003" y="996">deactivate!</label>
<label kind="assignment" x="1003" y="1011">readyprocs=readyprocs-1</label>
</transition><transition><source ref="id31" />
<target ref="id34" />
<label kind="guard" x="17" y="306">(cmd) == (TLM_WRITE_COMMAND)</label>
</transition><transition><source ref="id31" />
<target ref="id34" />
<label kind="guard" x="187" y="425">!((cmd) == (TLM_WRITE_COMMAND))</label>
</transition><transition><source ref="id34" />
<target ref="id35" />
<label kind="synchronisation" x="246" y="493">allocate_ctrl!</label>
</transition><transition><source ref="id35" />
<target ref="id36" />
<label kind="synchronisation" x="161" y="782">allocate_ctrl?</label>
<label kind="assignment" x="161" y="586" />
</transition><transition><source ref="id36" />
<target ref="id37" />
<label kind="guard" x="170" y="969">request_in_progress</label>
</transition><transition><source ref="id36" />
<target ref="id41" />
<label kind="guard" x="238" y="858">!(request_in_progress)</label>
</transition><transition><source ref="id37" />
<target ref="id38" />
<label kind="synchronisation" x="263" y="1183">deactivate!</label>
<label kind="assignment" x="229" y="1198">readyprocs=readyprocs-1</label>
</transition><transition><source ref="id38" />
<target ref="id39" />
<label kind="synchronisation" x="289" y="1062">end_request_event_wait?</label>
<label kind="assignment" x="280" y="1079">readyprocs=readyprocs+1</label>
</transition><transition><source ref="id39" />
<target ref="id41" />
<label kind="synchronisation" x="357" y="943">activate?</label>
</transition><transition><source ref="id41" />
<target ref="id42" />
<label kind="synchronisation" x="603" y="612">socket_nb_transport_fw_ctrl!</label>
<label kind="assignment" x="595" y="637" />
</transition><transition><source ref="id42" />
<target ref="id43" />
<label kind="synchronisation" x="748" y="824">socket_nb_transport_fw_ctrl?</label>
<label kind="assignment" x="705" y="714" />
</transition><transition><source ref="id43" />
<target ref="id50" />
<label kind="guard" x="756" y="926">(status) == (TLM_UPDATED)</label>
</transition><transition><source ref="id43" />
<target ref="id46" />
<label kind="guard" x="603" y="875">!((status) == (TLM_UPDATED))</label>
</transition><transition><source ref="id46" />
<target ref="id48" />
<label kind="guard" x="391" y="969">(status) == (TLM_COMPLETED)</label>
</transition><transition><source ref="id46" />
<target ref="id50" />
<label kind="guard" x="561" y="1020">!((status) == (TLM_COMPLETED))</label>
</transition><transition><source ref="id48" />
<target ref="id49" />
<label kind="synchronisation" x="433" y="1190">check_transaction_ctrl!</label>
<label kind="assignment" x="416" y="1224" />
</transition><transition><source ref="id49" />
<target ref="id50" />
<label kind="synchronisation" x="569" y="1311">check_transaction_ctrl?</label>
<label kind="assignment" x="569" y="1326" />
</transition><transition><source ref="id50" />
<target ref="id53" />
<label kind="synchronisation" x="663" y="1419">deactivate!</label>
<label kind="assignment" x="663" y="1434">readyprocs=readyprocs-1</label>
</transition><transition><source ref="id52" />
<target ref="id25" />
<label kind="synchronisation" x="59" y="1453">activate?</label>
<label kind="assignment" x="59" y="1470">i=i+1</label>
</transition><transition><source ref="id53" />
<target ref="id52" />
<label kind="synchronisation" x="204" y="1421">timeoutevent_wait?</label>
<label kind="assignment" x="204" y="1436">readyprocs=readyprocs+1</label>
</transition><transition><source ref="id55" />
<target ref="id56" />
<label kind="synchronisation" x="994" y="646">activate?</label>
</transition><transition><source ref="id56" />
<target ref="id58" />
<label kind="synchronisation" x="994" y="552">allocate_ctrl!</label>
</transition><transition><source ref="id57" />
<target ref="id55" />
<label kind="synchronisation" x="1003" y="790">timeoutevent_wait?</label>
<label kind="assignment" x="994" y="773">readyprocs=readyprocs+1</label>
</transition><transition><source ref="id58" />
<target ref="id59" />
<label kind="synchronisation" x="1003" y="231">allocate_ctrl?</label>
<label kind="assignment" x="1003" y="246" />
</transition><transition><source ref="id59" />
<target ref="id60" />
<label kind="synchronisation" x="994" y="161">socket_b_transport_ctrl!</label>
<label kind="assignment" x="994" y="119" />
</transition><transition><source ref="id60" />
<target ref="id61" />
<label kind="synchronisation" x="739" y="2">socket_b_transport_ctrl?</label>
<label kind="assignment" x="739" y="17" />
</transition><transition><source ref="id61" />
<target ref="id62" />
<label kind="synchronisation" x="467" y="17">check_transaction_ctrl!</label>
<label kind="assignment" x="467" y="32" />
</transition><transition><source ref="id62" />
<target ref="id63" />
<label kind="synchronisation" x="221" y="17">check_transaction_ctrl?</label>
<label kind="assignment" x="221" y="32" />
</transition><transition><source ref="id63" />
<target ref="id24" />
<label kind="synchronisation" x="25" y="43">thread_process_ctrl!</label>
<label kind="assignment" x="25" y="-110" />
</transition></template><template><name>SCEventTemplate</name>
<parameter>broadcast chan &wait, chan &notify, chan &notify_imm, int &notify_t</parameter>
<declaration>clock wait_clock;
int ndelay;
</declaration>
<location id="id64" x="-212" y="-25">
<name x="-289" y="-59">init_location_event</name>
</location>
<location id="id66" x="314" y="255">
<name x="338" y="247">wait_for_delta</name>
<label kind="invariant" x="304" y="270">(wait_clock) <= (ndelay)</label>
</location>
<location id="id68" x="76" y="620">
<name x="34" y="630">advancing_time</name>
<committed />
</location>
<init ref="id64" /><transition><source ref="id64" />
<target ref="id66" />
<label kind="synchronisation" x="-110" y="-83">notify?</label>
<label kind="assignment" x="-110" y="-68" />
</transition><transition><source ref="id66" />
<target ref="id64" />
<label kind="guard" x="8" y="348">ndelay == 0</label>
<label kind="synchronisation" x="8" y="331">deltadelay?</label>
</transition><transition><source ref="id66" />
<target ref="id64" />
<label kind="guard" x="-102" y="408">((wait_clock) == (ndelay)) && ((ndelay) != (0))</label>
<label kind="synchronisation" x="-85" y="425">advancetime!</label>
<nail x="59" y="442" />
</transition><transition><source ref="id66" />
<target ref="id68" />
<label kind="guard" x="110" y="484">(ndelay) != (0)</label>
<label kind="synchronisation" x="119" y="510">advancetime?</label>
</transition><transition><source ref="id66" />
<target ref="id64" />
<label kind="synchronisation" x="-8" y="255">notify_imm?</label>
<nail x="152" y="208" />
</transition><transition><source ref="id68" />
<target ref="id66" />
<label kind="guard" x="246" y="544">(wait_clock) < (ndelay)</label>
<nail x="314" y="610" />
</transition><transition><source ref="id68" />
<target ref="id64" />
<label kind="guard" x="-144" y="518">(wait_clock) == (ndelay)</label>
</transition></template><template><name>SCEventTemplate1</name>
<parameter>broadcast chan &wait1, chan &notify1, chan &notify_imm1, int &notify_t1</parameter>
<declaration>clock wait_clock1;
int ndelay1;
</declaration>
<location id="id69" x="100" y="46">
<name x="23" y="12">init_location_event1</name>
</location>
<location id="id71" x="629" y="323">
<name x="657" y="311">wait_for_delta1</name>
<label kind="invariant" x="619" y="338">(wait_clock1) <= (ndelay1)</label>
</location>
<location id="id73" x="388" y="691">
<name x="346" y="701">advancing_time1</name>
<committed />
</location>
<init ref="id69" /><transition><source ref="id69" />
<target ref="id71" />
<label kind="synchronisation" x="204" y="-17">notify1?</label>
<label kind="assignment" x="204" y="0" />
</transition><transition><source ref="id71" />
<target ref="id69" />
<label kind="guard" x="320" y="419">ndelay1 == 0</label>
<label kind="synchronisation" x="320" y="402">deltadelay?</label>
</transition><transition><source ref="id71" />
<target ref="id69" />
<label kind="guard" x="210" y="479">((wait_clock1) == (ndelay1)) && ((ndelay1) != (0))</label>
<label kind="synchronisation" x="227" y="496">advancetime!</label>
<nail x="371" y="513" />
</transition><transition><source ref="id71" />
<target ref="id73" />
<label kind="guard" x="422" y="555">(ndelay1) != (0)</label>
<label kind="synchronisation" x="431" y="581">advancetime?</label>
</transition><transition><source ref="id71" />
<target ref="id69" />
<label kind="synchronisation" x="304" y="326">notify_imm1?</label>
<nail x="464" y="279" />
</transition><transition><source ref="id73" />
<target ref="id71" />
<label kind="guard" x="558" y="615">(wait_clock1) < (ndelay1)</label>
<nail x="626" y="681" />
</transition><transition><source ref="id73" />
<target ref="id69" />
<label kind="guard" x="168" y="589">(wait_clock1) == (ndelay1)</label>
</transition></template><template><name>SchedulerTemplate</name>
<location id="id74" x="187" y="-144">
<name x="147" y="-176">execute</name>
<urgent />
</location>
<location id="id75" x="192" y="8">
<name x="212" y="-8">evaluate</name>
<urgent />
</location>
<location id="id76" x="195" y="229">
<name x="221" y="212">update</name>
<urgent />
</location>
<location id="id78" x="-187" y="229">
<name x="-212" y="238">nextdelta</name>
<urgent />
</location>
<location id="id79" x="-187" y="8">
<name x="-229" y="-34">time_progress</name>
</location>
<init ref="id75" /><transition><source ref="id74" />
<target ref="id75" />
<label kind="synchronisation" x="68" y="-102">deactivate?</label>
<nail x="136" y="-68" />
</transition><transition><source ref="id75" />
<target ref="id74" />
<label kind="guard" x="238" y="-102">(readyprocs) > (0)</label>
<label kind="synchronisation" x="263" y="-88">activate!</label>
<nail x="238" y="-76" />
</transition><transition><source ref="id75" />
<target ref="id76" />
<label kind="guard" x="212" y="51">(readyprocs) == (0)</label>
<label kind="assignment" x="204" y="85" />
</transition><transition><source ref="id76" />
<target ref="id78" />
<label kind="guard" x="-68" y="187">(updaterequests) == (0)</label>
<label kind="synchronisation" x="-51" y="204">deltadelay!</label>
</transition><transition><source ref="id78" />
<target ref="id79" />
<label kind="guard" x="-331" y="93">(readyprocs) == (0)</label>
</transition><transition><source ref="id78" />
<target ref="id75" />
<label kind="guard" x="-85" y="85">(readyprocs) > (0)</label>
</transition><transition><source ref="id79" />
<target ref="id75" />
<label kind="synchronisation" x="-59" y="-25">advancetime?</label>
</transition></template><template><name>Target_nb_transport_fw</name>
<parameter>chan &m_peq_peq_dispatcher_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &m_peq_peq_notify_param_trans, int[-1, INT_MEMSIZE-1] &m_peq_peq_notify_param_phase, int &m_peq_peq_notify_param_delay, chan &nb_transport_fw_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &nb_transport_fw_param_tran, int[-1, INT_MEMSIZE-1] &nb_transport_fw_param_phase, int[-1, INT_MEMSIZE-1] &nb_transport_fw_param_t, int &nb_transport_fw_return</parameter>
<declaration>int adr;
int len;
int[-1, INT_MEMSIZE-1] byt := NULL;
int wid;
</declaration>
<location id="id82" x="40" y="80">
<name x="-25" y="42">init_location_nb_fw</name>
</location>
<location id="id83" x="296" y="80">
<name x="286" y="46">nb_fw1</name>
<urgent />
</location>
<location id="id85" x="40" y="264">
<name x="51" y="229">nb_fw5</name>
<urgent />
</location>
<location id="id86" x="472" y="80">
<name x="484" y="85">nb_fw2</name>
<urgent />
</location>
<location id="id88" x="629" y="-59">
<name x="619" y="-93">nb_fw4</name>
<urgent />
</location>
<location id="id91" x="-221" y="85">
<name x="-231" y="51">nb_fw9</name>
<urgent />
</location>
<init ref="id82" /><transition><source ref="id82" />
<target ref="id83" />
<label kind="synchronisation" x="112" y="64">nb_transport_fw_ctrl?</label>
<label kind="assignment" x="48" y="88" />
</transition><transition><source ref="id83" />
<target ref="id85" />
<label kind="guard" x="264" y="216">(byt) != (0)</label>
</transition><transition><source ref="id83" />
<target ref="id86" />
<label kind="guard" x="336" y="64">!((byt) != (0))</label>
</transition><transition><source ref="id85" />
<target ref="id82" />
<label kind="synchronisation" x="-102" y="153">nb_transport_fw_ctrl!</label>
<label kind="assignment" x="-102" y="170" />
</transition><transition><source ref="id86" />
<target ref="id88" />
<label kind="guard" x="456" y="48">((len) > (4)) || ((wid) < (len))</label>
</transition><transition><source ref="id86" />
<target ref="id91" />
<label kind="guard" x="408" y="360">!(((len) > (4)) || ((wid) < (len)))</label>
</transition><transition><source ref="id88" />
<target ref="id82" />
<label kind="synchronisation" x="263" y="-110">nb_transport_fw_ctrl!</label>
<label kind="assignment" x="263" y="-93" />
</transition><transition><source ref="id91" />
<target ref="id82" />
<label kind="synchronisation" x="-170" y="-50">nb_transport_fw_ctrl!</label>
<label kind="assignment" x="-170" y="-34" />
</transition></template><template><name>Target_peq_cb</name>
<parameter>int &n_trans, int &response_in_progress, int[-1, PAYLOAD_MEMSIZE-1] &next_response_pending, int[-1, PAYLOAD_MEMSIZE-1] &end_req_pending, chan &peq_cb_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &peq_cb_param_tran, int[-1, INT_MEMSIZE-1] &peq_cb_param_phase</parameter>
<declaration>int status;
int delay;
int switch0;
int cmd;
int adr;
int[-1, INT_MEMSIZE-1] ptr := NULL;
int len;
int auto_rand_value0;
</declaration>
<location id="id92" x="246" y="-93">
<name x="144" y="-85">init_location_target_peq</name>
</location>
<location id="id93" x="110" y="425">
<name x="127" y="408">T_peq1</name>
<urgent />
</location>
<location id="id94" x="484" y="-255">
<name x="474" y="-289">T_peq6</name>
<urgent />
</location>
<location id="id95" x="-34" y="425">
<name x="-34" y="433">T_peq2</name>
<urgent />
</location>
<location id="id96" x="110" y="620">
<name x="100" y="586">T_peq8</name>
<urgent />
</location>
<location id="id97" x="-34" y="204">
<name x="-44" y="170">T_peq3</name>
</location>
<location id="id98" x="-42" y="0">
<name x="-52" y="-34">T_peq4</name>
<urgent />
</location>
<location id="id102" x="391" y="212">
<name x="381" y="178">T_peq16</name>
<urgent />
</location>
<location id="id103" x="-187" y="756">
<name x="-197" y="722">T_peq10</name>
<urgent />
</location>
<location id="id104" x="-187" y="620">
<name x="-197" y="586">T_peq11</name>
</location>
<location id="id105" x="-178" y="425">
<name x="-188" y="391">T_peq12</name>
<urgent />
</location>
<location id="id107" x="-170" y="68">
<name x="-180" y="34">T_peq14</name>
<urgent />
</location>
<location id="id109" x="535" y="204">
<name x="525" y="170">T_peq17</name>
<urgent />
</location>
<location id="id110" x="637" y="357">
<name x="627" y="323">T_peq18</name>
<urgent />
</location>
<location id="id111" x="918" y="357">
<name x="908" y="323">T_peq19</name>
<urgent />
</location>
<location id="id113" x="1147" y="323">
<name x="1137" y="289">T_peq21</name>
<urgent />
</location>
<location id="id116" x="1011" y="25">
<name x="1001" y="-9">T_peq22</name>
<urgent />
</location>
<location id="id118" x="756" y="-255">
<name x="746" y="-289">T_peq24</name>
<urgent />
</location>
<init ref="id92" /><transition><source ref="id92" />
<target ref="id93" />
<label kind="synchronisation" x="59" y="153">peq_cb_ctrl?</label>
<label kind="assignment" x="59" y="178" />
</transition><transition><source ref="id93" />
<target ref="id95" />
<label kind="guard" x="-51" y="382">(switch0) == (BEGIN_REQ)</label>
</transition><transition><source ref="id93" />
<target ref="id96" />
<label kind="guard" x="-8" y="467">!((switch0) == (BEGIN_REQ))</label>
</transition><transition><source ref="id94" />
<target ref="id92" />
<label kind="synchronisation" x="374" y="-187">peq_cb_ctrl!</label>
<label kind="assignment" x="280" y="-51" />
</transition><transition><source ref="id95" />
<target ref="id97" />
<label kind="synchronisation" x="-85" y="323">tran_acquire_ctrl!</label>
</transition><transition><source ref="id96" />
<target ref="id103" />
<label kind="guard" x="76" y="671">(switch0) == (END_RESP)</label>
</transition><transition><source ref="id96" />
<target ref="id102" />
<label kind="guard" x="178" y="442">!((switch0) == (END_RESP))</label>
</transition><transition><source ref="id97" />
<target ref="id98" />
<label kind="synchronisation" x="-110" y="34">tran_acquire_ctrl?</label>
</transition><transition><source ref="id98" />
<target ref="id94" />
<label kind="guard" x="-59" y="-136">(n_trans) == (2)</label>
</transition><transition><source ref="id98" />
<target ref="id94" />
<label kind="guard" x="8" y="-68">!((n_trans) == (2))</label>
</transition><transition><source ref="id102" />
<target ref="id94" />
<label kind="guard" x="323" y="-76">(switch0) == (END_REQ)</label>
</transition><transition><source ref="id102" />
<target ref="id109" />
<label kind="guard" x="365" y="229">!((switch0) == (END_REQ))</label>
</transition><transition><source ref="id103" />
<target ref="id104" />
<label kind="synchronisation" x="-246" y="680">tran_release_ctrl!</label>
</transition><transition><source ref="id104" />
<target ref="id105" />
<label kind="synchronisation" x="-238" y="503">tran_release_ctrl?</label>
<label kind="assignment" x="-238" y="518">n_trans = n_trans-1,
response_in_progress = false</label>
</transition><transition><source ref="id105" />
<target ref="id107" />
<label kind="guard" x="-357" y="323">next_response_pending</label>
</transition><transition><source ref="id105" />
<target ref="id107" />
<label kind="guard" x="-204" y="255">!(next_response_pending)</label>
</transition><transition><source ref="id107" />
<target ref="id94" />
<label kind="guard" x="-297" y="-110">end_req_pending</label>
</transition><transition><source ref="id107" />
<target ref="id94" />
<label kind="guard" x="-119" y="-212">!(end_req_pending)</label>
<nail x="-76" y="-187" />
</transition><transition><source ref="id109" />
<target ref="id94" />
<label kind="guard" x="459" y="-8">(switch0) == (BEGIN_RESP)</label>
</transition><transition><source ref="id109" />
<target ref="id110" />
<label kind="guard" x="578" y="289">!((switch0) == (BEGIN_RESP))</label>
</transition><transition><source ref="id110" />
<target ref="id111" />
<label kind="guard" x="374" y="374">(((!((switch0) == (BEGIN_REQ))) && (!((switch0) == (END_RESP)))) && (!((switch0) == (END_REQ)))) && (!((switch0) == (BEGIN_RESP)))</label>
</transition><transition><source ref="id110" />
<target ref="id94" />
<label kind="guard" x="535" y="144">!((((!((switch0) == (BEGIN_REQ))) && (!((switch0) == (END_RESP)))) && (!((switch0) == (END_REQ)))) && (!((switch0) == (BEGIN_RESP))))</label>
</transition><transition><source ref="id111" />
<target ref="id113" />
<label kind="guard" x="739" y="399">(intMem[peq_cb_param_phase]) == (2222)</label>
</transition><transition><source ref="id111" />
<target ref="id94" />
<label kind="guard" x="722" y="212">!((intMem[peq_cb_param_phase]) == (2222))</label>
</transition><transition><source ref="id113" />
<target ref="id118" />
<label kind="guard" x="1088" y="76">(cmd) == (TLM_READ_COMMAND)</label>
</transition><transition><source ref="id113" />
<target ref="id116" />
<label kind="guard" x="909" y="127">!((cmd) == (TLM_READ_COMMAND))</label>
</transition><transition><source ref="id116" />
<target ref="id118" />
<label kind="guard" x="765" y="51">(cmd) == (TLM_WRITE_COMMAND)</label>
</transition><transition><source ref="id116" />
<target ref="id118" />
<label kind="guard" x="841" y="-85">!((cmd) == (TLM_WRITE_COMMAND))</label>
</transition><transition><source ref="id118" />
<target ref="id94" />
<label kind="guard" x="637" y="-170">response_in_progress</label>
</transition><transition><source ref="id118" />
<target ref="id94" />
<label kind="guard" x="552" y="-289">!(response_in_progress)</label>
</transition></template><template><name>ThreadStarterTemplate</name>
<parameter>chan &ctrl</parameter>
<location id="id121" x="85" y="76">
<name x="25" y="93">thread_starter1</name>
<urgent />
</location>
<location id="id122" x="204" y="76">
<name x="161" y="93">thread_starter2</name>
<urgent />
</location>
<location id="id123" x="314" y="76">
<name x="297" y="93">thread_starter3</name>
</location>
<location id="id124" x="569" y="76">
<name x="484" y="93">thread_starter4</name>
<urgent />
</location>
<location id="id125" x="688" y="76">
<name x="688" y="85">thread_starter5</name>
</location>
<init ref="id121" /><transition><source ref="id121" />
<target ref="id122" />
<label kind="synchronisation" x="119" y="51">activate?</label>
</transition><transition><source ref="id122" />
<target ref="id123" />
<label kind="synchronisation" x="255" y="51">ctrl!</label>
</transition><transition><source ref="id123" />
<target ref="id124" />
<label kind="synchronisation" x="340" y="34">ctrl?</label>
</transition><transition><source ref="id124" />
<target ref="id125" />
<label kind="synchronisation" x="595" y="85">deactivate!</label>
<label kind="assignment" x="340" y="51">readyprocs = readyprocs -1</label>
</transition></template><template><name>peq_fetch_payload</name>
<parameter>chan &peq_fetch_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &peq_fetch_param_tran, int[-1, INT_MEMSIZE-1] &peq_fetch_param_phase, chan &peq_cb_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &peq_cb_param_tran, int[-1, INT_MEMSIZE-1] &peq_cb_param_phase</parameter>
<location id="id132" x="40" y="80">
<name x="-17" y="42">peq_fetch1</name>
</location>
<location id="id133" x="190" y="80">
<name x="180" y="46">peq_fetch2</name>
<urgent />
</location>
<location id="id134" x="187" y="229">
<name x="178" y="246">peq_fetch3</name>
</location>
<location id="id135" x="40" y="230">
<name x="30" y="196">peq_fetch4</name>
<urgent />
</location>
<init ref="id132" /><transition><source ref="id132" />
<target ref="id133" />
<label kind="synchronisation" x="72" y="56">peq_fetch_ctrl?</label>
</transition><transition><source ref="id133" />
<target ref="id134" />
<label kind="synchronisation" x="130" y="140">peq_cb_ctrl!</label>
<label kind="assignment" x="127" y="153" />
</transition><transition><source ref="id134" />
<target ref="id135" />
<label kind="synchronisation" x="72" y="208">peq_cb_ctrl?</label>
</transition><transition><source ref="id135" />
<target ref="id132" />
<label kind="synchronisation" x="-20" y="140">deactivate!</label>
<label kind="assignment" x="-76" y="161">readyprocs = readyprocs -1</label>
</transition></template><template><name>peq_fetch_payload1</name>
<parameter>chan &peq_fetch_ctrl1, int[-1, PAYLOAD_MEMSIZE-1] &peq_fetch_param_tran1, int[-1, INT_MEMSIZE-1] &peq_fetch_param_phase1, chan &peq_cb_ctrl1, int[-1, PAYLOAD_MEMSIZE-1] &peq_cb_param_tran1, int[-1, INT_MEMSIZE-1] &peq_cb_param_phase1</parameter>
<location id="id136" x="128" y="26">
<name x="71" y="-12">peq_fetch1_1</name>
</location>
<location id="id137" x="278" y="26">
<name x="268" y="-8">peq_fetch2_1</name>
<urgent />
</location>
<location id="id138" x="275" y="175">
<name x="266" y="192">peq_fetch3_1</name>
</location>
<location id="id139" x="128" y="176">
<name x="85" y="195">peq_fetch4_1</name>
<urgent />
</location>
<init ref="id136" /><transition><source ref="id136" />
<target ref="id137" />
<label kind="synchronisation" x="160" y="2">peq_fetch_ctrl1?</label>
</transition><transition><source ref="id137" />
<target ref="id138" />
<label kind="synchronisation" x="218" y="86">peq_cb_ctrl1!</label>
<label kind="assignment" x="215" y="99" />
</transition><transition><source ref="id138" />
<target ref="id139" />
<label kind="synchronisation" x="160" y="154">peq_cb_ctrl1?</label>
</transition><transition><source ref="id139" />
<target ref="id136" />
<label kind="synchronisation" x="68" y="86">deactivate!</label>
<label kind="assignment" x="12" y="107">readyprocs = readyprocs -1</label>
</transition></template><template><name>peq_notify_payload</name>
<parameter>chan &peq_notify_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &peq_notify_param_trans, int[-1, INT_MEMSIZE-1] &peq_notify_param_phase, int &peq_notify_param_delay, chan &peq_fetch_ctrl, int[-1, PAYLOAD_MEMSIZE-1] &peq_fetch_param_tran, int[-1, INT_MEMSIZE-1] &peq_fetch_param_phase, bool &peqInUse, const int phase</parameter>
<declaration>int delay;
clock c;
int payload;
</declaration>
<location id="id140" x="-152" y="240">
<name x="-263" y="255">init_location_peq_notify</name>
</location>
<location id="id141" x="-152" y="24">
<name x="-238" y="-8">peq_notify1</name>
<label kind="invariant" x="-255" y="17">(c) <= (delay)</label>
</location>
<location id="id142" x="42" y="-178">
<name x="32" y="-212">peq_notify2</name>
<committed />
</location>
<location id="id143" x="192" y="24">
<name x="170" y="42">peq_notify3</name>
<committed />
</location>
<location id="id144" x="296" y="24">
<name x="314" y="34">peq_notify4</name>
<urgent />
</location>
<location id="id145" x="296" y="240">
<name x="297" y="255">peq_notify5</name>
<urgent />
</location>
<init ref="id140" /><transition><source ref="id140" />
<target ref="id141" />
<label kind="synchronisation" x="-212" y="102">peq_notify_ctrl?</label>