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