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