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