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