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