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