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