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