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