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