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