Cleaned not4
[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": "Splitter",
254         "name": "Splitter#0",
255         "pos": {
256           "x": 100.0,
257           "y": 205.0
258         },
259         "params": {
260           "logicWidth": 4,
261           "orientation": "RIGHT"
262         }
263       },
264       {
265         "id": "Splitter",
266         "name": "Splitter#1",
267         "pos": {
268           "x": 75.0,
269           "y": 255.0
270         },
271         "params": {
272           "logicWidth": 4,
273           "orientation": "LEFT"
274         }
275       },
276       {
277         "id": "WireCrossPoint",
278         "name": "WireCrossPoint#0",
279         "pos": {
280           "x": 29.0,
281           "y": 584.0
282         },
283         "params": 1
284       },
285       {
286         "id": "WireCrossPoint",
287         "name": "WireCrossPoint#1",
288         "pos": {
289           "x": 29.0,
290           "y": 634.0
291         },
292         "params": 1
293       },
294       {
295         "id": "WireCrossPoint",
296         "name": "WireCrossPoint#2",
297         "pos": {
298           "x": 29.0,
299           "y": 684.0
300         },
301         "params": 1
302       },
303       {
304         "id": "not4",
305         "name": "not4#0",
306         "pos": {
307           "x": 60.0,
308           "y": 200.0
309         }
310       },
311       {
312         "id": "sel2_4",
313         "name": "sel2_4#0",
314         "pos": {
315           "x": 35.0,
316           "y": 250.0
317         }
318       }
319     ],
320     "wires": [
321       {
322         "pin1": {
323           "compName": "_submodelinterface",
324           "pinName": "SA"
325         },
326         "pin2": {
327           "compName": "sel2_4#0",
328           "pinName": "SA"
329         },
330         "name": "unnamedWire#0",
331         "path": [
332           {
333             "x": 25.0,
334             "y": 25.0
335           },
336           {
337             "x": 25.0,
338             "y": 255.0
339           }
340         ]
341       },
342       {
343         "pin1": {
344           "compName": "_submodelinterface",
345           "pinName": "SB"
346         },
347         "pin2": {
348           "compName": "sel2_4#0",
349           "pinName": "SB"
350         },
351         "name": "unnamedWire#1",
352         "path": [
353           {
354             "x": 20.0,
355             "y": 75.0
356           },
357           {
358             "x": 20.0,
359             "y": 265.0
360           }
361         ]
362       },
363       {
364         "pin1": {
365           "compName": "_submodelinterface",
366           "pinName": "A1"
367         },
368         "pin2": {
369           "compName": "sel2_4#0",
370           "pinName": "A1"
371         },
372         "name": "unnamedWire#2",
373         "path": [
374           {
375             "x": 15.0,
376             "y": 175.0
377           },
378           {
379             "x": 15.0,
380             "y": 275.0
381           }
382         ]
383       },
384       {
385         "pin1": {
386           "compName": "_submodelinterface",
387           "pinName": "A2"
388         },
389         "pin2": {
390           "compName": "sel2_4#0",
391           "pinName": "A2"
392         },
393         "name": "unnamedWire#3",
394         "path": [
395           {
396             "x": 10.0,
397             "y": 225.0
398           },
399           {
400             "x": 10.0,
401             "y": 285.0
402           }
403         ]
404       },
405       {
406         "pin1": {
407           "compName": "_submodelinterface",
408           "pinName": "A3"
409         },
410         "pin2": {
411           "compName": "sel2_4#0",
412           "pinName": "A3"
413         },
414         "name": "unnamedWire#4",
415         "path": [
416           {
417             "x": 5.0,
418             "y": 275.0
419           },
420           {
421             "x": 5.0,
422             "y": 295.0
423           }
424         ]
425       },
426       {
427         "pin1": {
428           "compName": "_submodelinterface",
429           "pinName": "A4"
430         },
431         "pin2": {
432           "compName": "sel2_4#0",
433           "pinName": "A4"
434         },
435         "name": "unnamedWire#5",
436         "path": [
437           {
438             "x": 5.0,
439             "y": 325.0
440           },
441           {
442             "x": 5.0,
443             "y": 305.0
444           }
445         ]
446       },
447       {
448         "pin1": {
449           "compName": "_submodelinterface",
450           "pinName": "B1"
451         },
452         "pin2": {
453           "compName": "sel2_4#0",
454           "pinName": "B1"
455         },
456         "name": "unnamedWire#6",
457         "path": [
458           {
459             "x": 10.0,
460             "y": 375.0
461           },
462           {
463             "x": 10.0,
464             "y": 315.0
465           }
466         ]
467       },
468       {
469         "pin1": {
470           "compName": "_submodelinterface",
471           "pinName": "B2"
472         },
473         "pin2": {
474           "compName": "sel2_4#0",
475           "pinName": "B2"
476         },
477         "name": "unnamedWire#7",
478         "path": [
479           {
480             "x": 15.0,
481             "y": 425.0
482           },
483           {
484             "x": 15.0,
485             "y": 325.0
486           }
487         ]
488       },
489       {
490         "pin1": {
491           "compName": "_submodelinterface",
492           "pinName": "B3"
493         },
494         "pin2": {
495           "compName": "sel2_4#0",
496           "pinName": "B3"
497         },
498         "name": "unnamedWire#8",
499         "path": [
500           {
501             "x": 20.0,
502             "y": 475.0
503           },
504           {
505             "x": 20.0,
506             "y": 335.0
507           }
508         ]
509       },
510       {
511         "pin1": {
512           "compName": "_submodelinterface",
513           "pinName": "B4"
514         },
515         "pin2": {
516           "compName": "sel2_4#0",
517           "pinName": "B4"
518         },
519         "name": "unnamedWire#9",
520         "path": [
521           {
522             "x": 25.0,
523             "y": 525.0
524           },
525           {
526             "x": 25.0,
527             "y": 345.0
528           }
529         ]
530       },
531       {
532         "pin1": {
533           "compName": "sel2_4#0",
534           "pinName": "Y1"
535         },
536         "pin2": {
537           "compName": "Splitter#1",
538           "pinName": "O3"
539         },
540         "name": "unnamedWire#10",
541         "path": []
542       },
543       {
544         "pin1": {
545           "compName": "Splitter#1",
546           "pinName": "O2"
547         },
548         "pin2": {
549           "compName": "sel2_4#0",
550           "pinName": "Y2"
551         },
552         "name": "unnamedWire#11",
553         "path": []
554       },
555       {
556         "pin1": {
557           "compName": "sel2_4#0",
558           "pinName": "Y3"
559         },
560         "pin2": {
561           "compName": "Splitter#1",
562           "pinName": "O1"
563         },
564         "name": "unnamedWire#12",
565         "path": []
566       },
567       {
568         "pin1": {
569           "compName": "Splitter#1",
570           "pinName": "O0"
571         },
572         "pin2": {
573           "compName": "sel2_4#0",
574           "pinName": "Y4"
575         },
576         "name": "unnamedWire#13",
577         "path": []
578       },
579       {
580         "pin1": {
581           "compName": "_submodelinterface",
582           "pinName": "SC"
583         },
584         "pin2": {
585           "compName": "WireCrossPoint#0",
586           "pinName": ""
587         },
588         "name": "unnamedWire#14",
589         "path": [
590           {
591             "x": 30.0,
592             "y": 125.0
593           }
594         ]
595       },
596       {
597         "pin1": {
598           "compName": "WireCrossPoint#0",
599           "pinName": ""
600         },
601         "pin2": {
602           "compName": "NandGate#0",
603           "pinName": "B"
604         },
605         "name": "unnamedWire#15",
606         "path": []
607       },
608       {
609         "pin1": {
610           "compName": "WireCrossPoint#0",
611           "pinName": ""
612         },
613         "pin2": {
614           "compName": "WireCrossPoint#1",
615           "pinName": ""
616         },
617         "name": "unnamedWire#16",
618         "path": [
619           {
620             "x": 30.0,
621             "y": 125.0
622           }
623         ]
624       },
625       {
626         "pin1": {
627           "compName": "WireCrossPoint#1",
628           "pinName": ""
629         },
630         "pin2": {
631           "compName": "NandGate#1",
632           "pinName": "B"
633         },
634         "name": "unnamedWire#17",
635         "path": []
636       },
637       {
638         "pin1": {
639           "compName": "WireCrossPoint#1",
640           "pinName": ""
641         },
642         "pin2": {
643           "compName": "WireCrossPoint#2",
644           "pinName": ""
645         },
646         "name": "unnamedWire#18",
647         "path": [
648           {
649             "x": 30.0,
650             "y": 125.0
651           }
652         ]
653       },
654       {
655         "pin1": {
656           "compName": "WireCrossPoint#2",
657           "pinName": ""
658         },
659         "pin2": {
660           "compName": "NandGate#2",
661           "pinName": "B"
662         },
663         "name": "unnamedWire#19",
664         "path": []
665       },
666       {
667         "pin1": {
668           "compName": "WireCrossPoint#2",
669           "pinName": ""
670         },
671         "pin2": {
672           "compName": "NandGate#3",
673           "pinName": "B"
674         },
675         "name": "unnamedWire#20",
676         "path": [
677           {
678             "x": 30.0,
679             "y": 735.0
680           }
681         ]
682       },
683       {
684         "pin1": {
685           "compName": "_submodelinterface",
686           "pinName": "C1"
687         },
688         "pin2": {
689           "compName": "NandGate#0",
690           "pinName": "A"
691         },
692         "name": "unnamedWire#21",
693         "path": []
694       },
695       {
696         "pin1": {
697           "compName": "_submodelinterface",
698           "pinName": "C2"
699         },
700         "pin2": {
701           "compName": "NandGate#1",
702           "pinName": "A"
703         },
704         "name": "unnamedWire#22",
705         "path": []
706       },
707       {
708         "pin1": {
709           "compName": "_submodelinterface",
710           "pinName": "C3"
711         },
712         "pin2": {
713           "compName": "NandGate#2",
714           "pinName": "A"
715         },
716         "name": "unnamedWire#23",
717         "path": []
718       },
719       {
720         "pin1": {
721           "compName": "_submodelinterface",
722           "pinName": "C4"
723         },
724         "pin2": {
725           "compName": "NandGate#3",
726           "pinName": "A"
727         },
728         "name": "unnamedWire#24",
729         "path": []
730       },
731       {
732         "pin1": {
733           "compName": "Splitter#0",
734           "pinName": "O3"
735         },
736         "pin2": {
737           "compName": "NandGate#4",
738           "pinName": "A"
739         },
740         "name": "unnamedWire#25",
741         "path": [
742           {
743             "x": 115.0,
744             "y": 205.0
745           },
746           {
747             "x": 115.0,
748             "y": 20.0
749           }
750         ]
751       },
752       {
753         "pin1": {
754           "compName": "Splitter#0",
755           "pinName": "O2"
756         },
757         "pin2": {
758           "compName": "NandGate#5",
759           "pinName": "A"
760         },
761         "name": "unnamedWire#26",
762         "path": [
763           {
764             "x": 120.0,
765             "y": 215.0
766           },
767           {
768             "x": 120.0,
769             "y": 70.0
770           }
771         ]
772       },
773       {
774         "pin1": {
775           "compName": "Splitter#0",
776           "pinName": "O1"
777         },
778         "pin2": {
779           "compName": "NandGate#6",
780           "pinName": "A"
781         },
782         "name": "unnamedWire#27",
783         "path": [
784           {
785             "x": 125.0,
786             "y": 225.0
787           },
788           {
789             "x": 125.0,
790             "y": 120.0
791           }
792         ]
793       },
794       {
795         "pin1": {
796           "compName": "Splitter#0",
797           "pinName": "O0"
798         },
799         "pin2": {
800           "compName": "NandGate#7",
801           "pinName": "A"
802         },
803         "name": "unnamedWire#28",
804         "path": [
805           {
806             "x": 130.0,
807             "y": 235.0
808           },
809           {
810             "x": 130.0,
811             "y": 170.0
812           }
813         ]
814       },
815       {
816         "pin1": {
817           "compName": "NandGate#0",
818           "pinName": "Y"
819         },
820         "pin2": {
821           "compName": "NandGate#4",
822           "pinName": "B"
823         },
824         "name": "unnamedWire#29",
825         "path": [
826           {
827             "x": 135.0,
828             "y": 580.0
829           },
830           {
831             "x": 135.0,
832             "y": 30.0
833           }
834         ]
835       },
836       {
837         "pin1": {
838           "compName": "NandGate#1",
839           "pinName": "Y"
840         },
841         "pin2": {
842           "compName": "NandGate#5",
843           "pinName": "B"
844         },
845         "name": "unnamedWire#30",
846         "path": [
847           {
848             "x": 140.0,
849             "y": 630.0
850           },
851           {
852             "x": 140.0,
853             "y": 80.0
854           }
855         ]
856       },
857       {
858         "pin1": {
859           "compName": "NandGate#2",
860           "pinName": "Y"
861         },
862         "pin2": {
863           "compName": "NandGate#6",
864           "pinName": "B"
865         },
866         "name": "unnamedWire#31",
867         "path": [
868           {
869             "x": 145.0,
870             "y": 680.0
871           },
872           {
873             "x": 145.0,
874             "y": 130.0
875           }
876         ]
877       },
878       {
879         "pin1": {
880           "compName": "NandGate#3",
881           "pinName": "Y"
882         },
883         "pin2": {
884           "compName": "NandGate#7",
885           "pinName": "B"
886         },
887         "name": "unnamedWire#32",
888         "path": [
889           {
890             "x": 150.0,
891             "y": 730.0
892           },
893           {
894             "x": 150.0,
895             "y": 180.0
896           }
897         ]
898       },
899       {
900         "pin1": {
901           "compName": "NandGate#4",
902           "pinName": "Y"
903         },
904         "pin2": {
905           "compName": "_submodelinterface",
906           "pinName": "Y1"
907         },
908         "name": "unnamedWire#33",
909         "path": []
910       },
911       {
912         "pin1": {
913           "compName": "NandGate#5",
914           "pinName": "Y"
915         },
916         "pin2": {
917           "compName": "_submodelinterface",
918           "pinName": "Y2"
919         },
920         "name": "unnamedWire#34",
921         "path": []
922       },
923       {
924         "pin1": {
925           "compName": "NandGate#6",
926           "pinName": "Y"
927         },
928         "pin2": {
929           "compName": "_submodelinterface",
930           "pinName": "Y3"
931         },
932         "name": "unnamedWire#35",
933         "path": []
934       },
935       {
936         "pin1": {
937           "compName": "NandGate#7",
938           "pinName": "Y"
939         },
940         "pin2": {
941           "compName": "_submodelinterface",
942           "pinName": "Y4"
943         },
944         "name": "unnamedWire#36",
945         "path": []
946       },
947       {
948         "pin1": {
949           "compName": "Splitter#1",
950           "pinName": "I"
951         },
952         "pin2": {
953           "compName": "not4#0",
954           "pinName": "A"
955         },
956         "name": "unnamedWire#37",
957         "path": [
958           {
959             "x": 90.0,
960             "y": 270.0
961           },
962           {
963             "x": 90.0,
964             "y": 245.0
965           },
966           {
967             "x": 55.0,
968             "y": 245.0
969           },
970           {
971             "x": 55.0,
972             "y": 220.0
973           }
974         ]
975       },
976       {
977         "pin1": {
978           "compName": "not4#0",
979           "pinName": "Y"
980         },
981         "pin2": {
982           "compName": "Splitter#0",
983           "pinName": "I"
984         },
985         "name": "unnamedWire#38",
986         "path": []
987       }
988     ],
989     "version": "0.1.1"
990   },
991   "symbolRendererSnippetID": "simpleRectangularLike",
992   "symbolRendererParams": {
993     "centerText": "sel3_4",
994     "centerTextHeight": 5.0,
995     "horizontalComponentCenter": 17.5,
996     "pinLabelHeight": 3.5,
997     "pinLabelMargin": 0.5
998   },
999   "outlineRendererSnippetID": "default",
1000   "highLevelStateHandlerSnippetID": "default",
1001   "version": "0.1.5"
1002 }