Merge branch 'development' of
[Mograsim.git] / net.mograsim.logic.model.editor / components / am2901 / GUIAm2901SourceDecode.json
1 mograsim version: 0.1.3
2 {
3   "width": 35.0,
4   "height": 50.0,
5   "interfacePins": [
6     {
7       "location": {
8         "x": 35.0,
9         "y": 45.0
10       },
11       "name": "RD",
12       "logicWidth": 1
13     },
14     {
15       "location": {
16         "x": 0.0,
17         "y": 25.0
18       },
19       "name": "I0",
20       "logicWidth": 1
21     },
22     {
23       "location": {
24         "x": 0.0,
25         "y": 15.0
26       },
27       "name": "I1",
28       "logicWidth": 1
29     },
30     {
31       "location": {
32         "x": 0.0,
33         "y": 5.0
34       },
35       "name": "I2",
36       "logicWidth": 1
37     },
38     {
39       "location": {
40         "x": 35.0,
41         "y": 5.0
42       },
43       "name": "SQ",
44       "logicWidth": 1
45     },
46     {
47       "location": {
48         "x": 35.0,
49         "y": 35.0
50       },
51       "name": "SA",
52       "logicWidth": 1
53     },
54     {
55       "location": {
56         "x": 35.0,
57         "y": 15.0
58       },
59       "name": "RA",
60       "logicWidth": 1
61     },
62     {
63       "location": {
64         "x": 35.0,
65         "y": 25.0
66       },
67       "name": "SB",
68       "logicWidth": 1
69     }
70   ],
71   "submodel": {
72     "innerScale": 0.25,
73     "subComps": [
74       {
75         "pos": {
76           "x": 10.0,
77           "y": 50.0
78         },
79         "id": "GUINandGate",
80         "name": "GUINandGate#1",
81         "params": 1
82       },
83       {
84         "pos": {
85           "x": 94.0,
86           "y": 19.0
87         },
88         "id": "WireCrossPoint",
89         "name": "WireCrossPoint#14",
90         "params": 1
91       },
92       {
93         "pos": {
94           "x": 10.0,
95           "y": 10.0
96         },
97         "id": "GUINandGate",
98         "name": "GUINandGate#0",
99         "params": 1
100       },
101       {
102         "pos": {
103           "x": 64.0,
104           "y": 139.0
105         },
106         "id": "WireCrossPoint",
107         "name": "WireCrossPoint#13",
108         "params": 1
109       },
110       {
111         "pos": {
112           "x": 40.0,
113           "y": 10.0
114         },
115         "id": "GUINandGate",
116         "name": "GUINandGate#3",
117         "params": 1
118       },
119       {
120         "pos": {
121           "x": 10.0,
122           "y": 90.0
123         },
124         "id": "GUINandGate",
125         "name": "GUINandGate#2",
126         "params": 1
127       },
128       {
129         "pos": {
130           "x": 94.0,
131           "y": 179.0
132         },
133         "id": "WireCrossPoint",
134         "name": "WireCrossPoint#15",
135         "params": 1
136       },
137       {
138         "pos": {
139           "x": 6.5,
140           "y": 19.0
141         },
142         "id": "WireCrossPoint",
143         "name": "WireCrossPoint#1",
144         "params": 1
145       },
146       {
147         "pos": {
148           "x": 4.0,
149           "y": 19.0
150         },
151         "id": "WireCrossPoint",
152         "name": "WireCrossPoint#0",
153         "params": 1
154       },
155       {
156         "pos": {
157           "x": 6.5,
158           "y": 59.0
159         },
160         "id": "WireCrossPoint",
161         "name": "WireCrossPoint#3",
162         "params": 1
163       },
164       {
165         "pos": {
166           "x": 4.0,
167           "y": 144.0
168         },
169         "id": "WireCrossPoint",
170         "name": "WireCrossPoint#2",
171         "params": 1
172       },
173       {
174         "pos": {
175           "x": 6.5,
176           "y": 104.0
177         },
178         "id": "WireCrossPoint",
179         "name": "WireCrossPoint#5",
180         "params": 1
181       },
182       {
183         "pos": {
184           "x": 6.5,
185           "y": 99.0
186         },
187         "id": "WireCrossPoint",
188         "name": "WireCrossPoint#4",
189         "params": 1
190       },
191       {
192         "pos": {
193           "x": 34.0,
194           "y": 59.0
195         },
196         "id": "WireCrossPoint",
197         "name": "WireCrossPoint#7",
198         "params": 1
199       },
200       {
201         "pos": {
202           "x": 31.5,
203           "y": 54.0
204         },
205         "id": "WireCrossPoint",
206         "name": "WireCrossPoint#6",
207         "params": 1
208       },
209       {
210         "pos": {
211           "x": 34.0,
212           "y": 134.0
213         },
214         "id": "WireCrossPoint",
215         "name": "WireCrossPoint#9",
216         "params": 1
217       },
218       {
219         "pos": {
220           "x": 34.0,
221           "y": 64.0
222         },
223         "id": "WireCrossPoint",
224         "name": "WireCrossPoint#8",
225         "params": 1
226       },
227       {
228         "pos": {
229           "x": 36.5,
230           "y": 99.0
231         },
232         "id": "WireCrossPoint",
233         "name": "WireCrossPoint#10",
234         "params": 1
235       },
236       {
237         "pos": {
238           "x": 64.0,
239           "y": 99.0
240         },
241         "id": "WireCrossPoint",
242         "name": "WireCrossPoint#12",
243         "params": 1
244       },
245       {
246         "pos": {
247           "x": 64.0,
248           "y": 59.0
249         },
250         "id": "WireCrossPoint",
251         "name": "WireCrossPoint#11",
252         "params": 1
253       },
254       {
255         "pos": {
256           "x": 70.0,
257           "y": 170.0
258         },
259         "id": "GUINandGate",
260         "name": "GUINandGate#12",
261         "params": 1
262       },
263       {
264         "pos": {
265           "x": 70.0,
266           "y": 130.0
267         },
268         "id": "GUINandGate",
269         "name": "GUINandGate#11",
270         "params": 1
271       },
272       {
273         "pos": {
274           "x": 100.0,
275           "y": 170.0
276         },
277         "id": "GUINandGate",
278         "name": "GUINandGate#14",
279         "params": 1
280       },
281       {
282         "pos": {
283           "x": 100.0,
284           "y": 10.0
285         },
286         "id": "GUINandGate",
287         "name": "GUINandGate#13",
288         "params": 1
289       },
290       {
291         "pos": {
292           "x": 70.0,
293           "y": 90.0
294         },
295         "id": "GUINandGate",
296         "name": "GUINandGate#10",
297         "params": 1
298       },
299       {
300         "pos": {
301           "x": 70.0,
302           "y": 50.0
303         },
304         "id": "GUINandGate",
305         "name": "GUINandGate#9",
306         "params": 1
307       },
308       {
309         "pos": {
310           "x": 70.0,
311           "y": 10.0
312         },
313         "id": "GUINandGate",
314         "name": "GUINandGate#8",
315         "params": 1
316       },
317       {
318         "pos": {
319           "x": 40.0,
320           "y": 90.0
321         },
322         "id": "GUINandGate",
323         "name": "GUINandGate#5",
324         "params": 1
325       },
326       {
327         "pos": {
328           "x": 40.0,
329           "y": 50.0
330         },
331         "id": "GUINandGate",
332         "name": "GUINandGate#4",
333         "params": 1
334       },
335       {
336         "pos": {
337           "x": 40.0,
338           "y": 170.0
339         },
340         "id": "GUINandGate",
341         "name": "GUINandGate#7",
342         "params": 1
343       },
344       {
345         "pos": {
346           "x": 40.0,
347           "y": 130.0
348         },
349         "id": "GUINandGate",
350         "name": "GUINandGate#6",
351         "params": 1
352       }
353     ],
354     "innerWires": [
355       {
356         "pin1": {
357           "compName": "_submodelinterface",
358           "pinName": "I2"
359         },
360         "pin2": {
361           "compName": "WireCrossPoint#0",
362           "pinName": ""
363         },
364         "path": []
365       },
366       {
367         "pin1": {
368           "compName": "WireCrossPoint#0",
369           "pinName": ""
370         },
371         "pin2": {
372           "compName": "GUINandGate#3",
373           "pinName": "A"
374         },
375         "path": [
376           {
377             "x": 5.0,
378             "y": 5.0
379           },
380           {
381             "x": 35.0,
382             "y": 5.0
383           },
384           {
385             "x": 35.0,
386             "y": 15.0
387           }
388         ]
389       },
390       {
391         "pin1": {
392           "compName": "WireCrossPoint#0",
393           "pinName": ""
394         },
395         "pin2": {
396           "compName": "WireCrossPoint#1",
397           "pinName": ""
398         },
399         "path": []
400       },
401       {
402         "pin1": {
403           "compName": "WireCrossPoint#1",
404           "pinName": ""
405         },
406         "pin2": {
407           "compName": "GUINandGate#0",
408           "pinName": "A"
409         },
410         "path": [
411           {
412             "x": 7.5,
413             "y": 15.0
414           }
415         ]
416       },
417       {
418         "pin1": {
419           "compName": "WireCrossPoint#1",
420           "pinName": ""
421         },
422         "pin2": {
423           "compName": "GUINandGate#0",
424           "pinName": "B"
425         },
426         "path": [
427           {
428             "x": 7.5,
429             "y": 25.0
430           }
431         ]
432       },
433       {
434         "pin1": {
435           "compName": "WireCrossPoint#0",
436           "pinName": ""
437         },
438         "pin2": {
439           "compName": "WireCrossPoint#2",
440           "pinName": ""
441         },
442         "path": []
443       },
444       {
445         "pin1": {
446           "compName": "WireCrossPoint#2",
447           "pinName": ""
448         },
449         "pin2": {
450           "compName": "GUINandGate#6",
451           "pinName": "B"
452         },
453         "path": []
454       },
455       {
456         "pin1": {
457           "compName": "WireCrossPoint#2",
458           "pinName": ""
459         },
460         "pin2": {
461           "compName": "GUINandGate#12",
462           "pinName": "B"
463         },
464         "path": [
465           {
466             "x": 5.0,
467             "y": 195.0
468           },
469           {
470             "x": 65.0,
471             "y": 195.0
472           },
473           {
474             "x": 65.0,
475             "y": 185.0
476           }
477         ]
478       },
479       {
480         "pin1": {
481           "compName": "_submodelinterface",
482           "pinName": "I1"
483         },
484         "pin2": {
485           "compName": "WireCrossPoint#3",
486           "pinName": ""
487         },
488         "path": []
489       },
490       {
491         "pin1": {
492           "compName": "WireCrossPoint#3",
493           "pinName": ""
494         },
495         "pin2": {
496           "compName": "GUINandGate#1",
497           "pinName": "A"
498         },
499         "path": [
500           {
501             "x": 7.5,
502             "y": 55.0
503           }
504         ]
505       },
506       {
507         "pin1": {
508           "compName": "WireCrossPoint#3",
509           "pinName": ""
510         },
511         "pin2": {
512           "compName": "GUINandGate#1",
513           "pinName": "B"
514         },
515         "path": [
516           {
517             "x": 7.5,
518             "y": 65.0
519           }
520         ]
521       },
522       {
523         "pin1": {
524           "compName": "_submodelinterface",
525           "pinName": "I0"
526         },
527         "pin2": {
528           "compName": "WireCrossPoint#4",
529           "pinName": ""
530         },
531         "path": []
532       },
533       {
534         "pin1": {
535           "compName": "WireCrossPoint#4",
536           "pinName": ""
537         },
538         "pin2": {
539           "compName": "GUINandGate#2",
540           "pinName": "A"
541         },
542         "path": [
543           {
544             "x": 7.5,
545             "y": 95.0
546           }
547         ]
548       },
549       {
550         "pin1": {
551           "compName": "WireCrossPoint#4",
552           "pinName": ""
553         },
554         "pin2": {
555           "compName": "WireCrossPoint#5",
556           "pinName": ""
557         },
558         "path": []
559       },
560       {
561         "pin1": {
562           "compName": "WireCrossPoint#5",
563           "pinName": ""
564         },
565         "pin2": {
566           "compName": "GUINandGate#2",
567           "pinName": "B"
568         },
569         "path": []
570       },
571       {
572         "pin1": {
573           "compName": "WireCrossPoint#5",
574           "pinName": ""
575         },
576         "pin2": {
577           "compName": "GUINandGate#5",
578           "pinName": "B"
579         },
580         "path": [
581           {
582             "x": 7.5,
583             "y": 112.5
584           },
585           {
586             "x": 32.5,
587             "y": 112.5
588           },
589           {
590             "x": 32.5,
591             "y": 105.0
592           }
593         ]
594       },
595       {
596         "pin1": {
597           "compName": "GUINandGate#0",
598           "pinName": "Y"
599         },
600         "pin2": {
601           "compName": "WireCrossPoint#6",
602           "pinName": ""
603         },
604         "path": [
605           {
606             "x": 32.5,
607             "y": 20.0
608           }
609         ]
610       },
611       {
612         "pin1": {
613           "compName": "WireCrossPoint#6",
614           "pinName": ""
615         },
616         "pin2": {
617           "compName": "GUINandGate#4",
618           "pinName": "A"
619         },
620         "path": []
621       },
622       {
623         "pin1": {
624           "compName": "WireCrossPoint#6",
625           "pinName": ""
626         },
627         "pin2": {
628           "compName": "GUINandGate#5",
629           "pinName": "A"
630         },
631         "path": [
632           {
633             "x": 32.5,
634             "y": 95.0
635           }
636         ]
637       },
638       {
639         "pin1": {
640           "compName": "GUINandGate#1",
641           "pinName": "Y"
642         },
643         "pin2": {
644           "compName": "WireCrossPoint#7",
645           "pinName": ""
646         },
647         "path": []
648       },
649       {
650         "pin1": {
651           "compName": "WireCrossPoint#7",
652           "pinName": ""
653         },
654         "pin2": {
655           "compName": "GUINandGate#3",
656           "pinName": "B"
657         },
658         "path": [
659           {
660             "x": 35.0,
661             "y": 25.0
662           }
663         ]
664       },
665       {
666         "pin1": {
667           "compName": "WireCrossPoint#7",
668           "pinName": ""
669         },
670         "pin2": {
671           "compName": "WireCrossPoint#8",
672           "pinName": ""
673         },
674         "path": []
675       },
676       {
677         "pin1": {
678           "compName": "WireCrossPoint#8",
679           "pinName": ""
680         },
681         "pin2": {
682           "compName": "GUINandGate#4",
683           "pinName": "B"
684         },
685         "path": []
686       },
687       {
688         "pin1": {
689           "compName": "WireCrossPoint#8",
690           "pinName": ""
691         },
692         "pin2": {
693           "compName": "WireCrossPoint#9",
694           "pinName": ""
695         },
696         "path": []
697       },
698       {
699         "pin1": {
700           "compName": "WireCrossPoint#9",
701           "pinName": ""
702         },
703         "pin2": {
704           "compName": "GUINandGate#6",
705           "pinName": "A"
706         },
707         "path": []
708       },
709       {
710         "pin1": {
711           "compName": "WireCrossPoint#9",
712           "pinName": ""
713         },
714         "pin2": {
715           "compName": "GUINandGate#7",
716           "pinName": "A"
717         },
718         "path": [
719           {
720             "x": 35.0,
721             "y": 175.0
722           }
723         ]
724       },
725       {
726         "pin1": {
727           "compName": "GUINandGate#2",
728           "pinName": "Y"
729         },
730         "pin2": {
731           "compName": "WireCrossPoint#10",
732           "pinName": ""
733         },
734         "path": []
735       },
736       {
737         "pin1": {
738           "compName": "WireCrossPoint#10",
739           "pinName": ""
740         },
741         "pin2": {
742           "compName": "GUINandGate#8",
743           "pinName": "B"
744         },
745         "path": [
746           {
747             "x": 37.5,
748             "y": 35.0
749           },
750           {
751             "x": 65.0,
752             "y": 35.0
753           },
754           {
755             "x": 65.0,
756             "y": 25.0
757           }
758         ]
759       },
760       {
761         "pin1": {
762           "compName": "WireCrossPoint#10",
763           "pinName": ""
764         },
765         "pin2": {
766           "compName": "GUINandGate#7",
767           "pinName": "B"
768         },
769         "path": [
770           {
771             "x": 37.5,
772             "y": 185.0
773           }
774         ]
775       },
776       {
777         "pin1": {
778           "compName": "GUINandGate#3",
779           "pinName": "Y"
780         },
781         "pin2": {
782           "compName": "GUINandGate#8",
783           "pinName": "A"
784         }
785       },
786       {
787         "pin1": {
788           "compName": "GUINandGate#4",
789           "pinName": "Y"
790         },
791         "pin2": {
792           "compName": "WireCrossPoint#11",
793           "pinName": ""
794         },
795         "path": []
796       },
797       {
798         "pin1": {
799           "compName": "WireCrossPoint#11",
800           "pinName": ""
801         },
802         "pin2": {
803           "compName": "GUINandGate#9",
804           "pinName": "A"
805         },
806         "path": [
807           {
808             "x": 65.0,
809             "y": 55.0
810           }
811         ]
812       },
813       {
814         "pin1": {
815           "compName": "WireCrossPoint#11",
816           "pinName": ""
817         },
818         "pin2": {
819           "compName": "GUINandGate#9",
820           "pinName": "B"
821         },
822         "path": [
823           {
824             "x": 65.0,
825             "y": 65.0
826           }
827         ]
828       },
829       {
830         "pin1": {
831           "compName": "GUINandGate#5",
832           "pinName": "Y"
833         },
834         "pin2": {
835           "compName": "WireCrossPoint#12",
836           "pinName": ""
837         },
838         "path": []
839       },
840       {
841         "pin1": {
842           "compName": "WireCrossPoint#12",
843           "pinName": ""
844         },
845         "pin2": {
846           "compName": "GUINandGate#10",
847           "pinName": "A"
848         },
849         "path": [
850           {
851             "x": 65.0,
852             "y": 95.0
853           }
854         ]
855       },
856       {
857         "pin1": {
858           "compName": "WireCrossPoint#12",
859           "pinName": ""
860         },
861         "pin2": {
862           "compName": "GUINandGate#10",
863           "pinName": "B"
864         },
865         "path": [
866           {
867             "x": 65.0,
868             "y": 105.0
869           }
870         ]
871       },
872       {
873         "pin1": {
874           "compName": "GUINandGate#6",
875           "pinName": "Y"
876         },
877         "pin2": {
878           "compName": "WireCrossPoint#13",
879           "pinName": ""
880         },
881         "path": []
882       },
883       {
884         "pin1": {
885           "compName": "WireCrossPoint#13",
886           "pinName": ""
887         },
888         "pin2": {
889           "compName": "GUINandGate#11",
890           "pinName": "A"
891         },
892         "path": [
893           {
894             "x": 65.0,
895             "y": 135.0
896           }
897         ]
898       },
899       {
900         "pin1": {
901           "compName": "WireCrossPoint#13",
902           "pinName": ""
903         },
904         "pin2": {
905           "compName": "GUINandGate#11",
906           "pinName": "B"
907         },
908         "path": [
909           {
910             "x": 65.0,
911             "y": 145.0
912           }
913         ]
914       },
915       {
916         "pin1": {
917           "compName": "GUINandGate#7",
918           "pinName": "Y"
919         },
920         "pin2": {
921           "compName": "GUINandGate#12",
922           "pinName": "A"
923         }
924       },
925       {
926         "pin1": {
927           "compName": "GUINandGate#8",
928           "pinName": "Y"
929         },
930         "pin2": {
931           "compName": "WireCrossPoint#14",
932           "pinName": ""
933         },
934         "path": []
935       },
936       {
937         "pin1": {
938           "compName": "WireCrossPoint#14",
939           "pinName": ""
940         },
941         "pin2": {
942           "compName": "GUINandGate#13",
943           "pinName": "A"
944         },
945         "path": [
946           {
947             "x": 95.0,
948             "y": 15.0
949           }
950         ]
951       },
952       {
953         "pin1": {
954           "compName": "WireCrossPoint#14",
955           "pinName": ""
956         },
957         "pin2": {
958           "compName": "GUINandGate#13",
959           "pinName": "B"
960         },
961         "path": [
962           {
963             "x": 95.0,
964             "y": 25.0
965           }
966         ]
967       },
968       {
969         "pin1": {
970           "compName": "GUINandGate#9",
971           "pinName": "Y"
972         },
973         "pin2": {
974           "compName": "_submodelinterface",
975           "pinName": "RA"
976         },
977         "path": []
978       },
979       {
980         "pin1": {
981           "compName": "GUINandGate#10",
982           "pinName": "Y"
983         },
984         "pin2": {
985           "compName": "_submodelinterface",
986           "pinName": "SB"
987         },
988         "path": []
989       },
990       {
991         "pin1": {
992           "compName": "GUINandGate#11",
993           "pinName": "Y"
994         },
995         "pin2": {
996           "compName": "_submodelinterface",
997           "pinName": "SA"
998         },
999         "path": []
1000       },
1001       {
1002         "pin1": {
1003           "compName": "GUINandGate#12",
1004           "pinName": "Y"
1005         },
1006         "pin2": {
1007           "compName": "WireCrossPoint#15",
1008           "pinName": ""
1009         },
1010         "path": []
1011       },
1012       {
1013         "pin1": {
1014           "compName": "WireCrossPoint#15",
1015           "pinName": ""
1016         },
1017         "pin2": {
1018           "compName": "GUINandGate#14",
1019           "pinName": "A"
1020         },
1021         "path": [
1022           {
1023             "x": 95.0,
1024             "y": 175.0
1025           }
1026         ]
1027       },
1028       {
1029         "pin1": {
1030           "compName": "WireCrossPoint#15",
1031           "pinName": ""
1032         },
1033         "pin2": {
1034           "compName": "GUINandGate#14",
1035           "pinName": "B"
1036         },
1037         "path": [
1038           {
1039             "x": 95.0,
1040             "y": 185.0
1041           }
1042         ]
1043       },
1044       {
1045         "pin1": {
1046           "compName": "GUINandGate#13",
1047           "pinName": "Y"
1048         },
1049         "pin2": {
1050           "compName": "_submodelinterface",
1051           "pinName": "SQ"
1052         },
1053         "path": []
1054       },
1055       {
1056         "pin1": {
1057           "compName": "GUINandGate#14",
1058           "pinName": "Y"
1059         },
1060         "pin2": {
1061           "compName": "_submodelinterface",
1062           "pinName": "RD"
1063         },
1064         "path": []
1065       }
1066     ]
1067   },
1068   "symbolRendererSnippetID": "SimpleRectangularLikeSymbolRenderer",
1069   "symbolRendererParams": {
1070     "centerText": "Am2901SourceDecode",
1071     "horizontalComponentCenter": 17.5,
1072     "centerTextHeight": 5.0,
1073     "pinLabelHeight": 3.5,
1074     "pinLabelMargin": 0.5
1075   }
1076 }