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