Added DeserializedSubmodelComponent Editor project
[Mograsim.git] / net.mograsim.logic.ui.editor / components / GUIor_4.json
1 mograsim version: 0.1.3
2 {
3         "width": 35.0,
4         "height": 80.0,
5         "interfacePins": [
6                 {
7                         "location": {
8                                 "x": 0.0,
9                                 "y": 5.0
10                         },
11                         "name": "A1",
12                         "logicWidth": 1
13                 },
14                 {
15                         "location": {
16                                 "x": 0.0,
17                                 "y": 55.0
18                         },
19                         "name": "B2",
20                         "logicWidth": 1
21                 },
22                 {
23                         "location": {
24                                 "x": 0.0,
25                                 "y": 15.0
26                         },
27                         "name": "A2",
28                         "logicWidth": 1
29                 },
30                 {
31                         "location": {
32                                 "x": 0.0,
33                                 "y": 65.0
34                         },
35                         "name": "B3",
36                         "logicWidth": 1
37                 },
38                 {
39                         "location": {
40                                 "x": 0.0,
41                                 "y": 25.0
42                         },
43                         "name": "A3",
44                         "logicWidth": 1
45                 },
46                 {
47                         "location": {
48                                 "x": 0.0,
49                                 "y": 75.0
50                         },
51                         "name": "B4",
52                         "logicWidth": 1
53                 },
54                 {
55                         "location": {
56                                 "x": 0.0,
57                                 "y": 35.0
58                         },
59                         "name": "A4",
60                         "logicWidth": 1
61                 },
62                 {
63                         "location": {
64                                 "x": 35.0,
65                                 "y": 5.0
66                         },
67                         "name": "Y1",
68                         "logicWidth": 1
69                 },
70                 {
71                         "location": {
72                                 "x": 35.0,
73                                 "y": 15.0
74                         },
75                         "name": "Y2",
76                         "logicWidth": 1
77                 },
78                 {
79                         "location": {
80                                 "x": 35.0,
81                                 "y": 25.0
82                         },
83                         "name": "Y3",
84                         "logicWidth": 1
85                 },
86                 {
87                         "location": {
88                                 "x": 35.0,
89                                 "y": 35.0
90                         },
91                         "name": "Y4",
92                         "logicWidth": 1
93                 },
94                 {
95                         "location": {
96                                 "x": 0.0,
97                                 "y": 45.0
98                         },
99                         "name": "B1",
100                         "logicWidth": 1
101                 }
102         ],
103         "submodel": {
104                 "innerScale": 0.4,
105                 "subComps": [
106                         {
107                                 "pos": {
108                                         "x": 15.0,
109                                         "y": 2.5
110                                 },
111                                 "id": "GUINandGate",
112                                 "params": 1
113                         },
114                         {
115                                 "pos": {
116                                         "x": 15.0,
117                                         "y": 27.5
118                                 },
119                                 "id": "GUINandGate",
120                                 "params": 1
121                         },
122                         {
123                                 "pos": {
124                                         "x": 15.0,
125                                         "y": 52.5
126                                 },
127                                 "id": "GUINandGate",
128                                 "params": 1
129                         },
130                         {
131                                 "pos": {
132                                         "x": 15.0,
133                                         "y": 77.5
134                                 },
135                                 "id": "GUINandGate",
136                                 "params": 1
137                         },
138                         {
139                                 "pos": {
140                                         "x": 15.0,
141                                         "y": 102.5
142                                 },
143                                 "id": "GUINandGate",
144                                 "params": 1
145                         },
146                         {
147                                 "pos": {
148                                         "x": 15.0,
149                                         "y": 127.5
150                                 },
151                                 "id": "GUINandGate",
152                                 "params": 1
153                         },
154                         {
155                                 "pos": {
156                                         "x": 15.0,
157                                         "y": 152.5
158                                 },
159                                 "id": "GUINandGate",
160                                 "params": 1
161                         },
162                         {
163                                 "pos": {
164                                         "x": 15.0,
165                                         "y": 177.5
166                                 },
167                                 "id": "GUINandGate",
168                                 "params": 1
169                         },
170                         {
171                                 "pos": {
172                                         "x": 65.0,
173                                         "y": 2.5
174                                 },
175                                 "id": "GUINandGate",
176                                 "params": 1
177                         },
178                         {
179                                 "pos": {
180                                         "x": 65.0,
181                                         "y": 27.5
182                                 },
183                                 "id": "GUINandGate",
184                                 "params": 1
185                         },
186                         {
187                                 "pos": {
188                                         "x": 65.0,
189                                         "y": 52.5
190                                 },
191                                 "id": "GUINandGate",
192                                 "params": 1
193                         },
194                         {
195                                 "pos": {
196                                         "x": 65.0,
197                                         "y": 77.5
198                                 },
199                                 "id": "GUINandGate",
200                                 "params": 1
201                         },
202                         {
203                                 "pos": {
204                                         "x": 6.5,
205                                         "y": 11.5
206                                 },
207                                 "id": "WireCrossPoint",
208                                 "params": 1
209                         },
210                         {
211                                 "pos": {
212                                         "x": 6.5,
213                                         "y": 36.5
214                                 },
215                                 "id": "WireCrossPoint",
216                                 "params": 1
217                         },
218                         {
219                                 "pos": {
220                                         "x": 6.5,
221                                         "y": 61.5
222                                 },
223                                 "id": "WireCrossPoint",
224                                 "params": 1
225                         },
226                         {
227                                 "pos": {
228                                         "x": 6.5,
229                                         "y": 86.5
230                                 },
231                                 "id": "WireCrossPoint",
232                                 "params": 1
233                         },
234                         {
235                                 "pos": {
236                                         "x": 6.5,
237                                         "y": 111.5
238                                 },
239                                 "id": "WireCrossPoint",
240                                 "params": 1
241                         },
242                         {
243                                 "pos": {
244                                         "x": 6.5,
245                                         "y": 136.5
246                                 },
247                                 "id": "WireCrossPoint",
248                                 "params": 1
249                         },
250                         {
251                                 "pos": {
252                                         "x": 6.5,
253                                         "y": 161.5
254                                 },
255                                 "id": "WireCrossPoint",
256                                 "params": 1
257                         },
258                         {
259                                 "pos": {
260                                         "x": 6.5,
261                                         "y": 186.5
262                                 },
263                                 "id": "WireCrossPoint",
264                                 "params": 1
265                         }
266                 ],
267                 "innerWires": [
268                         {
269                                 "pin1": {
270                                         "compId": 0,
271                                         "pinName": "A1"
272                                 },
273                                 "pin2": {
274                                         "compId": 13,
275                                         "pinName": ""
276                                 },
277                                 "path": []
278                         },
279                         {
280                                 "pin1": {
281                                         "compId": 0,
282                                         "pinName": "A2"
283                                 },
284                                 "pin2": {
285                                         "compId": 14,
286                                         "pinName": ""
287                                 },
288                                 "path": []
289                         },
290                         {
291                                 "pin1": {
292                                         "compId": 0,
293                                         "pinName": "A3"
294                                 },
295                                 "pin2": {
296                                         "compId": 15,
297                                         "pinName": ""
298                                 },
299                                 "path": []
300                         },
301                         {
302                                 "pin1": {
303                                         "compId": 0,
304                                         "pinName": "A4"
305                                 },
306                                 "pin2": {
307                                         "compId": 16,
308                                         "pinName": ""
309                                 },
310                                 "path": []
311                         },
312                         {
313                                 "pin1": {
314                                         "compId": 0,
315                                         "pinName": "B1"
316                                 },
317                                 "pin2": {
318                                         "compId": 17,
319                                         "pinName": ""
320                                 },
321                                 "path": []
322                         },
323                         {
324                                 "pin1": {
325                                         "compId": 0,
326                                         "pinName": "B2"
327                                 },
328                                 "pin2": {
329                                         "compId": 18,
330                                         "pinName": ""
331                                 },
332                                 "path": []
333                         },
334                         {
335                                 "pin1": {
336                                         "compId": 0,
337                                         "pinName": "B3"
338                                 },
339                                 "pin2": {
340                                         "compId": 19,
341                                         "pinName": ""
342                                 },
343                                 "path": []
344                         },
345                         {
346                                 "pin1": {
347                                         "compId": 0,
348                                         "pinName": "B4"
349                                 },
350                                 "pin2": {
351                                         "compId": 20,
352                                         "pinName": ""
353                                 },
354                                 "path": []
355                         },
356                         {
357                                 "pin1": {
358                                         "compId": 13,
359                                         "pinName": ""
360                                 },
361                                 "pin2": {
362                                         "compId": 1,
363                                         "pinName": "A"
364                                 },
365                                 "path": [
366                                         {
367                                                 "x": 7.5,
368                                                 "y": 7.5
369                                         }
370                                 ]
371                         },
372                         {
373                                 "pin1": {
374                                         "compId": 13,
375                                         "pinName": ""
376                                 },
377                                 "pin2": {
378                                         "compId": 1,
379                                         "pinName": "B"
380                                 },
381                                 "path": [
382                                         {
383                                                 "x": 7.5,
384                                                 "y": 17.5
385                                         }
386                                 ]
387                         },
388                         {
389                                 "pin1": {
390                                         "compId": 14,
391                                         "pinName": ""
392                                 },
393                                 "pin2": {
394                                         "compId": 2,
395                                         "pinName": "A"
396                                 },
397                                 "path": [
398                                         {
399                                                 "x": 7.5,
400                                                 "y": 32.5
401                                         }
402                                 ]
403                         },
404                         {
405                                 "pin1": {
406                                         "compId": 14,
407                                         "pinName": ""
408                                 },
409                                 "pin2": {
410                                         "compId": 2,
411                                         "pinName": "B"
412                                 },
413                                 "path": [
414                                         {
415                                                 "x": 7.5,
416                                                 "y": 42.5
417                                         }
418                                 ]
419                         },
420                         {
421                                 "pin1": {
422                                         "compId": 15,
423                                         "pinName": ""
424                                 },
425                                 "pin2": {
426                                         "compId": 3,
427                                         "pinName": "A"
428                                 },
429                                 "path": [
430                                         {
431                                                 "x": 7.5,
432                                                 "y": 57.5
433                                         }
434                                 ]
435                         },
436                         {
437                                 "pin1": {
438                                         "compId": 15,
439                                         "pinName": ""
440                                 },
441                                 "pin2": {
442                                         "compId": 3,
443                                         "pinName": "B"
444                                 },
445                                 "path": [
446                                         {
447                                                 "x": 7.5,
448                                                 "y": 67.5
449                                         }
450                                 ]
451                         },
452                         {
453                                 "pin1": {
454                                         "compId": 16,
455                                         "pinName": ""
456                                 },
457                                 "pin2": {
458                                         "compId": 4,
459                                         "pinName": "A"
460                                 },
461                                 "path": [
462                                         {
463                                                 "x": 7.5,
464                                                 "y": 82.5
465                                         }
466                                 ]
467                         },
468                         {
469                                 "pin1": {
470                                         "compId": 16,
471                                         "pinName": ""
472                                 },
473                                 "pin2": {
474                                         "compId": 4,
475                                         "pinName": "B"
476                                 },
477                                 "path": [
478                                         {
479                                                 "x": 7.5,
480                                                 "y": 92.5
481                                         }
482                                 ]
483                         },
484                         {
485                                 "pin1": {
486                                         "compId": 17,
487                                         "pinName": ""
488                                 },
489                                 "pin2": {
490                                         "compId": 5,
491                                         "pinName": "A"
492                                 },
493                                 "path": [
494                                         {
495                                                 "x": 7.5,
496                                                 "y": 107.5
497                                         }
498                                 ]
499                         },
500                         {
501                                 "pin1": {
502                                         "compId": 17,
503                                         "pinName": ""
504                                 },
505                                 "pin2": {
506                                         "compId": 5,
507                                         "pinName": "B"
508                                 },
509                                 "path": [
510                                         {
511                                                 "x": 7.5,
512                                                 "y": 117.5
513                                         }
514                                 ]
515                         },
516                         {
517                                 "pin1": {
518                                         "compId": 18,
519                                         "pinName": ""
520                                 },
521                                 "pin2": {
522                                         "compId": 6,
523                                         "pinName": "A"
524                                 },
525                                 "path": [
526                                         {
527                                                 "x": 7.5,
528                                                 "y": 132.5
529                                         }
530                                 ]
531                         },
532                         {
533                                 "pin1": {
534                                         "compId": 18,
535                                         "pinName": ""
536                                 },
537                                 "pin2": {
538                                         "compId": 6,
539                                         "pinName": "B"
540                                 },
541                                 "path": [
542                                         {
543                                                 "x": 7.5,
544                                                 "y": 142.5
545                                         }
546                                 ]
547                         },
548                         {
549                                 "pin1": {
550                                         "compId": 19,
551                                         "pinName": ""
552                                 },
553                                 "pin2": {
554                                         "compId": 7,
555                                         "pinName": "A"
556                                 },
557                                 "path": [
558                                         {
559                                                 "x": 7.5,
560                                                 "y": 157.5
561                                         }
562                                 ]
563                         },
564                         {
565                                 "pin1": {
566                                         "compId": 19,
567                                         "pinName": ""
568                                 },
569                                 "pin2": {
570                                         "compId": 7,
571                                         "pinName": "B"
572                                 },
573                                 "path": [
574                                         {
575                                                 "x": 7.5,
576                                                 "y": 167.5
577                                         }
578                                 ]
579                         },
580                         {
581                                 "pin1": {
582                                         "compId": 20,
583                                         "pinName": ""
584                                 },
585                                 "pin2": {
586                                         "compId": 8,
587                                         "pinName": "A"
588                                 },
589                                 "path": [
590                                         {
591                                                 "x": 7.5,
592                                                 "y": 182.5
593                                         }
594                                 ]
595                         },
596                         {
597                                 "pin1": {
598                                         "compId": 20,
599                                         "pinName": ""
600                                 },
601                                 "pin2": {
602                                         "compId": 8,
603                                         "pinName": "B"
604                                 },
605                                 "path": [
606                                         {
607                                                 "x": 7.5,
608                                                 "y": 192.5
609                                         }
610                                 ]
611                         },
612                         {
613                                 "pin1": {
614                                         "compId": 1,
615                                         "pinName": "Y"
616                                 },
617                                 "pin2": {
618                                         "compId": 9,
619                                         "pinName": "A"
620                                 },
621                                 "path": [
622                                         {
623                                                 "x": 40.0,
624                                                 "y": 12.5
625                                         },
626                                         {
627                                                 "x": 40.0,
628                                                 "y": 7.5
629                                         }
630                                 ]
631                         },
632                         {
633                                 "pin1": {
634                                         "compId": 5,
635                                         "pinName": "Y"
636                                 },
637                                 "pin2": {
638                                         "compId": 9,
639                                         "pinName": "B"
640                                 },
641                                 "path": [
642                                         {
643                                                 "x": 45.0,
644                                                 "y": 112.5
645                                         },
646                                         {
647                                                 "x": 45.0,
648                                                 "y": 17.5
649                                         }
650                                 ]
651                         },
652                         {
653                                 "pin1": {
654                                         "compId": 2,
655                                         "pinName": "Y"
656                                 },
657                                 "pin2": {
658                                         "compId": 10,
659                                         "pinName": "A"
660                                 },
661                                 "path": [
662                                         {
663                                                 "x": 40.0,
664                                                 "y": 37.5
665                                         },
666                                         {
667                                                 "x": 40.0,
668                                                 "y": 32.5
669                                         }
670                                 ]
671                         },
672                         {
673                                 "pin1": {
674                                         "compId": 6,
675                                         "pinName": "Y"
676                                 },
677                                 "pin2": {
678                                         "compId": 10,
679                                         "pinName": "B"
680                                 },
681                                 "path": [
682                                         {
683                                                 "x": 50.0,
684                                                 "y": 137.5
685                                         },
686                                         {
687                                                 "x": 50.0,
688                                                 "y": 42.5
689                                         }
690                                 ]
691                         },
692                         {
693                                 "pin1": {
694                                         "compId": 3,
695                                         "pinName": "Y"
696                                 },
697                                 "pin2": {
698                                         "compId": 11,
699                                         "pinName": "A"
700                                 },
701                                 "path": [
702                                         {
703                                                 "x": 40.0,
704                                                 "y": 62.5
705                                         },
706                                         {
707                                                 "x": 40.0,
708                                                 "y": 57.5
709                                         }
710                                 ]
711                         },
712                         {
713                                 "pin1": {
714                                         "compId": 7,
715                                         "pinName": "Y"
716                                 },
717                                 "pin2": {
718                                         "compId": 11,
719                                         "pinName": "B"
720                                 },
721                                 "path": [
722                                         {
723                                                 "x": 55.0,
724                                                 "y": 162.5
725                                         },
726                                         {
727                                                 "x": 55.0,
728                                                 "y": 67.5
729                                         }
730                                 ]
731                         },
732                         {
733                                 "pin1": {
734                                         "compId": 4,
735                                         "pinName": "Y"
736                                 },
737                                 "pin2": {
738                                         "compId": 12,
739                                         "pinName": "A"
740                                 },
741                                 "path": [
742                                         {
743                                                 "x": 40.0,
744                                                 "y": 87.5
745                                         },
746                                         {
747                                                 "x": 40.0,
748                                                 "y": 82.5
749                                         }
750                                 ]
751                         },
752                         {
753                                 "pin1": {
754                                         "compId": 8,
755                                         "pinName": "Y"
756                                 },
757                                 "pin2": {
758                                         "compId": 12,
759                                         "pinName": "B"
760                                 },
761                                 "path": [
762                                         {
763                                                 "x": 60.0,
764                                                 "y": 187.5
765                                         },
766                                         {
767                                                 "x": 60.0,
768                                                 "y": 92.5
769                                         }
770                                 ]
771                         },
772                         {
773                                 "pin1": {
774                                         "compId": 9,
775                                         "pinName": "Y"
776                                 },
777                                 "pin2": {
778                                         "compId": 0,
779                                         "pinName": "Y1"
780                                 },
781                                 "path": []
782                         },
783                         {
784                                 "pin1": {
785                                         "compId": 10,
786                                         "pinName": "Y"
787                                 },
788                                 "pin2": {
789                                         "compId": 0,
790                                         "pinName": "Y2"
791                                 },
792                                 "path": []
793                         },
794                         {
795                                 "pin1": {
796                                         "compId": 11,
797                                         "pinName": "Y"
798                                 },
799                                 "pin2": {
800                                         "compId": 0,
801                                         "pinName": "Y3"
802                                 },
803                                 "path": []
804                         },
805                         {
806                                 "pin1": {
807                                         "compId": 12,
808                                         "pinName": "Y"
809                                 },
810                                 "pin2": {
811                                         "compId": 0,
812                                         "pinName": "Y4"
813                                 },
814                                 "path": []
815                         }
816                 ]
817         },
818         "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
819         "symbolRendererParams": {
820                 "centerText": "GUIor_4",
821                 "horizontalComponentCenter": 17.5,
822                 "centerTextHeight": 5.0,
823                 "pinLabelHeight": 3.5,
824                 "pinLabelMargin": 0.5
825         }
826 }